You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2011/07/27 20:30:13 UTC

svn commit: r1151585 - /maven/plugins/trunk/maven-eclipse-plugin/pom.xml

Author: rfscholte
Date: Wed Jul 27 18:30:13 2011
New Revision: 1151585

URL: http://svn.apache.org/viewvc?rev=1151585&view=rev
Log:
update pom.xml:
- use latest parent
- use m-failsafe-p instead of the m-surefire-p bound to the integration-test phase
- replace deprecated configuration for m-surefire-p (systemProperties) and m-antrun-p (tasks)

Modified:
    maven/plugins/trunk/maven-eclipse-plugin/pom.xml

Modified: maven/plugins/trunk/maven-eclipse-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/pom.xml?rev=1151585&r1=1151584&r2=1151585&view=diff
==============================================================================
--- maven/plugins/trunk/maven-eclipse-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-eclipse-plugin/pom.xml Wed Jul 27 18:30:13 2011
@@ -25,7 +25,7 @@ under the License.
   <parent>
     <artifactId>maven-plugins</artifactId>
     <groupId>org.apache.maven.plugins</groupId>
-    <version>19</version>
+    <version>21</version>
     <relativePath>../maven-plugins/pom.xml</relativePath>
   </parent>
 
@@ -237,10 +237,10 @@ under the License.
             <id>verify-integration-tests-checks</id>
             <phase>post-integration-test</phase>
             <configuration>
-              <tasks>
+              <target>
                 <property name="script" location="verify-integration-tests-checks.bsh" />
                 <script language="beanshell" src="${script}" />
-              </tasks>
+              </target>
             </configuration>
             <goals>
               <goal>run</goal>
@@ -294,12 +294,9 @@ under the License.
             <exclude>**/project/**</exclude>
             <exclude>**/Abstract*.java</exclude>
           </excludes>
-          <systemProperties>
-            <property>
-              <name>maven.home</name>
-              <value>${maven.home}</value>
-            </property>
-          </systemProperties>
+          <systemPropertyVariables>
+            <maven.home>${maven.home}</maven.home>
+          </systemPropertyVariables>
           <argLine>${maven.test.jvmargs}</argLine>
         </configuration>
       </plugin>
@@ -319,12 +316,9 @@ under the License.
           <plugin>
             <artifactId>maven-surefire-plugin</artifactId>
             <configuration>
-              <systemProperties combine.children="append">
-                <property>
-                  <name>maven.repo.local</name>
-                  <value>${maven.repo.local}</value>
-                </property>
-              </systemProperties>
+              <systemPropertyVariables>
+                <maven.repo.local>${maven.repo.local}</maven.repo.local>
+              </systemPropertyVariables>
             </configuration>
           </plugin>
         </plugins>
@@ -335,21 +329,14 @@ under the License.
       <build>
         <plugins>
           <plugin>
-            <artifactId>maven-surefire-plugin</artifactId>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-failsafe-plugin</artifactId>
+            <version>2.9</version>
             <executions>
               <execution>
-                <phase>integration-test</phase>
                 <goals>
-                  <goal>test</goal>
+                  <goal>integration-test</goal>
                 </goals>
-                <configuration>
-                  <includes>
-                    <include>**/*IT.java</include>
-                  </includes>
-                  <excludes>
-                    <exclude>specified only to override configuration from default execution</exclude>
-                  </excludes>
-                </configuration>
               </execution>
             </executions>
           </plugin>