Module leads,<div><br></div><div>As you know, we've established API artifacts for each of the Seam modules. Having an API is obviously very important, but for the purposes of getting started quickly, its good to also have the option of the combined API+impl JAR (catering to "it's just one JAR file")</div>
<div><br></div><div>Thus, each module should include a "combined" submodule that shades the API and implementation(s) into a single artifact. The name of the shaded artifact is seam-{module}. It should not include any dependencies, only the API and impl. Additionally, it should not be declared as a dependency when linking to another module because it's not the official artifact.</div>
<div><br></div><div>You can use the combined build in either solder [1] or persistence [2] as a reference. If anyone has any suggestions about how to make it better, please chime in. As always, this is a proposal.</div><div>
<br></div><div>-Dan</div><div><br></div><div>p.s. I will mention, though, that the reason I could not put this plugin configuration in the implementation submodule is due to a limitation w/ the shade plugin. You cannot shorten the artifactId, only append to it, meaning you can't set it to seam-persistence in the seam-persistence-impl submodule.</div>
<div><br></div><div>[1] <a href="https://github.com/seam/solder/blob/master/combined/pom.xml">https://github.com/seam/solder/blob/master/combined/pom.xml</a></div><div>[2] <a href="https://github.com/seam/persistence/blob/master/combined/pom.xml">https://github.com/seam/persistence/blob/master/combined/pom.xml</a></div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br>-- <br><div>Dan Allen</div>Principal Software Engineer, Red Hat | Author of Seam in Action<br>Registered Linux User #231597<br><br><a href="http://mojavelinux.com" target="_blank">http://mojavelinux.com</a><br>
<a href="http://mojavelinux.com/seaminaction" target="_blank">http://mojavelinux.com/seaminaction</a><br><a href="http://www.google.com/profiles/dan.j.allen" target="_blank">http://www.google.com/profiles/dan.j.allen</a><br>
</div>