You can use classifiers to keep the artifact names separate, like you
suggested. I.e.
<profiles>
<profile>
<id>jboss</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin</artifactId>
<configuration>
<classifier>jboss</classifier>
...
-Dave
On Tue, Jan 19, 2010 at 9:29 AM, <[email protected]> wrote:
> We have a project that has a couple of variations of an ear for the for
> web servers such as Webspear, Weblogic etc... To handle this, we use
> Maven profiles which only include the web server's required files before
> packaging. Is there a way to create these variations with at the same
> time, producing, say, three ears, one for each web server? I am
> guessing you could use classifiers, but I'm not sure how.
>
>
>
> Thanks,
>
>
>
> David
>
>