From a2be81a06dbe23610f95fde6e75de92367a6c817 Mon Sep 17 00:00:00 2001 From: Herve Boutemy Date: Thu, 17 May 2012 16:53:56 +0000 Subject: [PATCH] fixed IT broken since DependencyScope was renamed to ResolutionScope in r1338393 git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@1339704 13f79535-47bb-0310-9956-ffa450edef68 --- .../plugin-report-annotations/src/main/java/org/MyMojo.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maven-plugin-plugin/src/it/plugin-report-annotations/src/main/java/org/MyMojo.java b/maven-plugin-plugin/src/it/plugin-report-annotations/src/main/java/org/MyMojo.java index a65c175..88e3f64 100644 --- a/maven-plugin-plugin/src/it/plugin-report-annotations/src/main/java/org/MyMojo.java +++ b/maven-plugin-plugin/src/it/plugin-report-annotations/src/main/java/org/MyMojo.java @@ -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.annotations.Parameter; * @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