Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
If a project is assembled this way, the MANIFEST.MF is not used.
<project>
...
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptorId>jar-with-dependencies</descriptorId>
<archive>
<manifestFile>$
/src/main/resources/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
</plugins>
</build>
...
</project>
Issue Links
- is depended upon by
-
MNG-2162
update iText @ iBiblio
-
- is related to
-
MASSEMBLY-1
assembly jar-with-dependencies does not utilize or provide for manifest configuration
-
The patch provides a solution to this issue. The plugin checks if the MANIFEST.MF is specified. If not, it checks for a manifest configuration in the pom. If no manifest is specified, a default will be created for the assembly.