maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Blake Martin" <blakecmar...@gmail.com>
Subject Want to add a classifier/suffix to a war artifact from the POM using a profile
Date Fri, 13 Jun 2008 14:08:02 GMT
The command I'm using to deploy my plugins is: mvn clean deploy

I'm currently generating two war files from the same plugin, but when
they're installed or deployed, they're always named
${artifact}-${version}.war

I'd like to either specify something in a build profile in my POM
(preferred) or something in on the command line (also acceptable) that will
cause my artifacts to be named

${artifact}-${version}-${suffix1}.war
${artifact}-${version}-${suffix2}.war

These wars have to be built one-at-a-time from the command line, I'm limited
to 1 POM file (I just finished merging 5 of them) and I can't modify the POM
between builds.

Is this possible with the deploy phase, or do i have to use the
deploy:deploy-file goal to accomplish this task?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message