...
This name is the name of the produced war file and it must be identical to the Application's context. It is also used by the Maven Tomcat Deploy plugin to find the production deployment server.
Source Location
Maven2 expects the source files to be located in src/main/webapp. Some of our projects have the source code in src/webapp. To tell maven2 to look in the latter location add the following to your pom file:
Code Block | ||||
---|---|---|---|---|
| ||||
<build>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<warSourceDirectory>${basedir}/src/webapp</warSourceDirectory>
</configuration>
</plugin>
</plugins>
</build>
|
SCM Plugin
CVS repositories cannot be inherited by the parent pom, so each project will have to add the following lines to their pom file:
...