Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.1.0
Description
Within a nar pom that extends/depends on a parent nar, the parent nar's id is not written to the Nar-Dependency-Id in the Manifest file when the parent nar's maven artifact contains a maven classifier.
<dependency>
<groupId>myGroup</groupId>
<artifactId>my-service-api-nar</artifactId>
<version>1.2.3</version>
<type>nar</type>
<classifier>gpu</classifier>
</dependency>
produces...
Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Built-By: unattributed
Nar-Id: my-service
Created-By: Apache Maven 3.3.3
Build-Jdk: 1.8.0_131
The workaround for this was to override the plugin and add the Nar-Dependency-Id via manifestEntries.