Skip to content

Commit

Permalink
schema/POM: added additionalJvmArgs to avoid online XSD checking
Browse files Browse the repository at this point in the history
  • Loading branch information
virgo47 committed Apr 29, 2020
1 parent 1fb0f4a commit 1010828
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions infra/schema/pom.xml
Expand Up @@ -273,6 +273,11 @@
</extraargs>
</wsdlOption>
</wsdlOptions>
<!--
This avoids going online for schema checking which may slow down the build sometimes extremely,
e.g. when firewall is set to drop SYN packet silently during connection.
-->
<additionalJvmArgs>-Dcom.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.noCorrectnessCheck=true</additionalJvmArgs>
</configuration>
<goals>
<goal>wsdl2java</goal>
Expand Down

0 comments on commit 1010828

Please sign in to comment.