Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
2.3
-
None
-
None
-
Eclipse 3.2.1
Win 2000
Description
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.
Attachments
Issue Links
- is related to
-
MECLIPSE-370 Option to rely on transitive dependencies
- Closed
-
MECLIPSE-230 Classpath entries to be marked exported
- Closed