From ffe1e3e15aa6dfb93299734fcdb1be1d9fb4dd24 Mon Sep 17 00:00:00 2001 From: Dmitry Katsubo Date: Tue, 12 Jun 2018 16:04:56 +0200 Subject: [PATCH] Switched all samples and README to v1.10 of the plugin. --- README.md | 84 +++----------------- pom.xml | 14 ++-- samples/jaxb2-maven-plugin-immutable/pom.xml | 4 +- samples/jaxb2-maven-plugin/pom.xml | 2 +- samples/jaxws-maven-plugin-exclude/pom.xml | 6 +- samples/jaxws-maven-plugin-visitor/pom.xml | 6 +- samples/maven-jaxb2-plugin-basics/pom.xml | 2 +- samples/maven-jaxb2-plugin/pom.xml | 2 +- samples/pom.xml | 2 +- 9 files changed, 36 insertions(+), 86 deletions(-) diff --git a/README.md b/README.md index b512cc2..e81f945 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ [![Build Status](https://travis-ci.org/dmak/jaxb-xew-plugin.svg)](https://travis-ci.org/dmak/jaxb-xew-plugin) [![Coverage Status](https://coveralls.io/repos/github/dmak/jaxb-xew-plugin/badge.svg?branch=master)](https://coveralls.io/github/dmak/jaxb-xew-plugin?branch=master) -[![Dependency Status](https://www.versioneye.com/java/com.github.jaxb-xew-plugin:jaxb-xew-plugin/badge?style=flat)](https://www.versioneye.com/java/com.github.jaxb-xew-plugin:jaxb-xew-plugin/) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.jaxb-xew-plugin/jaxb-xew-plugin/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.jaxb-xew-plugin/jaxb-xew-plugin) [![Javadoc](http://javadoc.io/badge/com.github.jaxb-xew-plugin/jaxb-xew-plugin.svg)](http://www.javadoc.io/doc/com.github.jaxb-xew-plugin/jaxb-xew-plugin) @@ -237,8 +236,8 @@ To use the plugin from Ant you will need something like the following in your bu - - + + @@ -289,7 +288,7 @@ Note: `maven-jaxb2-plugin` prior to v0.8.0 was compiled against JAXB XJC API whi com.github.jaxb-xew-plugin jaxb-xew-plugin - 1.9 + 1.10 @@ -319,7 +318,7 @@ Versions ≥ 0.12.2 work with `jaxb-xew-plugin` ≥ v1.8 (see [issue#50](https:/ com.github.jaxb-xew-plugin jaxb-xew-plugin - 1.9 + 1.10 @@ -357,7 +356,7 @@ Note: `jaxb2-maven-plugin` ≤ v1.5 was compiled against JAXB XJC API v2.1.13 wh com.github.jaxb-xew-plugin jaxb-xew-plugin - 1.9 + 1.10 maven-deploy-plugin 2.8.2 @@ -93,10 +93,6 @@ - - org.sonatype.plugins - nexus-staging-maven-plugin - org.apache.maven.plugins maven-gpg-plugin @@ -110,9 +106,15 @@ + + + org.sonatype.plugins + nexus-staging-maven-plugin + + jdk-tools-dependency @@ -233,7 +235,7 @@ 2.6 test - + diff --git a/samples/jaxb2-maven-plugin-immutable/pom.xml b/samples/jaxb2-maven-plugin-immutable/pom.xml index 85fbf56..3a2238a 100644 --- a/samples/jaxb2-maven-plugin-immutable/pom.xml +++ b/samples/jaxb2-maven-plugin-immutable/pom.xml @@ -4,11 +4,11 @@ 4.0.0 com.github.jaxb-xew-plugin.sample - jaxb2-maven-plugin + jaxb2-maven-plugin-immutable 1.0-SNAPSHOT jar - jaxb2-maven-plugin with jaxb-xew-plugin + immutable + jaxb2-maven-plugin-immutable: jaxb-xew-plugin + immutable com.github.jaxb-xew-plugin.sample diff --git a/samples/jaxb2-maven-plugin/pom.xml b/samples/jaxb2-maven-plugin/pom.xml index aac29c0..1716ae6 100644 --- a/samples/jaxb2-maven-plugin/pom.xml +++ b/samples/jaxb2-maven-plugin/pom.xml @@ -8,7 +8,7 @@ 1.0-SNAPSHOT jar - jaxb2-maven-plugin with jaxb-xew-plugin + jaxb-fluent-api + jaxb2-maven-plugin: jaxb-xew-plugin + jaxb-fluent-api com.github.jaxb-xew-plugin.sample diff --git a/samples/jaxws-maven-plugin-exclude/pom.xml b/samples/jaxws-maven-plugin-exclude/pom.xml index 34a8db6..5637119 100644 --- a/samples/jaxws-maven-plugin-exclude/pom.xml +++ b/samples/jaxws-maven-plugin-exclude/pom.xml @@ -8,7 +8,7 @@ 1.0-SNAPSHOT jar - jaxws-maven-plugin with jaxb-xew-plugin and deletion excludes + jaxws-maven-plugin-exclude: jaxb-xew-plugin with deletion excludes com.github.jaxb-xew-plugin.sample @@ -38,6 +38,10 @@ -Xxew:instantiate lazy -Xxew:control src/main/wsdl/classes-control.txt + + + -Djavax.xml.accessExternalSchema=all + ${project.build.directory}/generated-sources/jaxws src/main/wsdl diff --git a/samples/jaxws-maven-plugin-visitor/pom.xml b/samples/jaxws-maven-plugin-visitor/pom.xml index 159e8cb..839507b 100644 --- a/samples/jaxws-maven-plugin-visitor/pom.xml +++ b/samples/jaxws-maven-plugin-visitor/pom.xml @@ -8,7 +8,7 @@ 1.0-SNAPSHOT jar - jaxws-maven-plugin with jaxb-xew-plugin + jaxb-visitor and classpath voodoo + jaxws-maven-plugin-visitor: jaxb-xew-plugin + jaxb-visitor and classpath voodoo com.github.jaxb-xew-plugin.sample @@ -36,6 +36,10 @@ -Xxew:instantiate lazy -Xvisitor + + + -Djavax.xml.accessExternalSchema=all + ${project.build.directory}/generated-sources/jaxws wsdl diff --git a/samples/maven-jaxb2-plugin-basics/pom.xml b/samples/maven-jaxb2-plugin-basics/pom.xml index 7606c29..88c2ca7 100644 --- a/samples/maven-jaxb2-plugin-basics/pom.xml +++ b/samples/maven-jaxb2-plugin-basics/pom.xml @@ -8,7 +8,7 @@ 1.0-SNAPSHOT jar - maven-jaxb2-plugin with jaxb-xew-plugin + jaxb-simpleEquals + jaxb-simpleHashCode + maven-jaxb2-plugin-basics: jaxb-xew-plugin + jaxb-simpleEquals + jaxb-simpleHashCode com.github.jaxb-xew-plugin.sample diff --git a/samples/maven-jaxb2-plugin/pom.xml b/samples/maven-jaxb2-plugin/pom.xml index 9c449ba..151cc07 100644 --- a/samples/maven-jaxb2-plugin/pom.xml +++ b/samples/maven-jaxb2-plugin/pom.xml @@ -8,7 +8,7 @@ 1.0-SNAPSHOT jar - maven-jaxb2-plugin with jaxb-xew-plugin + jaxb-equals + jaxb-hashCode + maven-jaxb2-plugin: jaxb-xew-plugin + jaxb-equals + jaxb-hashCode com.github.jaxb-xew-plugin.sample diff --git a/samples/pom.xml b/samples/pom.xml index 8f16282..6e4808f 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -9,7 +9,7 @@ pom - 1.10-SNAPSHOT + 1.10