]
Jan Blizňák updated JBWS-4126:
------------------------------
Git Pull Request:
Fix assembly script on windows
------------------------------
Key: JBWS-4126
URL:
https://issues.jboss.org/browse/JBWS-4126
Project: JBoss Web Services
Issue Type: Bug
Components: jbossws-cxf
Affects Versions: jbossws-cxf-5.2.1.Final
Reporter: Jan Blizňák
Assignee: Jan Blizňák
Priority: Minor
There is error reported from maven-assembly-plugin when building on windows:
{code:java}
[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]
{code}
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.