Repository: jena
Updated Branches:
  refs/heads/master b6699706e -> 0d7c2cffa


Configure m2e to ignore rat plugin


Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/0d7c2cff
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/0d7c2cff
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/0d7c2cff

Branch: refs/heads/master
Commit: 0d7c2cffa900e33753f1a90452c3cebf52a51ff1
Parents: b669970
Author: Andy Seaborne <[email protected]>
Authored: Mon Apr 20 17:30:04 2015 +0100
Committer: Andy Seaborne <[email protected]>
Committed: Mon Apr 20 17:30:04 2015 +0100

----------------------------------------------------------------------
 jena-parent/pom.xml | 31 +++++++++++++++++++++++++------
 1 file changed, 25 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/0d7c2cff/jena-parent/pom.xml
----------------------------------------------------------------------
diff --git a/jena-parent/pom.xml b/jena-parent/pom.xml
index 8b0871a..f17e92e 100644
--- a/jena-parent/pom.xml
+++ b/jena-parent/pom.xml
@@ -482,9 +482,7 @@
           </configuration>
         </plugin>
 
-        <!-- Avoid the warning from m2e: 
-            "maven-remote-resources-plugin (goal "process") is ignored by 
m2e." 
-       -->
+        <!-- Avoid the warnings and errors from m2e -->
         <plugin>
           <groupId>org.eclipse.m2e</groupId>
           <artifactId>lifecycle-mapping</artifactId>
@@ -493,8 +491,8 @@
             <lifecycleMappingMetadata>
               <pluginExecutions>
                 <pluginExecution>
-                  <!-- 
-                   Warning: 
+                  <!--
+                   Warning:
                    "maven-remote-resources-plugin (goal "process") is ignored 
by m2e." 
                  -->
                   <pluginExecutionFilter>
@@ -510,7 +508,10 @@
                   </action>
                 </pluginExecution>
                 <pluginExecution>
-                  <!-- Warning: "maven-enforcer-plugin (goal "enforce") is 
ignored by m2e." -->
+                  <!-- 
+                   Warning:
+                   "maven-enforcer-plugin (goal "enforce") is ignored by m2e." 
+                 -->
                   <pluginExecutionFilter>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-remote-resources-plugin</artifactId>
@@ -524,6 +525,24 @@
                   </action>
                 </pluginExecution>
 
+               <pluginExecution>
+                  <!--
+                   Error:
+                   Plugin execution not covered by lifecycle configuration
+                 -->
+                  <pluginExecutionFilter>
+                    <groupId>org.apache.rat</groupId>
+                    <artifactId>apache-rat-plugin</artifactId>
+                    <versionRange>[0.11,)</versionRange>
+                    <goals>
+                      <goal>check</goal>
+                    </goals>
+                  </pluginExecutionFilter>
+                  <action>
+                    <ignore />
+                  </action>
+                </pluginExecution>
+
               </pluginExecutions>
             </lifecycleMappingMetadata>
           </configuration>

Reply via email to