Hello,

m2eclipse plugins makes a lot of warnings about uncovered executions of plugins.
Some messages I think we do not have to care about, but they cause many pom.xml 
and their surrounding projects to receiving a red icon, and this is disturbing.

Most of these “boring false errors” can be wiped out by adding some content to 
the <pluginManagement> section of the geotools pom.xml

        
<!--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>pl.project13.maven</groupId>
                  <artifactId>git-commit-id-plugin</artifactId>
                  <versionRange>[2.0.4,)</versionRange>
                  <goals>
                     <goal>revision</goal>
                  </goals>
               </pluginExecutionFilter>

               <action>
                  <ignore></ignore>
               </action>
            </pluginExecution>
            
            <pluginExecution>
               <pluginExecutionFilter>
                  <groupId>org.apache.maven.plugins</groupId>
                  <artifactId>maven-antrun-plugin</artifactId>
                  <versionRange>[1.3,)</versionRange>
                  <goals>
                     <goal>run</goal>
                  </goals>
               </pluginExecutionFilter>

               <action>
                  <ignore></ignore>
               </action>
            </pluginExecution>
            
            <pluginExecution>
               <pluginExecutionFilter>
                  <groupId>org.geotools.maven</groupId>
                  <artifactId>jjtree-javacc</artifactId>
                  <versionRange>[9-SNAPSHOT,)</versionRange>
                  <goals>
                     <goal>generate</goal>
                  </goals>
               </pluginExecutionFilter>

               <action>
                  <ignore></ignore>
               </action>
            </pluginExecution>
         </pluginExecutions>
      </lifecycleMappingMetadata>
   </configuration>
   </plugin>

And then do a Maven –> Update configuration on your Eclipse.
Your projects won’t show uncovered execution of plugin messages.

Regards,

Marc.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to