From 6e77287d80343c53bc821c61bd93019360006eef Mon Sep 17 00:00:00 2001 From: Gustavo Martin Morcuende Date: Thu, 11 Aug 2016 20:05:48 +0200 Subject: [PATCH] jaxb2: generate default values by means of jaxb2-default-value plugin. Wi will use it when having default fields in some XSD. --- .../web-services-spring-jaxb2-globalxsds/pom.xml | 20 ++++++++++++++++++++ .../src/main/resources/schemas/parent.xsd | 4 ++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/SOAP/jaxb2/web-services-spring-jaxb2-globalxsds/pom.xml b/SOAP/jaxb2/web-services-spring-jaxb2-globalxsds/pom.xml index 35278a9..b89b410 100644 --- a/SOAP/jaxb2/web-services-spring-jaxb2-globalxsds/pom.xml +++ b/SOAP/jaxb2/web-services-spring-jaxb2-globalxsds/pom.xml @@ -95,6 +95,26 @@ true true + + + + -Xdefault-value + + + + org.jvnet.jaxb2_commons + jaxb2-default-value + 1.1 + + diff --git a/SOAP/jaxb2/web-services-spring-jaxb2-globalxsds/src/main/resources/schemas/parent.xsd b/SOAP/jaxb2/web-services-spring-jaxb2-globalxsds/src/main/resources/schemas/parent.xsd index fea4a95..4f788d8 100644 --- a/SOAP/jaxb2/web-services-spring-jaxb2-globalxsds/src/main/resources/schemas/parent.xsd +++ b/SOAP/jaxb2/web-services-spring-jaxb2-globalxsds/src/main/resources/schemas/parent.xsd @@ -35,7 +35,7 @@ - + @@ -43,7 +43,7 @@ - + -- 2.1.4