From aabb3d78924a1b014b5c91f9de97134b028a1a22 Mon Sep 17 00:00:00 2001 From: Gustavo Martin Morcuende Date: Mon, 8 Aug 2016 21:51:54 +0200 Subject: [PATCH] cxf-xjc-dv: how to use it and what is it for. --- .../cxf/web-services-spring-cxf-globalxsds/pom.xml | 23 ++++++++++++++++++++++ .../src/main/resources/parent.xsd | 4 ++-- SOAP/cxf/web-services-spring-cxf-server/pom.xml | 23 ++++++++++++++++++++++ 3 files changed, 48 insertions(+), 2 deletions(-) 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 -- 2.1.4