cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r1035158 - in /websites/production/cxf/content: cache/main.pageCache cxf-xjc-plugin.html
Date Fri, 14 Sep 2018 10:57:52 GMT
Author: buildbot
Date: Fri Sep 14 10:57:51 2018
New Revision: 1035158

Log:
Production update by buildbot for cxf

Modified:
    websites/production/cxf/content/cache/main.pageCache
    websites/production/cxf/content/cxf-xjc-plugin.html

Modified: websites/production/cxf/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/cxf-xjc-plugin.html
==============================================================================
--- websites/production/cxf/content/cxf-xjc-plugin.html (original)
+++ websites/production/cxf/content/cxf-xjc-plugin.html Fri Sep 14 10:57:51 2018
@@ -109,37 +109,16 @@ Apache CXF -- cxf-xjc-plugin
          <td height="100%">
            <!-- Content -->
            <div class="wiki-content">
-<div id="ConfluenceContent"><h2 id="cxf-xjc-plugin-TheCXFXJCMavenPlugin">The
CXF  XJC Maven Plugin</h2>
-
-<p>The CXF  XJC Maven Plugin is a wrapper around the JAXB XJC tool to handle the XSD
-&gt; Java tasks.</p>
-
-<p>There are two targets:</p>
-
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> xsdtojava </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Defaults into generate-sources phase
and outputs to ${project.build.directory}/generated/src/main/java </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> xsdtojava-tests </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> Defaults into generate-test-sources
phase and outputs to ${project.build.directory}/generated/src/test/java </p></td></tr></tbody></table></div>
-
-
-
-<p>Parameters</p>
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> extensions </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> List of maven artifacts to add to
the extension classpath.  Each item in the list is a string of groupId:artifactId:version.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> xsdOptions </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> List of XsdOption objects.  See
below. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>sourceRoot/testSourceRoot
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> For
the two targets above, override the default output directory. </p></td></tr></tbody></table></div>
-
-
-
-<p>The XsdOption object is used to pass specific options and configuration for each
XSD file that is to be processed. </p>
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>xsd</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> The location of the schema to process. </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>bindingFile</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> The location of the JAXB binding
file to customize the output. </p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>packagename</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>  Specifies the package name to use for the outputted
code. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>extension</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> (boolean) Turns on the custom JAXB
implementation extensions. </p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>catalog</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> The location of a catalog
  file for mapping schema locations. </p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>extensionArgs</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p> List of additional  arguements passed to XJC.
 (ex:  -Xlocator)  </p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>dependencies</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p> List of files that are examined to determine if subsequent
runs of the plugin must re-generate code. </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>deleteDirs</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> List of directories that are removed
after generation.   If you have schemas that generate code that has already been generated,
(possibly in a different maven module)  you can specify this to have them removed.   The preferred
method to do this, however, is a binding file with the "skip" flag set on those namespaces.</p></td></tr></tbody></table></div>
-
-
-
-<h3 id="cxf-xjc-plugin-Example:">Example:</h3>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
-<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">
+<div id="ConfluenceContent"><h2 id="cxf-xjc-plugin-TheCXFXJCMavenPlugin">The
CXF XJC Maven Plugin</h2><p>The CXF XJC Maven Plugin is a wrapper around the JAXB
XJC tool to handle the XSD -&gt; Java tasks.</p><p>There are two targets:</p><div
class="table-wrap"><table class="confluenceTable"><colgroup span="1"><col
span="1"><col span="1"></colgroup><tbody><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>xsdtojava</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Defaults into generate-sources phase and outputs
to ${project.build.directory}/generated/src/main/java</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>xsdtojava-tests</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Defaults into generate-test-sources
phase and outputs to ${project.build.directory}/generated/src/test/java</p></td></tr></tbody></table></div><p>Parameters</p><div
class="table-wrap"><table class="confluenceTable"><colgroup span="1"><col
span="1"><col span="1"></col
 group><tbody><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>extensions</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>List of maven artifacts to add to
the extension classpath. Each item in the list is a string of groupId:artifactId:version.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>xsdOptions</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>List of XsdOption objects. See below.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>sourceRoot/testSourceRoot</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>For the two targets above, override
the default output directory.</p></td></tr></tbody></table></div><p>The
XsdOption object is used to pass specific options and configuration for each XSD file that
is to be processed.</p><div class="table-wrap"><table class="confluenceTable"><colgroup
span="1"><col span="1"><col span="1"></colgroup><tbody><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>xs
 d</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The
location of the schema to process.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>bindingFile</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>The location of the JAXB binding file to customize
the output.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">bindingFiles</td><td
colspan="1" rowspan="1" class="confluenceTd">It's possible to specify multiple bindingFile
options using "bindingFiles" since the 3.2.3 release.</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>packagename</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Specifies the package name to use
for the outputted code.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>extension</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>(boolean) Turns on the custom JAXB implementation extensions.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd
 "><p>catalog</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The
location of a catalog file for mapping schema locations.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>extensionArgs</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>List of additional arguements passed
to XJC. (ex: -Xlocator)</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>dependencies</p></td><td colspan="1" rowspan="1"
class="confluenceTd"><p>List of files that are examined to determine if subsequent
runs of the plugin must re-generate code.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>deleteDirs</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>List of directories that are removed
after generation. If you have schemas that generate code that has already been generated,
(possibly in a different maven module) you can specify this to have them removed. The preferred
method to do this, however, is a binding file with th
 e "skip" flag set on those namespaces.</p></td></tr></tbody></table></div><h3
id="cxf-xjc-plugin-Example:">Example:</h3><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
+<pre class="brush: java; gutter: false; theme: Default">
 
             &lt;plugin&gt;
                 &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
                 &lt;artifactId&gt;cxf-xjc-plugin&lt;/artifactId&gt;
-                &lt;version&gt;2.3.0&lt;/version&gt;
+                &lt;version&gt;3.2.3&lt;/version&gt;
                 &lt;configuration&gt;
                     &lt;extensions&gt;
-                        &lt;extension&gt;org.apache.cxf.xjcplugins:cxf-xjc-dv:2.3.0&lt;/extension&gt;
+                        &lt;extension&gt;org.apache.cxf.xjcplugins:cxf-xjc-dv:3.2.3&lt;/extension&gt;
                     &lt;/extensions&gt;
                 &lt;/configuration&gt;
                 &lt;executions&gt;
@@ -167,8 +146,11 @@ Apache CXF -- cxf-xjc-plugin
                                 &lt;/xsdOption&gt;
                                 &lt;xsdOption&gt;
                                     &lt;xsd&gt;classpath:/schemas/configuration/security.xsd&lt;/xsd&gt;
-                                    &lt;bindingFile&gt;classpath:/schemas/configuration/security.xjb&lt;/bindingFile&gt;
-                                    &lt;catalog&gt;${basedir}/src/main/build-resources/catalog.cat&lt;/catalog&gt;
+                                    &lt;bindingFiles&gt;
+                                         &lt;bindingFile&gt;classpath:/schemas/configuration/security.xjb&lt;/bindingFile&gt;
+                                         &lt;bindingFile&gt;classpath:/schemas/configuration/security2.xjb&lt;/bindingFile&gt;
+                                    &lt;/bindingFiles&gt;
+                                   &#160;&lt;catalog&gt;${basedir}/src/main/build-resources/catalog.cat&lt;/catalog&gt;
                                     &lt;extensionArgs&gt;
                                         &lt;extensionArg&gt;-Xdv&lt;/extensionArg&gt;
                                     &lt;/extensionArgs&gt;



Mime
View raw message