<div dir="ltr">Hey!<div><br></div><div>Uber jars have been around for quite a while but some old problems are still biting our ankles. The biggest problem is JBoss Logging... But before diving into the technical discussion, I would like to clarify how do we treat Uber Jars and how other (let&#39;s call them &quot;extra&quot;) modules should integrate with them...</div><div><br></div><div>How Uber Jars look like:</div><div><ul><li>All Uber Jar dependencies are declared as:</li><ul><li>provided - those are APIs which should be available on your container</li><li>optional - all other dependencies</li><li>compile - JTA (I&#39;m not sure why, but probably because this is a required API). I think it should be changed to provided at some point.</li></ul><li>Uber Jars have (almost) no dependencies (apart from JTA)</li><li>Uber Jars contain everything to get a standard application running with ISPN in a single jar</li></ul><div>Now the biggest question is how to integrate other extra modules with them - for example Spring or Cache Stores? Here are the options:</div></div><div><ul><li>Not integrate at all... users should use standard (small) jars in such use cases</li><ul><li>This one has a big impact on our users, so I would assume no</li></ul><li>All extra modules should shade everything they need and provide their own Uber Jars (like Spring Uber Jar = ISPN Core + Spring)</li><ul><li>This one might be really hard to maintain, so I would also vote for no.</li></ul><li>All extra modules should integrate with small jars and Uber Jars (but not both at the same time). An example application might want to add Spring-embedded and Infinispan-embedded to it&#39;s classpath and it&#39;s ready to go. Alternatively it could add Spring-embedded + infinispan-core + whatever is needed. Adding both infinispan-embedded and infinispan-core is prohibited.</li><ul><li>Easy for the users, a bit harder for us. My vote goes here.</li></ul></ul><div>Could you please share some thoughts whether this makes sense or not? Once we achieve common understanding - I&#39;ll propose some technical solutions.</div></div><div><br></div><div>Thanks</div><div>Sebastian</div><div><br></div></div>