You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2018/01/05 20:53:36 UTC
svn commit: r1820352 - in /axis/axis2/java/core/trunk: ./
modules/adb-tests/pom.xml modules/jibx/pom.xml modules/schema-validation/
pom.xml systests/echo/services.xml
Author: veithen
Date: Fri Jan 5 20:53:36 2018
New Revision: 1820352
URL: http://svn.apache.org/viewvc?rev=1820352&view=rev
Log:
Add a schema validation module and use it for the ADB and JiBX tests.
Added:
axis/axis2/java/core/trunk/modules/schema-validation/
- copied from r1820349, axis/axis2/java/core/branches/schema-validation/modules/schema-validation/
Modified:
axis/axis2/java/core/trunk/ (props changed)
axis/axis2/java/core/trunk/modules/adb-tests/pom.xml
axis/axis2/java/core/trunk/modules/jibx/pom.xml
axis/axis2/java/core/trunk/pom.xml
axis/axis2/java/core/trunk/systests/echo/services.xml
Propchange: axis/axis2/java/core/trunk/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Jan 5 20:53:36 2018
@@ -3,3 +3,4 @@
/axis/axis2/java/core/branches/AXIS2-4318:1230452,1295542,1324772,1327468,1329571,1332141,1335355,1335357,1340985
/axis/axis2/java/core/branches/AXIS2-5785:1793298-1793391
/axis/axis2/java/core/branches/google-java-format:1800516-1800554
+/axis/axis2/java/core/branches/schema-validation:1818704-1820349
Modified: axis/axis2/java/core/trunk/modules/adb-tests/pom.xml
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-tests/pom.xml?rev=1820352&r1=1820351&r2=1820352&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/adb-tests/pom.xml (original)
+++ axis/axis2/java/core/trunk/modules/adb-tests/pom.xml Fri Jan 5 20:53:36 2018
@@ -78,6 +78,13 @@
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>schema-validation</artifactId>
+ <version>${project.version}</version>
+ <type>mar</type>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
@@ -415,7 +422,11 @@
</execution>
</executions>
<configuration>
- <generatedAxis2xml/>
+ <generatedAxis2xml>
+ <modules>
+ <module>schema-validation</module>
+ </modules>
+ </generatedAxis2xml>
</configuration>
</plugin>
<plugin>
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=1820352&r1=1820351&r2=1820352&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/jibx/pom.xml (original)
+++ axis/axis2/java/core/trunk/modules/jibx/pom.xml Fri Jan 5 20:53:36 2018
@@ -76,6 +76,13 @@
<type>aar</type>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>schema-validation</artifactId>
+ <version>${project.version}</version>
+ <type>mar</type>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<url>http://axis.apache.org/axis2/java/core/</url>
<scm>
@@ -238,6 +245,7 @@
<generatedAxis2xml>
<modules>
<module>checker</module>
+ <module>schema-validation</module>
</modules>
</generatedAxis2xml>
</configuration>
Modified: axis/axis2/java/core/trunk/pom.xml
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/pom.xml?rev=1820352&r1=1820351&r2=1820352&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/pom.xml (original)
+++ axis/axis2/java/core/trunk/pom.xml Fri Jan 5 20:53:36 2018
@@ -59,6 +59,7 @@
<module>modules/samples/version</module>
<module>modules/soapmonitor/servlet</module>
<module>modules/soapmonitor/module</module>
+ <module>modules/schema-validation</module>
<module>modules/spring</module>
<module>modules/testutils</module>
<module>modules/tool/maven-shared</module>
Modified: axis/axis2/java/core/trunk/systests/echo/services.xml
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/systests/echo/services.xml?rev=1820352&r1=1820351&r2=1820352&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/systests/echo/services.xml (original)
+++ axis/axis2/java/core/trunk/systests/echo/services.xml Fri Jan 5 20:53:36 2018
@@ -19,6 +19,8 @@
<service name="Echo">
<parameter name="ServiceClass">org.apache.axis2.echo.EchoService</parameter>
+ <!-- This parameter is recognized by the schema-validation module -->
+ <parameter name="disableSchemaValidation">true</parameter>
<operation name="echo">
<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
</operation>