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

use manifest in classesdir/META-INF if exists

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.2
    • None
    • None

    Description

      With 2.1 I need to add this to the pom to use the manifest that it's already in the classes folder, make this the default

      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-jar-plugin</artifactId>
      <version>2.1</version>
      <configuration>
      <archive>
      <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
      </archive>
      </configuration>
      </plugin>

      Attachments

        1. MJAR-71-disabled_by_default.diff
          13 kB
          Jerome Lacoste
        2. MJAR-71-enabled_by_default.diff
          13 kB
          Jerome Lacoste

        Activity

          People

            olamy Olivier Lamy
            carlos Carlos Sanchez Gonzalez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: