Ron Grabowski created LOG4J2-3305:
-------------------------------------

             Summary: log4j-api-java9: OS=Windows and the assembly descriptor 
contains a *nix-specific root-relative-reference
                 Key: LOG4J2-3305
                 URL: https://issues.apache.org/jira/browse/LOG4J2-3305
             Project: Log4j 2
          Issue Type: Task
          Components: Build
            Reporter: Ron Grabowski
            Assignee: Ron Grabowski


{code:java}
[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
{code}

Likely fix is to remove the starting slash in _outputDirectory_ because 
_baseDirectory_ is already set to /

{code}
<outputDirectory>/classes/META-INF/versions/9</outputDirectory>
{code}

{code}
<outputDirectory>classes/META-INF/versions/9</outputDirectory>
{code}

Test case will be to ensure jar has the same hash before and after the change.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to