From: Gustavo Martin Morcuende Date: Mon, 8 Aug 2016 19:51:54 +0000 (+0200) Subject: cxf-xjc-dv: how to use it and what is it for. X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=aabb3d78924a1b014b5c91f9de97134b028a1a22;p=SpringWebServicesForFun%2F.git cxf-xjc-dv: how to use it and what is it for. --- diff --git a/SOAP/cxf/web-services-spring-cxf-globalxsds/pom.xml b/SOAP/cxf/web-services-spring-cxf-globalxsds/pom.xml index ef09daf..050df12 100644 --- a/SOAP/cxf/web-services-spring-cxf-globalxsds/pom.xml +++ b/SOAP/cxf/web-services-spring-cxf-globalxsds/pom.xml @@ -49,6 +49,26 @@ true + org.apache.cxf.xjcplugins:cxf-xjc-dv:3.0.3 @@ -67,6 +87,9 @@ ${project.xsd.schemas.source.path}/parent.xsd ${project.bindings.path}/custombinding.xjb ${project.xsd.schemas.package.name} + + -Xdv:optional + diff --git a/SOAP/cxf/web-services-spring-cxf-globalxsds/src/main/resources/parent.xsd b/SOAP/cxf/web-services-spring-cxf-globalxsds/src/main/resources/parent.xsd index fea4a95..1394a41 100644 --- a/SOAP/cxf/web-services-spring-cxf-globalxsds/src/main/resources/parent.xsd +++ b/SOAP/cxf/web-services-spring-cxf-globalxsds/src/main/resources/parent.xsd @@ -35,7 +35,7 @@ - + @@ -43,7 +43,7 @@ - + diff --git a/SOAP/cxf/web-services-spring-cxf-server/pom.xml b/SOAP/cxf/web-services-spring-cxf-server/pom.xml index 6807bad..32ddcbb 100644 --- a/SOAP/cxf/web-services-spring-cxf-server/pom.xml +++ b/SOAP/cxf/web-services-spring-cxf-server/pom.xml @@ -112,9 +112,32 @@ org.apache.cxf cxf-xjc-plugin + 3.0.3 true + org.apache.cxf.xjcplugins:cxf-xjc-dv:3.0.3