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

dependencies woth scope "test" are included in Extension-List of the manifest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1
    • None
    • None
    • Any

    Description

      When activating the Extension-List generation for the jar-plugin :

      <build>
      <plugins>
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-jar-plugin</artifactId>
      <configuration>
      <manifest>
      <addExtensions>true</addExtensions>
      </manifest>
      ...

      Event the dependencies that have only a test scope such as junit, for instance, are included in the manifest.

      Attachments

        1. MJAR-6.diff
          13 kB
          Jerome Lacoste

        Activity

          People

            jdcasey John Dennis Casey
            pgrange Pascal Grange
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: