From 5882fd585bc317c1647ff6033e71beedd5d42241 Mon Sep 17 00:00:00 2001 From: Gareth Healy Date: Sun, 1 Apr 2018 10:45:51 +0100 Subject: [PATCH] Replaced jaxb xsd generation with cxf (#571) --- core/pom.xml | 40 +++++++++++++++++++++++++--------------- plugins-parent/pom.xml | 10 ++++++++++ 2 files changed, 35 insertions(+), 15 deletions(-) diff --git a/core/pom.xml b/core/pom.xml index 615a8acfe..c80f4ba03 100755 --- a/core/pom.xml +++ b/core/pom.xml @@ -246,13 +246,37 @@ - target/jaxb-sources target/xmlbeans-sources + + org.apache.cxf + cxf-xjc-plugin + + + org.apache.cxf.xjcplugins:cxf-xjc-dv:${cxf-xjc-plugin.version} + + + + + generate-sources + generate-test-sources + + xsdtojava-tests + + + + + src/test/xsd/jaxb/Employee.xsd + + + + + + org.codehaus.mojo jaxb2-maven-plugin @@ -276,20 +300,6 @@ - - xjc - generate-test-sources - - xjc - - - - ${project.basedir}/src/test/xsd/jaxb - - org.dozer.vo.jaxb.employee - target/jaxb-sources - - diff --git a/plugins-parent/pom.xml b/plugins-parent/pom.xml index 265a7162c..99e63adf4 100644 --- a/plugins-parent/pom.xml +++ b/plugins-parent/pom.xml @@ -46,6 +46,9 @@ 2.20.1 2.20 + + 3.2.1 + 3.0.0 1.6.0 @@ -183,6 +186,13 @@ ${maven-surefire-report-plugin.version} + + + org.apache.cxf + cxf-xjc-plugin + ${cxf-xjc-plugin.version} + + org.codehaus.mojo