Details
-
Task
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
None
-
None
-
None
Description
[INFO] --- maven-assembly-plugin:3.1.0:single (zip) @ log4j-api-java9 --- [INFO] Reading assembly descriptor: src/assembly/java9.xml [ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference (starting with slash) /classes/META-INF/versions/9
Likely fix is to remove the starting slash in outputDirectory because baseDirectory is already set to /
<outputDirectory>/classes/META-INF/versions/9</outputDirectory>
<outputDirectory>classes/META-INF/versions/9</outputDirectory>
Test case will be to ensure jar has the same hash before and after the change.