You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2014/11/25 21:31:44 UTC
[jira] (MECLIPSE-249) Generated .classpath file misses
exported=true for dependency libraries
[ https://jira.codehaus.org/browse/MECLIPSE-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MECLIPSE-249.
-----------------------------------
Resolution: Won't Fix
Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.
> Generated .classpath file misses exported=true for dependency libraries
> -----------------------------------------------------------------------
>
> Key: MECLIPSE-249
> URL: https://jira.codehaus.org/browse/MECLIPSE-249
> Project: Maven Eclipse Plugin
> Issue Type: Bug
> Components: PDE support
> Affects Versions: 2.3
> Environment: Eclipse 3.2.1
> Win 2000
> Reporter: Jens Baitinger
>
> When I generate an Eclipse project with maven, the generated .classpath files looks like this:
> <classpath>
> <classpathentry kind="src" path="." output="target/classes/" including="plugin.xml|plugin.properties" excluding="**/*.java"/>
> <classpathentry kind="output" path="target/classes"/>
> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
> <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
> <!-- this is an example for a lib entry, generated by dependencies -->
> <classpathentry kind="lib" path="commons-lang-2.1.jar"/>
> </classpath>
> But the classes in the libraries are not exported correctly. Only when I remove those libs from the classpath and readd them via the Plug-in Manifest Editor, the classes are correctly exported. After that, the classpathentries lools like this:
> <classpathentry exported="true" kind="lib" path="commons-lang-2.1.jar"/>
> So I think this maven plugin should generate exported="true" into each library.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)