Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Antwort: Re: Ignoring the enforcer plugin

What version of Maven CLI are you using?


On Wed, Jun 8, 2011 at 11:28, Thorsten Heit <thorsten.heit@xxxxxx> wrote:

> Adding the following to the pluginManagement section did the trick for me:
>         <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-enforcer-plugin</artifactId>
>                     <versionRange>[1.0,)</versionRange>
>                     <goals>
>                       <goal>enforce</goal>
>                     </goals>
>                   </pluginExecutionFilter>
>                   <action>
>                     <ignore></ignore>
>                   </action>
>                 </pluginExecution>
>               </pluginExecutions>
>             </lifecycleMappingMetadata>
>           </configuration>
>         </plugin>

I recently added a similar section to one of my POMs, but for the axistools-maven-plugin instead of m-enforcer-p.

Typing "mvn versions:display-dependency-updates versions:display-plugin-updates" on a command line results in a couple of warnings:

thorsten$ mvn versions:display-dependency-updates versions:display-plugin-updates
[INFO] Scanning for projects...
Downloading: http://7iv05-server-1/nexus/content/groups/public/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.pom
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0

This warning appears three times.

Question: Where does this plugin come from? Is it downloadable somewhere? If yes, at what address? I can't find it neither in central nor in



m2e-users mailing list

Back to the top