Uploaded image for project: 'Maven Eclipse Plugin (RETIRED)'
  1. Maven Eclipse Plugin (RETIRED)
  2. MECLIPSE-249

Generated .classpath file misses exported=true for dependency libraries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.3
    • None
    • PDE support
    • 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

          Activity

            People

              Unassigned Unassigned
              jotbepunkt Jens Baitinger
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: