[
https://issues.jboss.org/browse/JBWS-3910?page=com.atlassian.jira.plugin....
]
Rostislav Svoboda updated JBWS-3910:
------------------------------------
Steps to Reproduce:
ensure you have JDK 8 on the PATH
mvn archetype:generate -Dfilter=org.jboss.ws.plugins.archetypes:
{code}
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype:
jaxws-codefirst:1.1.0.Final
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: org.rsvoboda
[INFO] Parameter: artifactId, Value: ws-experiment
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: package, Value: org.rsvoboda
[INFO] Parameter: packageInPathFormat, Value: org/rsvoboda
[INFO] Parameter: package, Value: org.rsvoboda
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: groupId, Value: org.rsvoboda
[INFO] Parameter: jbosswscxf, Value: 5.0.0.Final
[INFO] Parameter: artifactId, Value: ws-experiment
[INFO] project created from Archetype in dir: /home/rsvoboda/tmp/ws-experiment
[INFO] ------------------------------------------------------------------------
{code}
cd ws-experiment
mvn clean package
was:
## ensure you have JDK 8 on the PATH
mvn archetype:generate -Dfilter=org.jboss.ws.plugins.archetypes:
{code}
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype:
jaxws-codefirst:1.1.0.Final
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: org.rsvoboda
[INFO] Parameter: artifactId, Value: ws-experiment
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: package, Value: org.rsvoboda
[INFO] Parameter: packageInPathFormat, Value: org/rsvoboda
[INFO] Parameter: package, Value: org.rsvoboda
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: groupId, Value: org.rsvoboda
[INFO] Parameter: jbosswscxf, Value: 5.0.0.Final
[INFO] Parameter: artifactId, Value: ws-experiment
[INFO] project created from Archetype in dir: /home/rsvoboda/tmp/ws-experiment
[INFO] ------------------------------------------------------------------------
{code}
cd ws-experiment
mvn clean package
Maven archetype jaxws-codefirst has problems on JDK8
----------------------------------------------------
Key: JBWS-3910
URL:
https://issues.jboss.org/browse/JBWS-3910
Project: JBoss Web Services
Issue Type: Bug
Affects Versions: jbossws-cxf-5.0.0.Final
Environment: Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4;
2014-08-11T22:58:10+02:00)
Maven home: /opt/maven
Java version: 1.8.0_40, vendor: Oracle Corporation
Java home: /opt/jdk1.8.0_40/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.19.4-200.fc21.x86_64", arch:
"amd64", family: "unix"
Reporter: Rostislav Svoboda
Assignee: Alessio Soldano
Project generated by maven archetype jaxws-codefirst has problems to compile on JDK8,
compilation works on JDK 7.
Exception thrown during "mvn clean package"
{code}
JBWS024002: Failed to invoke org.apache.cxf.tools.wsdlto.WSDLToJava
java.lang.AssertionError: org.xml.sax.SAXParseException; systemId:
jar:file:/home/rsvoboda/.m2/repository/com/sun/xml/bind/jaxb-xjc/2.2.7/
jaxb-xjc-2.2.7.jar!/com/sun/tools/xjc/reader/xmlschema/bindinfo/binding.xsd;
lineNumber: 52; columnNumber: 88; schema_reference:
Failed to read schema document 'xjc.xsd', because 'file' access is not
allowed due to restriction set by the accessExternalSchema property.
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)