maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khmarba...@apache.org
Subject svn commit: r1696660 - /maven/enforcer/trunk/maven-enforcer-plugin/src/main/java/org/apache/maven/plugins/enforcer/EnforceMojo.java
Date Wed, 19 Aug 2015 20:06:38 GMT
Author: khmarbaise
Date: Wed Aug 19 20:06:37 2015
New Revision: 1696660

URL: http://svn.apache.org/r1696660
Log:
[MENFORCER-222] RequireSameVersion rule regression between 1.3 and 1.4
Added requiresDependencyCollection back from 1.3

Modified:
    maven/enforcer/trunk/maven-enforcer-plugin/src/main/java/org/apache/maven/plugins/enforcer/EnforceMojo.java

Modified: maven/enforcer/trunk/maven-enforcer-plugin/src/main/java/org/apache/maven/plugins/enforcer/EnforceMojo.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/maven-enforcer-plugin/src/main/java/org/apache/maven/plugins/enforcer/EnforceMojo.java?rev=1696660&r1=1696659&r2=1696660&view=diff
==============================================================================
--- maven/enforcer/trunk/maven-enforcer-plugin/src/main/java/org/apache/maven/plugins/enforcer/EnforceMojo.java
(original)
+++ maven/enforcer/trunk/maven-enforcer-plugin/src/main/java/org/apache/maven/plugins/enforcer/EnforceMojo.java
Wed Aug 19 20:06:37 2015
@@ -51,7 +51,12 @@ import org.codehaus.plexus.personality.p
  * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
  * @version $Id$
  */
-@Mojo( name = "enforce", defaultPhase = LifecyclePhase.VALIDATE, threadSafe = true )
+@Mojo( 
+    name = "enforce", 
+    defaultPhase = LifecyclePhase.VALIDATE, 
+    requiresDependencyCollection = ResolutionScope.TEST, 
+    threadSafe = true 
+)
 public class EnforceMojo
     extends AbstractMojo
     implements Contextualizable



Mime
View raw message