Allowing integration into Eclipse

* Adding certain maven plugins as ignored in order to get rid of errors when importing
  in Eclipse Luna.



git-svn-id: https://svn.apache.org/repos/asf/creadur/rat/trunk@1680652 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/apache-rat-plugin/pom.xml b/apache-rat-plugin/pom.xml
index 0bfb3bd..ef60cd8 100644
--- a/apache-rat-plugin/pom.xml
+++ b/apache-rat-plugin/pom.xml
@@ -93,6 +93,36 @@
             </excludes>
           </configuration>
         </plugin>
+        <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
+        <plugin>
+        	<groupId>org.eclipse.m2e</groupId>
+        	<artifactId>lifecycle-mapping</artifactId>
+        	<version>1.0.0</version>
+        	<configuration>
+        		<lifecycleMappingMetadata>
+        			<pluginExecutions>
+        				<pluginExecution>
+        					<pluginExecutionFilter>
+        						<groupId>
+        							org.apache.maven.plugins
+        						</groupId>
+        						<artifactId>
+        							maven-plugin-plugin
+        						</artifactId>
+        						<versionRange>[3.4,)</versionRange>
+        						<goals>
+        							<goal>descriptor</goal>
+        							<goal>helpmojo</goal>
+        						</goals>
+        					</pluginExecutionFilter>
+        					<action>
+        						<ignore></ignore>
+        					</action>
+        				</pluginExecution>
+        			</pluginExecutions>
+        		</lifecycleMappingMetadata>
+        	</configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>
diff --git a/pom.xml b/pom.xml
index 0b4a160..2fa611b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -339,6 +339,33 @@
             <mavenExecutorId>forked-path</mavenExecutorId>
           </configuration>
         </plugin>
+        <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
+        <plugin>
+        	<groupId>org.eclipse.m2e</groupId>
+        	<artifactId>lifecycle-mapping</artifactId>
+        	<version>1.0.0</version>
+        	<configuration>
+        		<lifecycleMappingMetadata>
+        			<pluginExecutions>
+        				<pluginExecution>
+        					<pluginExecutionFilter>
+        						<groupId>org.apache.rat</groupId>
+        						<artifactId>
+        							apache-rat-plugin
+        						</artifactId>
+        						<versionRange>[0.11,)</versionRange>
+        						<goals>
+        							<goal>check</goal>
+        						</goals>
+        					</pluginExecutionFilter>
+        					<action>
+        						<ignore></ignore>
+        					</action>
+        				</pluginExecution>
+        			</pluginExecutions>
+        		</lifecycleMappingMetadata>
+        	</configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>