Removing duplicate war-plugin configuration + fixing a warning with using ${version}
diff --git a/pom.xml b/pom.xml
index 6f155cf..492686a 100755
--- a/pom.xml
+++ b/pom.xml
@@ -197,31 +197,6 @@
<artifactId>maven-jar-plugin</artifactId>
</plugin>
- <!-- Create the fortress-rest web archive -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>2.4</version>
- <!-- this is needed to pickup the context.xml in META-INF: -->
- <configuration>
- <warName>${project.artifactId}</warName>
- <archive>
- <manifest>
- <classpathPrefix>lib/</classpathPrefix>
- </manifest>
- </archive>
- <webResources>
- <resource>
- <!-- this is relative to the pom.xml directory -->
- <directory>${project.basedir}/src/main/resources
- </directory>
- </resource>
- </webResources>
- <!--<archiveClasses>true</archiveClasses>-->
- <attachClasses>true</attachClasses>
- </configuration>
- </plugin>
-
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
@@ -320,7 +295,7 @@
<artifactId>maven-war-plugin</artifactId>
<version>2.4</version>
<configuration>
- <warName>${project.artifactId}-${version}</warName>
+ <warName>${project.artifactId}-${project.version}</warName>
<archive>
<manifest>
<classpathPrefix>lib/</classpathPrefix>