Revision: 1179
Author:   heuermh
Date:     Fri Aug 31 15:16:31 2012
Log: Issue 224 ; removing maven-3 profile, replacing with maven-enforcer-plugin configuration, and updating maven-site-plugin dependency version to 3.1
http://code.google.com/p/piccolo2d/source/detail?r=1179

Modified:
 /piccolo2d.java/branches/release-1.3.1/parent/pom.xml

=======================================
--- /piccolo2d.java/branches/release-1.3.1/parent/pom.xml Thu Apr 14 21:02:28 2011 +++ /piccolo2d.java/branches/release-1.3.1/parent/pom.xml Fri Aug 31 15:16:31 2012
@@ -258,6 +258,10 @@
           <version>2.5</version>
         </plugin>
         <plugin>
+          <artifactId>maven-enforcer-plugin</artifactId>
+          <version>1.1.1</version>
+        </plugin>
+        <plugin>
           <artifactId>maven-gpg-plugin</artifactId>
           <version>1.2</version>
         </plugin>
@@ -283,7 +287,7 @@
         </plugin>
         <plugin>
           <artifactId>maven-site-plugin</artifactId>
-          <version>2.1.1</version>
+          <version>3.1</version>
         </plugin>
         <plugin>
           <artifactId>maven-source-plugin</artifactId>
@@ -307,6 +311,24 @@
         <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
       </plugin>
+      <plugin>
+        <artifactId>maven-enforcer-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>enforce-java</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <requireMavenVersion>
+                  <version>[3.0.4,)</version>
+                </requireMavenVersion>
+              </rules>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <dependencyManagement>
@@ -368,25 +390,6 @@
           </plugin>
         </plugins>
       </build>
-    </profile>
-    <!--  profile only activated for maven 3.0-beta-x or later versions -->
-    <profile>
-      <id>maven-3</id>
-      <activation>
-        <file>
-          <exists>${basedir}</exists>
-        </file>
-      </activation>
-      <build>
-        <pluginManagement>
-          <plugins>
-            <plugin>
-              <artifactId>maven-site-plugin</artifactId>
-              <version>3.0-beta-3</version>
-            </plugin>
-          </plugins>
-        </pluginManagement>
-      </build>
     </profile>
   </profiles>
 </project>

--
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en

Reply via email to