Hi,
I'm struggling to get the tomcat7 plugin to work. I want to change the
name of the war file. When I call
mvn tomcat7:deploy-only
It looks for war file XXX-YYY.war, where XXX is the artifactId and YYY is
the version name.
I'd rather use a different, simpler WAR file name "myapp". It's used
elsewhere in the site. But neither of these two things changes the war
name that the plugin is looking for.
<properties>
<project.build.finalName>simulate</project.build.finalName>
</properties>
...
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.0-SNAPSHOT</version>
<configuration>
<warName>myapp.war</warName>
<path>/myapp</path>
</configuration>
</plugin>
Any suggestions? Or is this just not yet implemented.
WILL