[seam-dev] combined JAR artifacts

Dan Allen dan.j.allen at gmail.com
Tue Dec 21 12:31:36 EST 2010


Module leads,

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")

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.

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.

-Dan

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.

[1] https://github.com/seam/solder/blob/master/combined/pom.xml
[2] https://github.com/seam/persistence/blob/master/combined/pom.xml

-- 
Dan Allen
Principal Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597

http://mojavelinux.com
http://mojavelinux.com/seaminaction
http://www.google.com/profiles/dan.j.allen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/seam-dev/attachments/20101221/496d088f/attachment.html 


More information about the seam-dev mailing list