[JBoss JIRA] (JBWS-4126) Fix assembly script on windows
by Jan Blizňák (JIRA)
[ https://issues.jboss.org/browse/JBWS-4126?page=com.atlassian.jira.plugin.... ]
Jan Blizňák updated JBWS-4126:
------------------------------
Issue Type: Task (was: Bug)
> Fix assembly script on windows
> ------------------------------
>
> Key: JBWS-4126
> URL: https://issues.jboss.org/browse/JBWS-4126
> Project: JBoss Web Services
> Issue Type: Task
> 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.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 5 months
[JBoss JIRA] (JBWS-4122) Can't compile the project with JDK11
by R Searls (JIRA)
[ https://issues.jboss.org/browse/JBWS-4122?page=com.atlassian.jira.plugin.... ]
R Searls commented on JBWS-4122:
--------------------------------
Added needed archives for api's no longer in JDK-11
> Can't compile the project with JDK11
> ------------------------------------
>
> Key: JBWS-4122
> URL: https://issues.jboss.org/browse/JBWS-4122
> Project: JBoss Web Services
> Issue Type: Bug
> Components: jbossws-cxf
> Affects Versions: jbossws-cxf-5.2.1.Final
> Reporter: Jan Blizňák
> Assignee: R Searls
> Fix For: jbossws-cxf-5.2.2.Final
>
>
> It's not possible to compile the project with the JDK11 http://jdk.java.net/11/ due to some packages being removed in https://bugs.openjdk.java.net/browse/JDK-8189188
> {code:java}
> $ java -version
> java version "11-ea" 2018-09-25
> Java(TM) SE Runtime Environment 18.9 (build 11-ea+13)
> Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11-ea+13, mixed mode)
> $ mvn -V -B install -Pwildfly1300 -Dserver.home=/tmp/wildfly/dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT -fn -U -pl \!modules/testsuite
> Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T20:49:05+01:00)
> Maven home: /opt/apache-maven-3.5.3
> Java version: 11-ea, vendor: Oracle Corporation
> Java home: /opt/jdk/oracle/jdk-11
> Default locale: en_US, platform encoding: UTF-8
> ...
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project jbossws-cxf-jaspi: Compilation failure: Compilation failure:
> [ERROR] /tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/client/JaspiClientAuthenticator.java:[12,22] package javax.xml.soap does not exist
> [ERROR] /tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSServerAuthConfig.java:[38,22] package javax.xml.soap does not exist
> [ERROR] /tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSServerAuthConfig.java:[39,22] package javax.xml.soap does not exist
> [ERROR] /tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSServerAuthConfig.java:[40,22] package javax.xml.soap does not exist
> [ERROR] /tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSServerAuthConfig.java:[41,22] package javax.xml.soap does not exist
> [ERROR] /tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSServerAuthConfig.java:[42,22] package javax.xml.soap does not exist
> [ERROR] /tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSServerAuthConfig.java:[44,22] package javax.xml.soap does not exist
> [ERROR] /tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/client/JaspiClientOutInterceptor.java:[28,22] package javax.xml.soap does not exist
> [ERROR] /tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSClientAuthConfig.java:[38,22] package javax.xml.soap does not exist
> [ERROR] /tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSClientAuthConfig.java:[39,22] package javax.xml.soap does not exist
> [ERROR] /tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSClientAuthConfig.java:[44,22] package javax.xml.soap does not exist
> [ERROR] -> [Help 1]
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project jbossws-cxf-transports-undertow: Compilation failure: Compilation failure:
> [ERROR] /tmp/jbossws-cxf/modules/addons/transports/http/undertow/src/main/java/org/jboss/wsf/stack/cxf/addons/transports/undertow/UndertowServerEngineFactory.java:[29,24] package javax.annotation does not exist
> [ERROR] /tmp/jbossws-cxf/modules/addons/transports/http/undertow/src/main/java/org/jboss/wsf/stack/cxf/addons/transports/undertow/UndertowServerEngineFactory.java:[60,5] cannot find symbol
> [ERROR] symbol: class Resource
> [ERROR] location: class org.jboss.wsf.stack.cxf.addons.transports.undertow.UndertowServerEngineFactory
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 5 months
[JBoss JIRA] (JBWS-4122) Can't compile the project with JDK11
by R Searls (JIRA)
[ https://issues.jboss.org/browse/JBWS-4122?page=com.atlassian.jira.plugin.... ]
R Searls updated JBWS-4122:
---------------------------
Assignee: R Searls
> Can't compile the project with JDK11
> ------------------------------------
>
> Key: JBWS-4122
> URL: https://issues.jboss.org/browse/JBWS-4122
> Project: JBoss Web Services
> Issue Type: Bug
> Components: jbossws-cxf
> Affects Versions: jbossws-cxf-5.2.1.Final
> Reporter: Jan Blizňák
> Assignee: R Searls
> Fix For: jbossws-cxf-5.2.2.Final
>
>
> It's not possible to compile the project with the JDK11 http://jdk.java.net/11/ due to some packages being removed in https://bugs.openjdk.java.net/browse/JDK-8189188
> {code:java}
> $ java -version
> java version "11-ea" 2018-09-25
> Java(TM) SE Runtime Environment 18.9 (build 11-ea+13)
> Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11-ea+13, mixed mode)
> $ mvn -V -B install -Pwildfly1300 -Dserver.home=/tmp/wildfly/dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT -fn -U -pl \!modules/testsuite
> Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T20:49:05+01:00)
> Maven home: /opt/apache-maven-3.5.3
> Java version: 11-ea, vendor: Oracle Corporation
> Java home: /opt/jdk/oracle/jdk-11
> Default locale: en_US, platform encoding: UTF-8
> ...
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project jbossws-cxf-jaspi: Compilation failure: Compilation failure:
> [ERROR] /tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/client/JaspiClientAuthenticator.java:[12,22] package javax.xml.soap does not exist
> [ERROR] /tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSServerAuthConfig.java:[38,22] package javax.xml.soap does not exist
> [ERROR] /tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSServerAuthConfig.java:[39,22] package javax.xml.soap does not exist
> [ERROR] /tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSServerAuthConfig.java:[40,22] package javax.xml.soap does not exist
> [ERROR] /tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSServerAuthConfig.java:[41,22] package javax.xml.soap does not exist
> [ERROR] /tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSServerAuthConfig.java:[42,22] package javax.xml.soap does not exist
> [ERROR] /tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSServerAuthConfig.java:[44,22] package javax.xml.soap does not exist
> [ERROR] /tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/client/JaspiClientOutInterceptor.java:[28,22] package javax.xml.soap does not exist
> [ERROR] /tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSClientAuthConfig.java:[38,22] package javax.xml.soap does not exist
> [ERROR] /tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSClientAuthConfig.java:[39,22] package javax.xml.soap does not exist
> [ERROR] /tmp/jbossws-cxf/modules/jaspi/src/main/java/org/jboss/wsf/stack/cxf/jaspi/config/JBossWSClientAuthConfig.java:[44,22] package javax.xml.soap does not exist
> [ERROR] -> [Help 1]
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project jbossws-cxf-transports-undertow: Compilation failure: Compilation failure:
> [ERROR] /tmp/jbossws-cxf/modules/addons/transports/http/undertow/src/main/java/org/jboss/wsf/stack/cxf/addons/transports/undertow/UndertowServerEngineFactory.java:[29,24] package javax.annotation does not exist
> [ERROR] /tmp/jbossws-cxf/modules/addons/transports/http/undertow/src/main/java/org/jboss/wsf/stack/cxf/addons/transports/undertow/UndertowServerEngineFactory.java:[60,5] cannot find symbol
> [ERROR] symbol: class Resource
> [ERROR] location: class org.jboss.wsf.stack.cxf.addons.transports.undertow.UndertowServerEngineFactory
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 5 months
[JBoss JIRA] (JBWS-4124) 3 tests throws exceptions but do not fail
by R Searls (JIRA)
[ https://issues.jboss.org/browse/JBWS-4124?page=com.atlassian.jira.plugin.... ]
R Searls commented on JBWS-4124:
--------------------------------
The same is true for tests org.jboss.test.ws.jaxws.samples.exception.JBWS3945TestCase
and org.jboss.test.ws.jaxws.samples.securityDomain.SecurityDomainTestCase.
Theses 2 tests receive the expected return values but there is a stacktrace that is seen when the "-DnoLogRedirect" option is used.
This appears to be normal expected behavior for these tests and not a bug.
> 3 tests throws exceptions but do not fail
> -----------------------------------------
>
> Key: JBWS-4124
> URL: https://issues.jboss.org/browse/JBWS-4124
> Project: JBoss Web Services
> Issue Type: Enhancement
> Components: jbossws-cxf
> Affects Versions: jbossws-cxf-5.2.2.Final
> Environment: These tests fail in the same way on all support platform, unix and windows (powershell and command prompt
> Reporter: R Searls
> Assignee: R Searls
> Priority: Minor
>
> [INFO] Running org.jboss.test.ws.jaxws.jbws1666.JBWS1666TestCase
> java.security.AccessControlException: access denied ("java.io.FilePermission"
> "/home/rsearls/j1/jbws/jbossws-cxf/modules/testsuite/shared-tests/xcatalog" "read")
> SEVERE: Error reading JAX-WS configuration from [/home/rsearls/d5/openjdk-10+46/jdk-10/conf/jaxws.properties] file. Check it is accessible and has correct format.
> java.security.AccessControlException: access denied ("java.io.FilePermission" "/home/rsearls/d5/openjdk-10+46/jdk-10/conf/jaxws.properties" "read")
> [INFO] Running org.jboss.test.ws.jaxws.samples.securityDomain.SecurityDomainTestCase
> {code:java}
> javax.xml.ws.WebServiceException: Could not send Message.
> :
> :
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:413)
> Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '401: Unauthorized' when communicating with http://localhost:23080/jaxws-securityDomain/authz
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doProcessResponseCode(HTTPConduit.java:1620)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1627)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1572)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1373)
> at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
> at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:673)
> at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:63)
> {code}
> [INFO] Running org.jboss.test.ws.jaxws.samples.exception.JBWS3945TestCase
> {code:java}
> javax.xml.ws.WebServiceException: Could not send Message.
> :
> :
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:413)
> Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '400: Bad Request' when communicating with http://localhost:23080/jaxws-samples-exception-jbws3945/SOAP12ExceptionEn...
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doProcessResponseCode(HTTPConduit.java:1620)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1627)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1572)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1373)
> at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
> at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:673)
> at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:63)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 5 months
[JBoss JIRA] (JBWS-4124) 3 tests throws exceptions but do not fail
by R Searls (JIRA)
[ https://issues.jboss.org/browse/JBWS-4124?page=com.atlassian.jira.plugin.... ]
R Searls commented on JBWS-4124:
--------------------------------
Running org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase on wildfly-12 using both jdk-8 and jdk-10 and wildfly13 using jdk-10 all have the same result. The test is getting the proper result but a stacktrace is seen but only when the "-DnoLogRedirect" option is present.
{code:java}
mvn -Pwildfly1300,wfly-secmgr integration-test \
-DnoLogRedirect \
-Dtest=org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase
{code}
{code:java}
mvn -Pwildfly1200,wfly-secmgr integration-test \
-DnoLogRedirect \
-Dtest=org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase
{code}
StackTrace
{code:java}
Jun 04, 2018 4:29:48 PM javax.xml.ws.spi.FactoryFinder fromJDKProperties
SEVERE: Error reading JAX-WS configuration from [/home/rsearls/d5/jdk-10+46/jdk-10/conf/jaxws.properties] file. Check it is accessible and has correct format.
java.security.AccessControlException: access denied ("java.io.FilePermission" "/home/rsearls/d5/jdk-10+46/jdk-10/conf/jaxws.properties" "read")
at java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
at java.base/java.security.AccessController.checkPermission(AccessController.java:895)
at java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:335)
at java.base/java.lang.SecurityManager.checkRead(SecurityManager.java:674)
at java.base/sun.nio.fs.UnixPath.checkRead(UnixPath.java:818)
at java.base/sun.nio.fs.UnixFileSystemProvider.exists(UnixFileSystemProvider.java:521)
at java.base/java.nio.file.Files.exists(Files.java:2426)
at javax.xml.ws.api@1.0.0.Beta1//javax.xml.ws.spi.FactoryFinder.fromJDKProperties(FactoryFinder.java:209)
at javax.xml.ws.api@1.0.0.Beta1//javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:99)
at javax.xml.ws.api@1.0.0.Beta1//javax.xml.ws.spi.Provider.provider(Provider.java:96)
at /home/rsearls/j1/jbws/jbossws-cxf/modules/testsuite/shared-tests/target/test-libs
/jaxws-jbws1666-client.jar//org.jboss.test.ws.jaxws.jbws1666.TestClient.main(TestClient.java:51)
at org.jboss.modules.Module.run(Module.java:352)
at org.jboss.modules.Module.run(Module.java:320)
at org.jboss.modules.Main.main(Main.java:593)
{code}
This appears to be normal behavior for this test and is not a bug.
> 3 tests throws exceptions but do not fail
> -----------------------------------------
>
> Key: JBWS-4124
> URL: https://issues.jboss.org/browse/JBWS-4124
> Project: JBoss Web Services
> Issue Type: Enhancement
> Components: jbossws-cxf
> Affects Versions: jbossws-cxf-5.2.2.Final
> Environment: These tests fail in the same way on all support platform, unix and windows (powershell and command prompt
> Reporter: R Searls
> Assignee: R Searls
> Priority: Minor
>
> [INFO] Running org.jboss.test.ws.jaxws.jbws1666.JBWS1666TestCase
> java.security.AccessControlException: access denied ("java.io.FilePermission"
> "/home/rsearls/j1/jbws/jbossws-cxf/modules/testsuite/shared-tests/xcatalog" "read")
> SEVERE: Error reading JAX-WS configuration from [/home/rsearls/d5/openjdk-10+46/jdk-10/conf/jaxws.properties] file. Check it is accessible and has correct format.
> java.security.AccessControlException: access denied ("java.io.FilePermission" "/home/rsearls/d5/openjdk-10+46/jdk-10/conf/jaxws.properties" "read")
> [INFO] Running org.jboss.test.ws.jaxws.samples.securityDomain.SecurityDomainTestCase
> {code:java}
> javax.xml.ws.WebServiceException: Could not send Message.
> :
> :
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:413)
> Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '401: Unauthorized' when communicating with http://localhost:23080/jaxws-securityDomain/authz
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doProcessResponseCode(HTTPConduit.java:1620)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1627)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1572)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1373)
> at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
> at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:673)
> at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:63)
> {code}
> [INFO] Running org.jboss.test.ws.jaxws.samples.exception.JBWS3945TestCase
> {code:java}
> javax.xml.ws.WebServiceException: Could not send Message.
> :
> :
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:413)
> Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '400: Bad Request' when communicating with http://localhost:23080/jaxws-samples-exception-jbws3945/SOAP12ExceptionEn...
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doProcessResponseCode(HTTPConduit.java:1620)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1627)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1572)
> at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1373)
> at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
> at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:673)
> at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:63)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 5 months
[JBoss JIRA] (JBWS-4126) Fix assembly script on windows
by Jan Blizňák (JIRA)
[ https://issues.jboss.org/browse/JBWS-4126?page=com.atlassian.jira.plugin.... ]
Jan Blizňák updated JBWS-4126:
------------------------------
Git Pull Request: https://github.com/jbossws/jbossws-cxf/pull/73
PR sent https://github.com/jbossws/jbossws-cxf/pull/73
> 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.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 5 months
[JBoss JIRA] (JBWS-4126) Fix assembly script on windows
by Jan Blizňák (JIRA)
Jan Blizňák created JBWS-4126:
---------------------------------
Summary: 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.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 5 months