Author: veithen
Date: Tue Oct 23 16:19:57 2018
New Revision: 1844670
URL: http://svn.apache.org/viewvc?rev=1844670&view=rev
Log:
Fail the build early if something goes wrong.
Modified:
axis/axis2/java/core/trunk/modules/jibx/pom.xml
Modified: axis/axis2/java/core/trunk/modules/jibx/pom.xml
URL:
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/jibx/pom.xml?rev=1844670&r1=1844669&r2=1844670&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/jibx/pom.xml (original)
+++ axis/axis2/java/core/trunk/modules/jibx/pom.xml Tue Oct 23 16:19:57 2018
@@ -119,23 +119,23 @@
</goals>
<configuration>
<tasks unless="maven.test.skip">
- <java
classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
+ <java
classname="org.apache.axis2.wsdl.WSDL2Java" fork="true" failonerror="true">
<classpath refid="maven.test.classpath" />
<arg line="-uri src/test/wsdl/library.wsdl
-o '${project.build.directory}/gen/library-unwrapped' -d jibx -uw -Ebindingfile
src/test/binding/library-binding.xml --noBuildXML -ns2p
http://ws.sosnoski.com/library/wsdl=org.apache.axis2.jibx.library.unwrapped.client"
/>
</java>
- <java
classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
+ <java
classname="org.apache.axis2.wsdl.WSDL2Java" fork="true" failonerror="true">
<classpath refid="maven.test.classpath" />
<arg line="-uri src/test/wsdl/library.wsdl
-o '${project.build.directory}/gen/library-unwrapped' -d jibx -ss -ssi -sd -uw
-Ebindingfile src/test/binding/library-binding.xml --noBuildXML -ns2p
http://ws.sosnoski.com/library/wsdl=org.apache.axis2.jibx.library.unwrapped.service"
/>
</java>
- <java
classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
+ <java
classname="org.apache.axis2.wsdl.WSDL2Java" fork="true" failonerror="true">
<classpath refid="maven.test.classpath" />
<arg line="-uri src/test/wsdl/library.wsdl
-o '${project.build.directory}/gen/library-wrapped' -d jibx -Ebindingfile
src/test/binding/library-binding.xml --noBuildXML -ns2p
http://ws.sosnoski.com/library/wsdl=org.apache.axis2.jibx.library.wrapped.client"
/>
</java>
- <java
classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
+ <java
classname="org.apache.axis2.wsdl.WSDL2Java" fork="true" failonerror="true">
<classpath refid="maven.test.classpath" />
<arg line="-uri src/test/wsdl/library.wsdl
-o '${project.build.directory}/gen/library-wrapped' -d jibx -ss -ssi -sd
-Ebindingfile src/test/binding/library-binding.xml --noBuildXML -ns2p
http://ws.sosnoski.com/library/wsdl=org.apache.axis2.jibx.library.wrapped.service"
/>
</java>
- <java
classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
+ <java
classname="org.apache.axis2.wsdl.WSDL2Java" fork="true" failonerror="true">
<classpath refid="maven.test.classpath" />
<arg line="-uri
src/test/wsdl/customer-echo.wsdl -o
'${project.build.directory}/gen/customer-echo' -d jibx -Ebindingfile
src/test/binding/customer-binding.xml --noBuildXML -ns2p
http://ws.apache.org/axis2/jibx/customer/wsdl=org.apache.axis2.jibx.customer" />
</java>
@@ -147,7 +147,7 @@
<phase>test-compile</phase>
<configuration>
<tasks unless="maven.test.skip">
- <java classname="org.jibx.binding.Compile"
fork="true">
+ <java classname="org.jibx.binding.Compile"
fork="true" failonerror="true">
<classpath refid="maven.test.classpath" />
<classpath location="target/test-classes"
/>
<!-- arg value="-v" /-->