Hello,

I am setting up Maven2 for a new project which has an existing codebase.  I 
specified the <artifactId> as, for example, "foo" and the <version> as 
"2.0-SNAPSHOT".  There are no problems building or assembling the war for this 
web application.  However, I would like to use a shorter URL when deploying for 
development/integration testing.  For this reason, I customized the war plugin 
configuration:


      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <version>2.0</version>
        <configuration>
          <warSourceDirectory>WebContent</warSourceDirectory>
          <warName>foo</warName>
        </configuration>
      </plugin>

This also works in that my war gets generated in the target directory as 
"foo.war"...however, when I try to run the cargo plugin, it insists on looking 
for foo-2.0-SNAPSHOT.war.  Is there any way to make the cargo plugin recognize 
the war setting in the war plugin?

Thanks for your time,

James

Reply via email to