Commits

Anonymous committed 0d8f060

M2E should ignore goals it doesn't support

Comments (0)

Files changed (1)

                 </configuration>
             </plugin>
         </plugins>
+		<pluginManagement>
+			<plugins>
+			    <!-- Ignore/Execute plugin execution -->
+			    <plugin>
+			        <groupId>org.eclipse.m2e</groupId>
+			        <artifactId>lifecycle-mapping</artifactId>
+			        <version>1.0.0</version>
+			        <configuration>
+			            <lifecycleMappingMetadata>
+			                <pluginExecutions>
+			                    <!-- copy-dependency plugin -->
+			                    <pluginExecution>
+			                        <pluginExecutionFilter>
+			                            <groupId>org.apache.maven.plugins</groupId>
+			                            <artifactId>maven-dependency-plugin</artifactId>
+			                            <versionRange>[1.0.0,)</versionRange>
+			                            <goals>
+			                                <goal>copy-dependencies</goal>
+			                            </goals>
+			                        </pluginExecutionFilter>
+			                        <action>
+			                            <ignore />
+			                        </action>
+			                    </pluginExecution>
+			                </pluginExecutions>
+			            </lifecycleMappingMetadata>
+			        </configuration>
+			    </plugin>
+			   </plugins>
+		   </pluginManagement>
         <resources>
           <resource>
             <directory>src/main/resources</directory>