making maven-war plugin compliant to java 1.7 and adding a plugin which could fix...
authorAndreas Kohlbecker <a.kohlbecker@bgbm.org>
Fri, 28 Mar 2014 09:52:36 +0000 (09:52 +0000)
committerAndreas Kohlbecker <a.kohlbecker@bgbm.org>
Fri, 28 Mar 2014 09:52:36 +0000 (09:52 +0000)
pom.xml

diff --git a/pom.xml b/pom.xml
index ebc7f0e6b39f949ae5f98d09ce32af4538f6c46b..f1fd70a6dbb99cfb59aff190be2811d1d1f037cc 100644 (file)
--- a/pom.xml
+++ b/pom.xml
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-war-plugin</artifactId>
-        <version>2.1-beta-1</version>
+        <version>2.1.1</version>
         <configuration>
           <warName>default-webapp</warName>
           <packagingExcludes>
             cdmlib-remote-webapp-*.war
           </packagingExcludes>
-          <!-- 
+          <!--
             <overlays>
               <overlay>
                 <groupId>eu.etaxonomy</groupId>
                 <artifactId>cdmlib-remote-webapp</artifactId>
-                <!- - version is set in dependency - -> 
+                <!- - version is set in dependency - ->
                 <skip>true</skip>
-                <!- - Do Not overlay - -> 
-            </overlay> 
-          </overlays> 
+                <!- - Do Not overlay - ->
+            </overlay>
+          </overlays>
           -->
         </configuration>
         <executions>
         </configuration>
       </plugin>
       <!-- ====== DEPLOY ====== -->
+      <!-- potentialy needed for maven 3
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-depoly-plugin</artifactId>
+        <version>2.7</version>
+        <dependencies>
+            <dependency>
+                <groupId>org.apache.maven.wagon</groupId>
+                <artifactId>wagon-ssh</artifactId>
+                <version>1.0-beta-7</version>
+            </dependency>
+        </dependencies>
+      </plugin>
+      --> 
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-release-plugin</artifactId>