[seam-dev] combined JAR artifacts
Nicklas Karlsson
nickarls at gmail.com
Tue Dec 21 14:06:35 EST 2010
Is there some kind of maven archetype that could be used for creating the
module structure(s)?
On Tue, Dec 21, 2010 at 7:31 PM, Dan Allen <dan.j.allen at gmail.com> wrote:
> 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
>
> _______________________________________________
> seam-dev mailing list
> seam-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/seam-dev
>
>
--
---
Nik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/seam-dev/attachments/20101221/8a06df5a/attachment.html
More information about the seam-dev
mailing list