[
https://issues.apache.org/jira/browse/KARAF-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13161637#comment-13161637
]
Glen Mazza commented on KARAF-1048:
-----------------------------------
@David, re "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."
I almost always use Eclipse and I've used mvn eclipse:eclipse pretty much
without problem for the past 3-4 years, it does the job fine for me with the
CXF and Metro source bases (in terms of bringing in source libraries so I can
debug within the IDE). The difference may be that I never build within the
IDE, I still use a command prompt window for that. Also, the downloadSources
and useProjectReferences values need to be set properly (either at command line
or as shown in the DoubleIt/pom.xml here:
http://www.jroller.com/gmazza/entry/web_service_tutorial#WFstep3) depending on
what you want. I asked Dan K of the CXF team about that yesterday, he's also
been using mvn eclipse:eclipse with both Camel and CXF source code for some
time now, and doesn't have a present need to switch to m2e.
> 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
> Affects Versions: 2.2.4, 3.0.0
> Reporter: Andrei Pozolotin
> Assignee: Andreas Pieber
> Fix For: 3.0.0
>
>
> 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