...
For Developers
Developing Projects
JAR
Parent
A jar project should inherit from org-glast-maven-jar-project; so in your pom add:
Code Block | ||||
---|---|---|---|---|
| ||||
<parent> <groupId>glast</groupId> <artifactId>org-glast-maven-jar-project</artifactId> <version>1.2</version> </parent> |
WAR
Parent
A jar project should inherit from org-glast-maven-war-project; so in your pom add:
Code Block | ||||
---|---|---|---|---|
| ||||
<parent>
<groupId>glast</groupId>
<artifactId>org-glast-maven-war-project</artifactId>
<version>1.2</version>
</parent>
|
Final Name
The final name of the war file is to be set in the pom file as:
Code Block | ||||
---|---|---|---|---|
| ||||
<build>
<finalName>ServerMapping</finalName>
</build>
|
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.
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:
...