[
https://issues.apache.org/jira/browse/RAT-199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16832328#comment-16832328
]
Sylwester Lachiewicz commented on RAT-199:
------------------------------------------
Now we have in maven-parent Warning messages:
{{[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: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in
[https://repo.maven.apache.org/maven2] was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced}}
And we use this lifecycle mapping only for rat. I think there is no need to do
anything special in code to integrate with m2e because we just ignore rat
plugin. [~khmarbaise] what You think?
{code:java}
<!--This plugin's configuration is used to store Eclipse m2e settings only. It
has no influence on the 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.10,)</versionRange>
<goals>
<goal>check</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
{code}
> Support for m2e in Eclipse
> --------------------------
>
> Key: RAT-199
> URL: https://issues.apache.org/jira/browse/RAT-199
> Project: Apache Rat
> Issue Type: Improvement
> Components: maven
> Affects Versions: 0.12
> Reporter: Karl Heinz Marbaise
> Priority: Minor
>
> I would like to see support for m2e in Eclipse.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)