jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [5/6] jena git commit: Put back m2e configuration to avoid errors and warnings
Date Tue, 21 Nov 2017 10:06:18 GMT
Put back m2e configuration to avoid errors and warnings


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

Branch: refs/heads/master
Commit: 4b0fbeeb83f58d785af48cde083789cb51542121
Parents: 00f2bc2
Author: Andy Seaborne <andy@apache.org>
Authored: Sat Nov 18 12:09:41 2017 +0000
Committer: Andy Seaborne <andy@apache.org>
Committed: Sat Nov 18 12:09:41 2017 +0000

----------------------------------------------------------------------
 jena-base/pom.xml |  3 --
 pom.xml           | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 83 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/4b0fbeeb/jena-base/pom.xml
----------------------------------------------------------------------
diff --git a/jena-base/pom.xml b/jena-base/pom.xml
index 9678ac9..8db450d 100644
--- a/jena-base/pom.xml
+++ b/jena-base/pom.xml
@@ -153,9 +153,6 @@
           <encoding>UTF-8</encoding>
         </configuration>
       </plugin>
-      
     </plugins>
   </build>
-  
-  
 </project>

http://git-wip-us.apache.org/repos/asf/jena/blob/4b0fbeeb/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index a9709c8..d019e59 100644
--- a/pom.xml
+++ b/pom.xml
@@ -866,6 +866,89 @@
           <version>3.0.0</version>
         </plugin>
 
+        <!--
+            Avoid the warnings and errors from m2e.
+            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>
+                  <!-- 
+                       Warning:
+                       "maven-remote-resources-plugin (goal "process") is ignored by m2e."

+                  -->
+                  <pluginExecutionFilter>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-enforcer-plugin</artifactId>
+                    <versionRange>[1.0.0,)</versionRange>
+                    <goals>
+                      <goal>enforce</goal>
+                    </goals>
+                  </pluginExecutionFilter>
+                  <action>
+                    <ignore />
+                  </action>
+                </pluginExecution>
+                <pluginExecution>
+                  <!-- 
+                       Warning:
+                       "maven-enforcer-plugin (goal "enforce") is ignored by m2e." 
+                  -->
+                  <pluginExecutionFilter>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-remote-resources-plugin</artifactId>
+                    <versionRange>[1.0.0,)</versionRange>
+                    <goals>
+                      <goal>process</goal>
+                    </goals>
+                  </pluginExecutionFilter>
+                  <action>
+                    <ignore />
+                  </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>
+
+                <pluginExecution>
+                  <pluginExecutionFilter>
+                    <groupId>org.xenei</groupId>
+                    <artifactId>contract-test-maven-plugin</artifactId>
+                    <versionRange>[0.1.5,)</versionRange>
+                    <goals>
+                      <goal>contract-test</goal>
+                    </goals>
+                  </pluginExecutionFilter>
+                  <action>
+                    <ignore />
+                  </action>
+                </pluginExecution>
+                
+              </pluginExecutions>
+            </lifecycleMappingMetadata>
+          </configuration>
+        </plugin>
 
       </plugins>
     </pluginManagement>


Mime
View raw message