Uploaded image for project: 'Maven JAR Plugin'
  1. Maven JAR Plugin
  2. MJAR-46

Document <manifestFile> element in configuration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.1
    • None
    • None

    Description

      The maven-jar-plugin does not accept the manfiestFile element in the configuration as advertised. The error reported is...

      [INFO] Failed to configure plugin parameters for:
      org.apache.maven.plugins:maven-jar-plugin:2.1-SNAPSHOT
      Cause: Cannot find setter nor field in
      org.apache.maven.archiver.ManifestConfiguration for 'manifestFile'

      Need to mark this as a blocker as their is no way to merge an existing MANFIEST that is needed to build an eclipse-plugin. The MANIFEST entries cannot be respecified in the plugin configuration because this would break running the plugin in a eclipse runtime-workbench. Keeping the manifest entires in the POM and in the MANIFEST file synchronized is too much maintainance. Need to support merging an existing manifest file.

      Attachments

        Activity

          People

            dennisl@apache.org Dennis Lundberg
            sppatel Sachin Pravin Patel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: