Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-4126

Fix assembly script on windows

XMLWordPrintable

      There is error reported from maven-assembly-plugin when building on windows:

      [INFO] --- maven-assembly-plugin:3.1.0:single (dist-test-server) @ jbossws-cxf-dist ---
      [INFO] Reading assembly descriptor: src/main/scripts/assembly-test-server.xml
      [ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference (starting with slash) /
      [INFO] Building zip: C:\dev\jbossws-cxf\modules\dist\target\jbossws-cxf-dist-5.2.2-SNAPSHOT-wildfly1300.zip
      [INFO]
      

      The path is chosen correctly anyway so this is mostly about getting rid of error in log. The fix is to use empty outputDirectory element in src/main/scripts/assembly-test-server.xml or use system-specific separator.

              jbliznak@redhat.com Jan Blizňák
              jbliznak@redhat.com Jan Blizňák
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: