[
https://issues.apache.org/jira/browse/KARAF-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158135#comment-13158135
]
David Jencks commented on KARAF-1048:
-------------------------------------
Andrei, it is really inappropriate to conduct discussions like this in jira
comments. The mailing list is the appropriate place.
The link you supplied,
http://wiki.eclipse.org/M2E_plugin_execution_not_covered, indicates that you
can fix the lifecycle problems a project at a time or in the plugins by adding
m2e specific metadata. I'm suggesting that we add the m2e specific metadata to
all the plugins we use. It should be the same amount of work and be useful to
everyone using these plugins.
@Glen I barely use eclipse at all but in my experience mvn eclipse:eclipse is
much less effective than m2e at getting a working accurate eclipse project that
corresponds to the maven project structure. If the maven eclipse plugin ever
catches up, great, but I'm not holding my breath.
> make pom.xml eclipse 3.7 m2e friendly
> -------------------------------------
>
> Key: KARAF-1048
> URL: https://issues.apache.org/jira/browse/KARAF-1048
> Project: Karaf
> Issue Type: Bug
> Components: karaf-core
> Reporter: Andrei Pozolotin
>
> currently it is impossible to import karaf projects from svn in
> eclipse 3.7 with m2e integration w/o need to manually
> provide m2e life cycle entries such as this,
> for all kinds of plugins
> ##################################
> <!--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>
>
> org.apache.felix
> </groupId>
> <artifactId>
>
> maven-bundle-plugin
> </artifactId>
> <versionRange>
> [2.3.5,)
> </versionRange>
> <goals>
>
> <goal>cleanVersions</goal>
> </goals>
> </pluginExecutionFilter>
> <action>
>
> <ignore></ignore>
> </action>
> </pluginExecution>
> </pluginExecutions>
> </lifecycleMappingMetadata>
> </configuration>
> </plugin>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira