You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by VLADIMIR TERZIC <VT...@intgas.com> on 2007/02/15 23:05:48 UTC
help creating "multiple" artifacts using one pom.xml file
(profile question)
I have three artifacts (war files) that need deployed to two servers.
I currently have a profile for each (to apply filters) and I am able to
build them individually using the -P profile option.
I have one antrun task in the build section that deploys one artifact
based on the profile that is running.
I would like to be able to build and deploy all of them at the same
time.
In maven 1.x I would run same goal three times with different parameter
to get desired behaviour.
thanks
vladimir
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: help creating "multiple" artifacts using one pom.xml file (profile question)
Posted by Valerio Schiavoni <va...@gmail.com>.
Hi vladimir,
On 2/15/07, VLADIMIR TERZIC <VT...@intgas.com> wrote:
>
>
> I would like to be able to build and deploy all of them at the same
> time.
you could do a third profile, configuring the maven-deploy-plugin to perform
the deploy with 2 (or more) different execution configurations.
this is possible through something like:
<artifactId>deploy-maven-plugin</artifactId>
<executions>
<execution>...</execution>
<execution>...</execution>
<execution>...</execution>
</executions>
or something like that I believe...
hope it helps.
--
http://jroller.com/page/vschiavoni
Re: help creating "multiple" artifacts using one pom.xml file (profile question)
Posted by Patrick Kimber <ma...@gmail.com>.
Hi Vladimir
I have tried to answer your question on your other email...
Patrick
On 15/02/07, VLADIMIR TERZIC <VT...@intgas.com> wrote:
> I have three artifacts (war files) that need deployed to two servers.
> I currently have a profile for each (to apply filters) and I am able to
> build them individually using the -P profile option.
> I have one antrun task in the build section that deploys one artifact
> based on the profile that is running.
>
> I would like to be able to build and deploy all of them at the same
> time.
>
> In maven 1.x I would run same goal three times with different parameter
> to get desired behaviour.
>
> thanks
> vladimir
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org