You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2012/05/17 18:53:57 UTC

svn commit: r1339704 - /maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-report-annotations/src/main/java/org/MyMojo.java

Author: hboutemy
Date: Thu May 17 16:53:56 2012
New Revision: 1339704

URL: http://svn.apache.org/viewvc?rev=1339704&view=rev
Log:
fixed IT broken since DependencyScope was renamed to ResolutionScope in r1338393

Modified:
    maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-report-annotations/src/main/java/org/MyMojo.java

Modified: maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-report-annotations/src/main/java/org/MyMojo.java
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-report-annotations/src/main/java/org/MyMojo.java?rev=1339704&r1=1339703&r2=1339704&view=diff
==============================================================================
--- maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-report-annotations/src/main/java/org/MyMojo.java (original)
+++ maven/plugin-tools/trunk/maven-plugin-plugin/src/it/plugin-report-annotations/src/main/java/org/MyMojo.java Thu May 17 16:53:56 2012
@@ -20,7 +20,7 @@ package org;
  */
 
 import org.apache.maven.plugin.AbstractMojo;
-import org.apache.maven.plugins.annotations.DependencyScope;
+import org.apache.maven.plugins.annotations.ResolutionScope;
 import org.apache.maven.plugins.annotations.Execute;
 import org.apache.maven.plugins.annotations.LifecyclePhase;
 import org.apache.maven.plugins.annotations.Mojo;
@@ -33,7 +33,7 @@ import org.apache.maven.plugins.annotati
  * @deprecated You don't use test goals, do you?
  */
 @Mojo( name = "noop", defaultPhase = LifecyclePhase.PROCESS_SOURCES,
-       requiresDependencyResolution = DependencyScope.TEST,
+       requiresDependencyResolution = ResolutionScope.TEST,
        requiresDirectInvocation = true, requiresOnline = true, inheritByDefault = false, aggregator = true )
 @Execute( phase = LifecyclePhase.COMPILE )
 public class MyMojo