diff --git a/cc-xjc-dist/pom.xml b/cc-xjc-dist/pom.xml index b8b7218..7fe4e38 100644 --- a/cc-xjc-dist/pom.xml +++ b/cc-xjc-dist/pom.xml @@ -40,7 +40,7 @@ cc-xjc-dist pom CC-XJC Distribution - JAXB 2.0 Schema to Java compiler plugin binary distribution. + JAXB 3.0 Schema to Java compiler plugin binary distribution. diff --git a/cc-xjc-it/pom.xml b/cc-xjc-it/pom.xml index 9ba444e..9864c98 100644 --- a/cc-xjc-it/pom.xml +++ b/cc-xjc-it/pom.xml @@ -40,7 +40,7 @@ cc-xjc-it jar CC-XJC Test Suite - JAXB 2.0 Schema to Java compiler plugin test suite. + JAXB 3.0 Schema to Java compiler plugin test suite. diff --git a/cc-xjc-plugin/pom.xml b/cc-xjc-plugin/pom.xml index 84662be..8155db9 100644 --- a/cc-xjc-plugin/pom.xml +++ b/cc-xjc-plugin/pom.xml @@ -40,7 +40,7 @@ cc-xjc-plugin jar CC-XJC Plugin - JAXB 2.0 Schema to Java compiler plugin for adding a copy constructor to schema derived classes. + JAXB 3.0 Schema to Java compiler plugin for adding a copy constructor to schema derived classes. diff --git a/pom.xml b/pom.xml index 590f245..62d83bc 100644 --- a/pom.xml +++ b/pom.xml @@ -37,7 +37,7 @@ pom CC-XJC 3.0.1-SNAPSHOT - JAXB 2.0 Schema to Java compiler plugin for adding a copy constructor to schema derived classes. + JAXB 3.0 Schema to Java compiler plugin for adding a copy constructor to schema derived classes. https://cc-xjc.wcht.de 2009 diff --git a/src/site/apt/examples.apt b/src/site/apt/examples.apt index de6691f..6654872 100644 --- a/src/site/apt/examples.apt +++ b/src/site/apt/examples.apt @@ -37,52 +37,57 @@ Christian Schulte Examples -* JAXB-RI CLI - - To use the JAXB-RI XJC command line interface simply add the corresponding - java archives to the classpath and execute the XJC main class - 'com.sun.tools.xjc.Driver'. The following example demonstrates a working - command line for use with JDK 1.5 (assuming the needed dependencies are - found in the current working directory). - ---- - java -cp activation-1.1.jar:\ - jaxb-api-2.0.jar:\ - stax-api-1.0.jar:\ - jaxb-impl-2.0.5.jar:\ - jaxb-xjc-2.0.5.jar:\ - cc-xjc-plugin-2.0.jar\ - com.sun.tools.xjc.Driver -d /tmp/src -copy-constructor ---- - * Maven Maven users simply add the CC-XJC plugin as a dependency to a JAXB plugin of choice. The following example demonstrates the use of the CC-XJC plugin with - the Mojo jaxb2-maven-plugin. + the Mojo jaxb30-maven-plugin --- - org.codehaus.mojo - jaxb2-maven-plugin - 1.3 + com.evolvedbinary.maven.jvnet + jaxb30-maven-plugin + 0.15.0 de.wcht.cc-xjc cc-xjc-plugin - 2.0.2 + 3.0.0 xjc - xjc + generate - -copy-constructor + + -copy-constructor + + src/main/schemas + src/main/jaxb true +--- + +* JAXB-RI CLI + + To use the JAXB-RI XJC command line interface simply add the corresponding + java archives to the classpath and execute the XJC main class + 'com.sun.tools.xjc.Driver'. The following example demonstrates a working + command line for use with JDK 1.5 (assuming the needed dependencies are + found in the current working directory). + +--- + java -cp activation-1.1.jar:\ + jaxb-api-2.0.jar:\ + stax-api-1.0.jar:\ + jaxb-impl-2.0.5.jar:\ + jaxb-xjc-2.0.5.jar:\ + cc-xjc-plugin-2.0.jar\ + com.sun.tools.xjc.Driver -d /tmp/src -copy-constructor +--- \ No newline at end of file diff --git a/src/site/apt/index.apt b/src/site/apt/index.apt index 2256eb9..13b6576 100644 --- a/src/site/apt/index.apt +++ b/src/site/apt/index.apt @@ -39,11 +39,19 @@ CC-XJC * Introduction - CC-XJC is a JAXB 2.0 XJC plugin for adding a copy constructor to schema + CC-XJC is a JAXB 3.0 XJC plugin for adding a copy constructor to schema derived classes. The plugin provides a '-copy-constructor' option which is enabled by adding its jar file to the XJC classpath. When enabled, the - following options can be used to control the behavior of the plugin. See - the examples for further information. + following options can be used to control the behavior of the plugin. + + See the {{{./examples.html}examples}}. for further information. + +* Support + + Development of CC-XJC is community driven. Please file any issues with the + {{{https://github.com/Boris-de/CC-XJC/issues}bugtracker}}. + +* Features ** -cc-visibility @@ -197,14 +205,9 @@ CC-XJC * jakarta.activation.MimeType -** -cc-null-collection-elements (since ?) +** -cc-null-collection-elements (since 3.0.0) - The '-cc-null-collection-elements' option got introduced in version ?. It can + The '-cc-null-collection-elements' option got introduced in version 3.0.0. It can be used to allow the copy of 'null'-elements contained in collections that - are copied in the constructor. Before version ? 'null'-elements would be + are copied in the constructor. Before version 3.0.0 'null'-elements would be dropped silently when copying/cloning collections. - -* Support - - Development of CC-XJC is community driven. Please file any issues with the - {{{https://github.com/Boris-de/CC-XJC/issues}bugtracker}}. \ No newline at end of file