Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-3305

log4j-api-java9: OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • Build
    • 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.

      Attachments

        Activity

          People

            rgrabowski Ron Grabowski
            rgrabowski Ron Grabowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: