diff --git a/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java b/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java index eefb788660..7df1a309c9 100644 --- a/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java +++ b/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java @@ -26,10 +26,12 @@ import java.io.File; /** * A Maven2 plugin which integrates the use of Maven2 with Eclipse. * - * @author Trygve Laugstøl - * @version $Id$ * @goal eclipse * @requiresDependencyResolution + * @executePhase generate-sources + * + * @author Trygve Laugstøl + * @version $Id$ */ public class EclipsePlugin extends AbstractMojo