From e4cd2b0cd4e6d35a538325759dee813c0d07ca07 Mon Sep 17 00:00:00 2001 From: Gustavo Martin Morcuende Date: Mon, 1 Jun 2015 01:04:48 +0200 Subject: [PATCH] web-services-spring-globalxsds: global project for sharing autogenerated java classes among different projects --- .../src/main/build-resources/catalog.cat | 16 ++++ web-services-spring-globalxsds/pom.xml | 101 +++++++++++++++++++++ .../build-resources/bindings/custombinding.xjb | 8 ++ .../src/main/resources/parent.xsd | 16 ++++ 4 files changed, 141 insertions(+) create mode 100644 web-services-spring-client/src/main/build-resources/catalog.cat create mode 100644 web-services-spring-globalxsds/pom.xml create mode 100644 web-services-spring-globalxsds/src/main/build-resources/bindings/custombinding.xjb create mode 100644 web-services-spring-globalxsds/src/main/resources/parent.xsd diff --git a/web-services-spring-client/src/main/build-resources/catalog.cat b/web-services-spring-client/src/main/build-resources/catalog.cat new file mode 100644 index 0000000..82fe4bb --- /dev/null +++ b/web-services-spring-client/src/main/build-resources/catalog.cat @@ -0,0 +1,16 @@ + + + + + + + + + + + + diff --git a/web-services-spring-globalxsds/pom.xml b/web-services-spring-globalxsds/pom.xml new file mode 100644 index 0000000..89451b9 --- /dev/null +++ b/web-services-spring-globalxsds/pom.xml @@ -0,0 +1,101 @@ + + 4.0.0 + + web-services-spring + de.spring.webservices + 1.0-SNAPSHOT + + web-services-spring-globalxsds + web-services-spring-globalxsds + http://gumartinm.name + + + src/main/resources + ${basedir}/target/generated-sources/src/main/java + de.spring.webservices.auto + src/main/build-resources/bindings + + + + + + + junit + junit + test + + + + + ${project.artifactId} + + + ${basedir}/src/main/resources + + **/*.* + + + + + + + org.apache.cxf + cxf-xjc-plugin + 3.0.3 + + true + + org.apache.cxf.xjcplugins:cxf-xjc-dv:3.0.3 + + + + + generate-sources-from-xsd + generate-sources + + xsdtojava + + + ${project.xsd.schemas.target.path} + + + true + ${project.xsd.schemas.source.path}/parent.xsd + ${project.bindings.path}/custombinding.xjb + ${project.xsd.schemas.package.name} + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 1.9.1 + + + add-source + generate-sources + + add-source + + + + ${project.xsd.schemas.target.path} + + + + + + + + diff --git a/web-services-spring-globalxsds/src/main/build-resources/bindings/custombinding.xjb b/web-services-spring-globalxsds/src/main/build-resources/bindings/custombinding.xjb new file mode 100644 index 0000000..8b4a110 --- /dev/null +++ b/web-services-spring-globalxsds/src/main/build-resources/bindings/custombinding.xjb @@ -0,0 +1,8 @@ + + + + + diff --git a/web-services-spring-globalxsds/src/main/resources/parent.xsd b/web-services-spring-globalxsds/src/main/resources/parent.xsd new file mode 100644 index 0000000..0ce508e --- /dev/null +++ b/web-services-spring-globalxsds/src/main/resources/parent.xsd @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + -- 2.1.4