[MNG-5359] Declared execution in PluginMgmt gets bound to lifecycle (regression)

o Updated to use remote capable verifier.


Project: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/maven-integration-testing/commit/ea3d3f93
Tree: 
http://git-wip-us.apache.org/repos/asf/maven-integration-testing/tree/ea3d3f93
Diff: 
http://git-wip-us.apache.org/repos/asf/maven-integration-testing/diff/ea3d3f93

Branch: refs/heads/master
Commit: ea3d3f939913782725ddb09da1e536f116c5267e
Parents: d673c4b
Author: Christian Schulte <schu...@apache.org>
Authored: Mon Dec 21 18:45:24 2015 +0100
Committer: Christian Schulte <schu...@apache.org>
Committed: Mon Dec 21 18:56:18 2015 +0100

----------------------------------------------------------------------
 ...anPluginExecutionDeclarationInPluginMgmtTest.java |  2 +-
 core-it-suite/src/test/resources/mng-5359/pom.xml    | 15 +++++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/ea3d3f93/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5359CleanPluginExecutionDeclarationInPluginMgmtTest.java
----------------------------------------------------------------------
diff --git 
a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5359CleanPluginExecutionDeclarationInPluginMgmtTest.java
 
b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5359CleanPluginExecutionDeclarationInPluginMgmtTest.java
index a2d1bae..73bdbcf 100644
--- 
a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5359CleanPluginExecutionDeclarationInPluginMgmtTest.java
+++ 
b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5359CleanPluginExecutionDeclarationInPluginMgmtTest.java
@@ -43,7 +43,7 @@ public class 
MavenITmng5359CleanPluginExecutionDeclarationInPluginMgmtTest
     {
         File testDir = ResourceExtractor.simpleExtractResources( getClass(), 
"/mng-5359" );
 
-        Verifier verifier = newVerifier( testDir.getAbsolutePath() );
+        Verifier verifier = newVerifier( testDir.getAbsolutePath(), "remote" );
 
         verifier.setAutoclean( false );
         verifier.deleteDirectory( "target" );

http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/ea3d3f93/core-it-suite/src/test/resources/mng-5359/pom.xml
----------------------------------------------------------------------
diff --git a/core-it-suite/src/test/resources/mng-5359/pom.xml 
b/core-it-suite/src/test/resources/mng-5359/pom.xml
index 29f8331..8b13d9d 100644
--- a/core-it-suite/src/test/resources/mng-5359/pom.xml
+++ b/core-it-suite/src/test/resources/mng-5359/pom.xml
@@ -53,6 +53,21 @@ under the License.
             </execution>
           </executions>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <version>2.5.1</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-install-plugin</artifactId>
+          <version>2.4</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-jar-plugin</artifactId>
+          <version>2.4</version>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>

Reply via email to