You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Wendy Smoak <ws...@gmail.com> on 2006/04/07 05:26:08 UTC

[m2] Multi-module source assembly?

Does anyone have an example of a multi-module build that produces both
aggregated binary and source distributions?

I've managed to borrow and adapt an assembly plugin config that builds
a reasonable xxx-bin.zip file, but I'm not sure how to configure for
the source.  Right now, I have:
project/core
project/apps
...
project/assembly

Can I build two custom assemblies from one pom?  (I tried adding
<executions> for maven-assembly-plugin, but it complained that it had
to be invoked directly.)

Do I just need
   project/assembly-src
   project/assembly-bin
?

The whole thing starts here if anyone would like to take a look around. :)
   http://svn.apache.org/repos/asf/struts/action/trunk

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m2] Multi-module source assembly?

Posted by Wayne Fay <wa...@gmail.com>.
No examples from my group, unfortunately. We don't create source
distributions, only binaries.

But have you considered:
mvn source:jar javadoc:jar repository:bundle-create

Taken from:
http://maven.apache.org/guides/mini/guide-ibiblio-upload.html

This would produce a Maven bundle containing binary, source, and
javadoc jars suitable for uploading to a Maven repository. Perhaps
this helps with some of your problems? Not sure how this works with
multi-module build though... probably won't help, but thought I'd
throw it out there.

Wayne

On 4/6/06, Wendy Smoak <ws...@gmail.com> wrote:
> Does anyone have an example of a multi-module build that produces both
> aggregated binary and source distributions?
>
> I've managed to borrow and adapt an assembly plugin config that builds
> a reasonable xxx-bin.zip file, but I'm not sure how to configure for
> the source.  Right now, I have:
> project/core
> project/apps
> ...
> project/assembly
>
> Can I build two custom assemblies from one pom?  (I tried adding
> <executions> for maven-assembly-plugin, but it complained that it had
> to be invoked directly.)
>
> Do I just need
>   project/assembly-src
>   project/assembly-bin
> ?
>
> The whole thing starts here if anyone would like to take a look around. :)
>   http://svn.apache.org/repos/asf/struts/action/trunk
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>