[ http://jira.codehaus.org/browse/MECLIPSE-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158531#action_158531 ]
Henrik Larne commented on MECLIPSE-230: --------------------------------------- I am using Eclipse with the Mobile Tools for Java plugin and have the same problem with my compile scoped dependencies not beeing marked exported in the .classpath file. The philosophy of Maven is that the project should be completely described by the pom. The pom has full support for scoping a projects dependencies and I therefore think that the default behavior should be to add the exported="true" tag to the .classpath file for all dependencies with compile or runtime scope. If there are eclipse plugins that does not work well with this, they should probably be revised. I have done a patch to the maven-eclipse-plugin version 2.5.1 and 2.6-SNAPSHOT that adds the exported tag to all the dependencies that have scope compile or runtime and are not referenced projects. Please consider adding this to the trunk of the plugin and possibly also the version 2.5.2. Both patches are attached to this issue. > Classpath entries to be marked exported > --------------------------------------- > > Key: MECLIPSE-230 > URL: http://jira.codehaus.org/browse/MECLIPSE-230 > Project: Maven 2.x Eclipse Plugin > Issue Type: Improvement > Components: Core : Dependencies resolution and build path > (.classpath) > Affects Versions: 2.1 > Reporter: Vlad Skarzhevskyy > Assignee: fabrizio giustina > > Generated .classpath entries of kind "var" need to be marked exported by > default so that referenced projects have visibility to them. Or provide an > option to specifiy that that entries should be exported. > Example: <classpathentry kind="var" > path="M2_REPO/mx4j/mx4j/3.0.1/mx4j-3.0.1.jar"/> > should me made... > <classpathentry exported="true" kind="var" > path="M2_REPO/mx4j/mx4j/3.0.1/mx4j-3.0.1.jar"/> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira