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

After running "clean" phase, eclipse detects some errors due to missing folder.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.5
    • None
    • WTP support
    • None

    Description

      We are using the configuration point out at the bottom of the page : http://maven.apache.org/plugins/maven-eclipse-plugin/examples/multi-module-projects.html

      The presence of the <wtpmanifest>true</wtpmanifest> creates the folder "target\generated-resources\eclipse\META-INF\" (due to the creation of the file target\generated-resources\eclipse\META-INF\MANIFEST.MF) during the "eclipse:eclipse" goal.

      First trouble, when we run the phase "clean" this folder is deleted and never recreated, even if we run other phases (like install). When Eclipse refresh its folder tree it indicates an error due to this sources missing folder.

      Another trouble, is that the name of this Manifest file is hardcoded in the class EclipseManifestWriter
      See http://svn.apache.org/viewvc/maven/plugins/trunk/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/writers/EclipseManifestWriter.java?revision=618468&view=markup
      The plugin manifest is not used, neither the plugin configuration:
      <manifest>
      ${basedir}/src/main/resources/META-INF/MANIFEST.MF
      </manifest>

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pkernevez Philippe Kernevez
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: