SINTEF-9012 / cloudml

CloudML: Transparent deployment of cloud applications
GNU Lesser General Public License v3.0
27 stars 8 forks source link

Problems buliding the project with Java 7u40 or higher #21

Closed ds87 closed 9 years ago

ds87 commented 9 years ago

If you are trying to build the project with Java 7u40 or higher you will face the following error: [ERROR] Failed to execute goal org.jvnet.jax-ws-commons:jaxws-maven-plugin:2.3:wsimport (default) on project connectors

This is a result of more restrictive JAXP (v1.5) which is included in JDK 7u40 or higher.

You can fix this issue by adding the follwoing snippet to the configuration tag of to the pom.xml in the connectors folder:

<vmArgs>
   <vmArg>-Djavax.xml.accessExternalSchema=all</vmArg>
</vmArgs>
nicolasferry commented 9 years ago

Many thanks! I just integrated your snippet in the pom file