From: Gustavo Martin Morcuende Date: Thu, 11 Aug 2016 18:05:48 +0000 (+0200) Subject: jaxb2: generate default values by means of jaxb2-default-value plugin. X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=6e77287d80343c53bc821c61bd93019360006eef;p=SpringWebServicesForFun%2F.git jaxb2: generate default values by means of jaxb2-default-value plugin. Wi will use it when having default fields in some XSD. --- 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 @@ - +