Skip to content

[MJAR-279] maven-jar-plugin after upgrade of Maven to 3.8.3 doesn't include classpath to MANIFEST  #426

@jira-importer

Description

@jira-importer

Jakub Moravec opened MJAR-279 and commented

Plugin configuration:

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-jar-plugin</artifactId>
  <configuration>
    <archive>
      <index>false</index>
      <manifest>
        <addClasspath>true</addClasspath>
        <useUniqueVersions>false</useUniqueVersions>
        <mainClass>eu.profinit.manta.platform.cli.Main</mainClass>
        <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
        <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
      </manifest>
    </archive>
  </configuration>
</plugin>

Diff of MANIFEST.MF before (mvn clean install executed with Maven 3.5.4) and after (mvn clean install executed with Maven 3.8.3) is attached. 

 

 


Affects: 3.2.0

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:blockerBlocks development and/or testing work, production could not run

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions