Mike
Thanks. This did solve part of my problem. I am
looking at m2 to see if it will help package the
dependencis for me too. I believe there is a way to do
it in m2.
sidart
--- Michael Niemaz <[EMAIL PROTECTED]>
wrote:
> We did the same for wars, but it should be fairly
> easy to change it for
> jars.
> You need to implement the
> "dist:prepare-bin-filesystem" postgoal such as:
>
> <postGoal name="dist:prepare-bin-filesystem">
> <!-- copying war files in distrib -->
> <maven:reactor basedir="${basedir}"
> excludes="*/project.xml"
> includes="smartdocument.services/*/project.xml"
> postProcessing="true"
> collectOnly="true" collectionVar="multiprjs"
> ignoreFailures="false" />
> <j:forEach var="project" items="${multiprjs}">
> <echo>Copying
>
${project.getContext().getVariable("maven.build.dir")}/${project.getArtifactId()}.war
>
> to ${maven.dist.bin.assembly.dir}</echo>
> <copy
>
file='${project.getContext().getVariable("maven.build.dir")}/${project.getArtifactId()}.war'
>
>
tofile="${maven.dist.bin.assembly.dir}/${project.getArtifactId()}.war"
> />
> </j:forEach>
> </postGoal>
>
> --mike
>
> Sidart Kurias wrote:
>
> >All
> >
> >How do I build a distribution for a multiproject
> >setup. I want to be able to package the jars
> generated
> >by each of the subprojects and the jars on which
> they
> >depend on too into one relase. The release plugin
> >(which is now deprecated) had a way of selectively
> >specify - through properties tag - which jars could
> be
> >included in the distribution. How do I do the same
> in
> >a multiproject scenario, perhaps using the
> >distribution plugin (or any other way)
> >
> >
> >Thanks
> >
> >
> >
>
>____________________________________________________
> >Sell on Yahoo! Auctions no fees. Bid on great
> items.
> >http://auctions.yahoo.com/
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> >For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> >
> >
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]