Details
-
Bug
-
Resolution: Done
-
Minor
-
jboss-fuse-6.3
-
None
-
%
Description
In the POM file for our quickstarts/cxf/camel-cxf-contract-first example, we configure the Maven codegen plug-in with additional JVM args as follows:
<configuration> ... <additionalJvmArgs>-Djavax.xml.accessExternalSchema=jar:file,file</additionalJvmArgs> </configuration>
The additionalJvmArgs option is set, but there is no fork setting here. But according to the CXF docs [1]
"Additional JVM args set on the forked process if fork is not false"
We need the fork option to be set to once or always, otherwise additionalJvmArgs is ignored. In other words, the correct configuration could look like:
<configuration> ... <fork>once</fork> <additionalJvmArgs>-Djavax.xml.accessExternalSchema=jar:file,file</additionalJvmArgs> </configuration>
In email correspondence, yfang@redhat.com has confirmed to me that the default setting of fork is false, so that the JVM args setting is currently being ignored.
[1] https://cxf.apache.org/docs/maven-cxf-codegen-plugin-wsdl-to-java.html
Attachments
Issue Links
- is related to
-
ENTESB-5448 camel-cxf-contract-first building fails with ibm1.8 java
- Closed