Author: coheigea
Date: Thu Oct 22 15:41:19 2026
New Revision: 1094318

Log:
Updating XJC pages

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

Modified: websites/production/cxf/content/cache/main.pageCache
==============================================================================
Binary file (source and/or target). No diff available.

Modified: websites/production/cxf/content/cxf-xjc-plugin.html
==============================================================================
--- websites/production/cxf/content/cxf-xjc-plugin.html Thu Oct 22 15:26:18 
2026        (r1094317)
+++ websites/production/cxf/content/cxf-xjc-plugin.html Thu Oct 22 15:41:19 
2026        (r1094318)
@@ -28,16 +28,6 @@
 <meta name="description" content="Apache CXF, Services Framework - 
cxf-xjc-plugin">
 
 
-<link type="text/css" rel="stylesheet" 
href="/resources/highlighter/styles/shCoreCXF.css">
-<link type="text/css" rel="stylesheet" 
href="/resources/highlighter/styles/shThemeCXF.css">
-
-<script src='/resources/highlighter/scripts/shCore.js'></script>
-<script src='/resources/highlighter/scripts/shBrushXml.js'></script>
-<script src='/resources/highlighter/scripts/shBrushJava.js'></script>
-<script>
-  SyntaxHighlighter.defaults['toolbar'] = false;
-  SyntaxHighlighter.all();
-</script>
 
 
     <title>
@@ -58,7 +48,7 @@ Apache CXF -- cxf-xjc-plugin
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
       <!-- Banner -->
-<div class="banner" id="banner"><div class="table-wrap"><table class="wrapped 
confluenceTable" style="width: 100.0%;" border="0" cellpadding="0" 
cellspacing="0"><colgroup span="1"><col span="1"><col 
span="1"></colgroup><tbody><tr><td align="left" colspan="1" rowspan="1" 
class="confluenceTd" style="border: none;"><a shape="rect" title="Apache CXF" 
href="http://cxf.apache.org/";> <span style="font-weight: bold;font-size: 
170.0%;color: white;">Apache CXF</span> </a></td><td align="right" colspan="1" 
rowspan="1" class="confluenceTd" style="border: none;"><div 
class="content-wrapper"><a shape="rect" class="external-link" 
href="http://www.apache.org/"; title="The Apache Software Foundation"> <span 
class="confluence-embedded-file-wrapper image-right-wrapper 
confluence-embedded-manual-size"><img class="confluence-embedded-image 
confluence-external-resource image-right" draggable="false" alt="The Apache 
Software Foundation" width="214" src="https://apache.org/img/asf_logo.png"; 
data-image-src="
 https://apache.org/img/asf_logo.png";></span> 
</a></div></td></tr></tbody></table></div></div>
+<div class="banner" id="banner"><div class="table-wrap"><table class="wrapped 
confluenceTable" style="width: 100.0%;" border="0" cellpadding="0" 
cellspacing="0"><colgroup span="1"><col span="1"><col 
span="1"></colgroup><tbody><tr><td align="left" colspan="1" rowspan="1" 
class="confluenceTd" style="border: none;"><a shape="rect" 
href="http://cxf.apache.org/"; title="Apache CXF"> <span style="font-weight: 
bold;font-size: 170.0%;color: white;">Apache CXF</span> </a></td><td 
align="right" colspan="1" rowspan="1" class="confluenceTd" style="border: 
none;"><div class="content-wrapper"><a shape="rect" class="external-link" 
href="http://www.apache.org/"; title="The Apache Software Foundation"> <span 
class="confluence-embedded-file-wrapper image-right-wrapper 
confluence-embedded-manual-size"><img class="confluence-embedded-image 
confluence-external-resource image-right" draggable="false" alt="The Apache 
Software Foundation" width="214" src="https://apache.org/img/asf_logo.png"; 
data-image-src="
 https://apache.org/img/asf_logo.png";></span> 
</a></div></td></tr></tbody></table></div></div>
       <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
@@ -95,7 +85,8 @@ Apache CXF -- cxf-xjc-plugin
                 <div id="wrapper-menu-page-bottom">
                   <div id="menu-page">
                     <!-- NavigationBar -->
-<div id="navigation"><h3 id="Navigation-ApacheCXF"><a shape="rect" 
href="index.html">Apache CXF</a></h3><ul class="alternate"><li><a shape="rect" 
href="index.html">Home</a></li><li><a shape="rect" 
href="download.html">Download</a></li><li><a shape="rect" 
href="people.html">People</a></li><li><a shape="rect" 
href="project-status.html">Project Status</a></li><li><a shape="rect" 
href="roadmap.html">Roadmap</a></li><li><a shape="rect" 
href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect" 
class="external-link" href="https://issues.apache.org/jira/browse/CXF";>Issue 
Reporting</a></li><li><a shape="rect" href="special-thanks.html">Special 
Thanks</a></li><li><a shape="rect" class="external-link" 
href="https://www.apache.org/licenses/";>License</a></li><li><a shape="rect" 
href="security-advisories.html">Security Advisories</a></li></ul><h3 
id="Navigation-Users">Users</h3><ul class="alternate"><li><a shape="rect" 
href="https://cxf.apache.org/docs/index.html";>User's Guide</a></li><
 li><a shape="rect" href="support.html">Support</a></li><li><a shape="rect" 
href="faq.html">FAQ</a></li><li><a shape="rect" 
href="resources-and-articles.html">Resources and Articles</a></li></ul><h3 
id="Navigation-Search">Search</h3><iframe frameborder="1" scrolling="auto" 
id="searchId" src="https://cxf.apache.org/resources/search.htm"; 
name="SearchIFrame" width="200px" style="border:none;" title="Search" 
height="60px"><p><br clear="none"></p></iframe>
+<div id="navigation"><h3 id="Navigation-ApacheCXF"><a shape="rect" 
href="index.html">Apache CXF</a></h3><ul class="alternate"><li><a shape="rect" 
href="index.html">Home</a></li><li><a shape="rect" 
href="download.html">Download</a></li><li><a shape="rect" 
href="people.html">People</a></li><li><a shape="rect" 
href="project-status.html">Project Status</a></li><li><a shape="rect" 
href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect" 
class="external-link" href="https://issues.apache.org/jira/browse/CXF";>Issue 
Reporting</a></li><li><a shape="rect" href="special-thanks.html">Special 
Thanks</a></li><li><a shape="rect" class="external-link" 
href="https://www.apache.org/licenses/";>License</a></li><li><a shape="rect" 
href="security-advisories.html">Security Advisories</a></li></ul><h3 
id="Navigation-Users">Users</h3><ul class="alternate"><li><a shape="rect" 
href="https://cxf.apache.org/docs/index.html";>User's Guide</a></li><li><a 
shape="rect" href="support.html">Support</a></li><
 li><a shape="rect" href="faq.html">FAQ</a></li><li><a shape="rect" 
href="resources-and-articles.html">Resources and Articles</a></li></ul><h3 
id="Navigation-Search">Search</h3>    
+<iframe frameborder="1" scrolling="auto" id="searchId" 
src="https://cxf.apache.org/resources/search.htm"; sandbox="sandbox" 
name="SearchIFrame" width="200px" style="border:none;" title="Search" 
height="60px"></iframe>
 
 
 <h3 id="Navigation-Developers">Developers</h3><ul class="alternate"><li><a 
shape="rect" 
href="https://cxf.apache.org/docs/cxf-architecture.html";>Architecture 
Guide</a></li><li><a shape="rect" href="source-repository.html">Source 
Repository</a></li><li><a shape="rect" 
href="building.html">Building</a></li><li><a shape="rect" 
href="automated-builds.html">Automated Builds</a></li><li><a shape="rect" 
href="testing-debugging.html">Testing-Debugging</a></li><li><a shape="rect" 
href="coding-guidelines.html">Coding Guidelines</a></li><li><a shape="rect" 
href="getting-involved.html">Getting Involved</a></li><li><a shape="rect" 
href="release-management.html">Release Management</a></li></ul><h3 
id="Navigation-Subprojects">Subprojects</h3><ul class="alternate"><li><a 
shape="rect" href="distributed-osgi.html">Distributed OSGi</a></li><li><a 
shape="rect" href="xjc-utils.html">XJC Utils</a></li><li><a shape="rect" 
href="build-utils.html">Build Utils</a></li><li><a shape="rect" 
href="fediz.html">Fe
 diz</a></li></ul><h3 id="Navigation-ASF"><a shape="rect" class="external-link" 
href="http://www.apache.org";>ASF</a></h3><ul class="alternate"><li><a 
shape="rect" class="external-link" 
href="https://www.apache.org/foundation/how-it-works.html";>How Apache 
Works</a></li><li><a shape="rect" class="external-link" 
href="https://www.apache.org/foundation/";>Foundation</a></li><li><a 
shape="rect" class="external-link" 
href="https://www.apache.org/foundation/sponsorship.html";>Sponsor 
Apache</a></li><li><a shape="rect" class="external-link" 
href="https://www.apache.org/foundation/thanks.html";>Thanks</a></li><li><a 
shape="rect" class="external-link" 
href="https://www.apache.org/security/";>Security</a></li></ul><p><br 
clear="none"></p><p><a shape="rect" class="external-link" 
href="https://www.apache.org/events/current-event.html";> <span 
class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image 
confluence-external-resource" draggable="false" 
src="https://www.apache.org/events
 /current-event-125x125.png" 
data-image-src="https://www.apache.org/events/current-event-125x125.png";></span>
 </a></p></div>
@@ -108,69 +99,68 @@ Apache CXF -- cxf-xjc-plugin
          <td height="100%">
            <!-- Content -->
            <div class="wiki-content">
-<div id="ConfluenceContent"><h2 id="cxfxjcplugin-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"></colgr
 oup><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>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">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 the 
 "skip" flag set on those namespaces.</p></td></tr></tbody></table></div><h3 
id="cxfxjcplugin-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;3.2.3&lt;/version&gt;
-                &lt;configuration&gt;
-                    &lt;extensions&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;
-                    &lt;execution&gt;
-                        &lt;id&gt;generate-sources&lt;/id&gt;
-                        &lt;phase&gt;generate-sources&lt;/phase&gt;
-                        &lt;goals&gt;
-                            &lt;goal&gt;xsdtojava&lt;/goal&gt;
-                        &lt;/goals&gt;
-                        &lt;configuration&gt;
-                            
&lt;sourceRoot&gt;${basedir}/target/generated/src/main/java&lt;/sourceRoot&gt;
-                            &lt;xsdOptions&gt;
-                                &lt;xsdOption&gt;
-                                    
&lt;xsd&gt;classpath:/schemas/wsdl/http.xsd&lt;/xsd&gt;
-                                    
&lt;bindingFile&gt;classpath:/schemas/wsdl/http.xjb&lt;/bindingFile&gt;
-                                    
&lt;catalog&gt;${basedir}/src/main/build-resources/catalog.cat&lt;/catalog&gt;
-                                &lt;/xsdOption&gt;
-                                &lt;xsdOption&gt;
-                                    
&lt;xsd&gt;classpath:/schemas/wsdl/ws-addr.xsd&lt;/xsd&gt;
-                                    
&lt;packagename&gt;org.apache.cxf.ws.addressing&lt;/packagename&gt;
-                                &lt;/xsdOption&gt;
-                                &lt;xsdOption&gt;
-                                    
&lt;xsd&gt;classpath:/schemas/wsdl/addressing.xsd&lt;/xsd&gt;
-                                    
&lt;bindingFile&gt;classpath:/schemas/wsdl/addressing.xjb&lt;/bindingFile&gt;
-                                &lt;/xsdOption&gt;
-                                &lt;xsdOption&gt;
-                                    
&lt;xsd&gt;classpath:/schemas/configuration/security.xsd&lt;/xsd&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;
-                                &lt;/xsdOption&gt;
-                                &lt;xsdOption&gt;
-                                    
&lt;xsd&gt;classpath:/schemas/wsdl/ws-addr-wsdl.xsd&lt;/xsd&gt;
-                                    
&lt;bindingFile&gt;classpath:/schemas/wsdl/ws-addr-wsdl.xjb&lt;/bindingFile&gt;
-                                    &lt;extension&gt;true&lt;/extension&gt;
-                                &lt;/xsdOption&gt;
-                                &lt;xsdOption&gt;
-                                    
&lt;xsd&gt;classpath:/schemas/wsdl/addressing200403.xsd&lt;/xsd&gt;
-                                    
&lt;bindingFile&gt;classpath:/schemas/wsdl/addressing200403.xjb&lt;/bindingFile&gt;
-                                &lt;/xsdOption&gt;
-                            &lt;/xsdOptions&gt;
-                        &lt;/configuration&gt;
-                    &lt;/execution&gt;
-                &lt;/executions&gt;
-            &lt;/plugin&gt;
-
-</pre>
-</div></div></div>
+<div id="ConfluenceContent"><h1 id="cxfxjcplugin-TheCXFXJCMavenPlugin">The CXF 
XJC Maven Plugin</h1><p>The CXF XJC Maven Plugin is a wrapper around the JAXB 
XJC tool to handle the XSD -&gt; Java tasks. It is part of <a shape="rect" 
class="external-link" href="https://github.com/apache/cxf-xjc-utils"; 
rel="nofollow">Apache CXF XJC Utils</a>, which also provides a set of XJC 
extensions (see below).</p><h2 id="cxfxjcplugin-Versions">Versions</h2><p>CXF 
XJC Utils is released independently of Apache CXF, and its version numbers do 
not follow CXF releases. Use the latest release in the same major line as your 
CXF version:</p><div class="table-wrap"><table class="confluenceTable"><thead 
class=""><tr><th colspan="1" rowspan="1" class="confluenceTh">CXF 
version</th><th colspan="1" rowspan="1" class="confluenceTh">XJC Utils 
line</th><th colspan="1" rowspan="1" class="confluenceTh">XML Binding 
API</th></tr></thead><tbody class=""><tr class=""><td colspan="1" rowspan="1" 
class="confluenceTd">4.x
 </td><td colspan="1" rowspan="1" class="confluenceTd">4.x</td><td colspan="1" 
rowspan="1" class="confluenceTd">Jakarta 
(<code>jakarta.xml.bind</code>)</td></tr><tr class=""><td colspan="1" 
rowspan="1" class="confluenceTd">3.x</td><td colspan="1" rowspan="1" 
class="confluenceTd">3.x</td><td colspan="1" rowspan="1" 
class="confluenceTd"><code>javax.xml.bind</code></td></tr></tbody></table></div><p>The
 current release is 4.2.0. All versions are listed on <a shape="rect" 
class="external-link" 
href="https://central.sonatype.com/artifact/org.apache.cxf/cxf-xjc-plugin/versions";
 rel="nofollow">Maven Central</a>.</p><p>The plugin and the extensions use 
different groupIds:</p><div class="table-wrap"><table 
class="confluenceTable"><thead class=""><tr><th colspan="1" rowspan="1" 
class="confluenceTh">Artifact</th><th colspan="1" rowspan="1" 
class="confluenceTh">Coordinates</th></tr></thead><tbody class=""><tr 
class=""><td colspan="1" rowspan="1" class="confluenceTd">Maven plugin</td><td 
colspan="
 1" rowspan="1" 
class="confluenceTd"><code>org.apache.cxf:cxf-xjc-plugin</code></td></tr><tr 
class=""><td colspan="1" rowspan="1" class="confluenceTd">XJC 
extensions</td><td colspan="1" rowspan="1" 
class="confluenceTd"><code>org.apache.cxf.xjcplugins:cxf-xjc-*</code></td></tr><tr
 class=""><td colspan="1" rowspan="1" class="confluenceTd">Runtime 
support</td><td colspan="1" rowspan="1" 
class="confluenceTd"><code>org.apache.cxf.xjc-utils:cxf-xjc-runtime</code></td></tr></tbody></table></div><h2
 id="cxfxjcplugin-Goals">Goals</h2><div class="table-wrap"><table 
class="confluenceTable"><thead class=""><tr><th colspan="1" rowspan="1" 
class="confluenceTh">Goal</th><th colspan="1" rowspan="1" 
class="confluenceTh">Description</th></tr></thead><tbody class=""><tr 
class=""><td colspan="1" rowspan="1" 
class="confluenceTd"><code>xsdtojava</code></td><td colspan="1" rowspan="1" 
class="confluenceTd">Defaults into the generate-sources phase and outputs to 
<code>${project.build.directory}/generated/src
 /main/java</code></td></tr><tr class=""><td colspan="1" rowspan="1" 
class="confluenceTd"><code>xsdtojava-tests</code></td><td colspan="1" 
rowspan="1" class="confluenceTd">Defaults into the generate-test-sources phase 
and outputs to 
<code>${project.build.directory}/generated/src/test/java</code></td></tr></tbody></table></div><h2
 id="cxfxjcplugin-Parameters">Parameters</h2><div class="table-wrap"><table 
class="confluenceTable"><thead class=""><tr><th colspan="1" rowspan="1" 
class="confluenceTh">Parameter</th><th colspan="1" rowspan="1" 
class="confluenceTh">Description</th></tr></thead><tbody class=""><tr 
class=""><td colspan="1" rowspan="1" 
class="confluenceTd"><code>extensions</code></td><td colspan="1" rowspan="1" 
class="confluenceTd">List of Maven artifacts to add to the extension classpath. 
Each item in the list is a string of 
<code>groupId:artifactId:version</code>.</td></tr><tr class=""><td colspan="1" 
rowspan="1" class="confluenceTd"><code>xsdOptions</code></td><td colspan="1"
  rowspan="1" class="confluenceTd">List of XsdOption objects. See 
below.</td></tr><tr class=""><td colspan="1" rowspan="1" 
class="confluenceTd"><code>sourceRoot</code> / 
<code>testSourceRoot</code></td><td colspan="1" rowspan="1" 
class="confluenceTd">For the two goals above, override the default output 
directory.</td></tr><tr class=""><td colspan="1" rowspan="1" 
class="confluenceTd"><code>encoding</code></td><td colspan="1" rowspan="1" 
class="confluenceTd">Encoding of the generated source files, passed to XJC as 
<code>-encoding</code>. Defaults to 
<code>${project.build.sourceEncoding}</code>.</td></tr><tr class=""><td 
colspan="1" rowspan="1" class="confluenceTd"><code>fork</code></td><td 
colspan="1" rowspan="1" class="confluenceTd">(boolean) Run XJC in a separate 
process. Defaults to <code>false</code>.</td></tr><tr class=""><td colspan="1" 
rowspan="1" class="confluenceTd"><code>javaExecutable</code></td><td 
colspan="1" rowspan="1" class="confluenceTd">The Java executable to use when
  <code>fork</code> is <code>true</code>. Defaults to 
<code>${java.home}/bin/java</code>.</td></tr><tr class=""><td colspan="1" 
rowspan="1" class="confluenceTd"><code>additionalJvmArgs</code></td><td 
colspan="1" rowspan="1" class="confluenceTd">JVM arguments (e.g. 
<code>-Xmx512m</code>) used when <code>fork</code> is <code>true</code>. 
Property: <code>cxf.xjc.jvmArgs</code>.</td></tr><tr class=""><td colspan="1" 
rowspan="1" class="confluenceTd"><code>markerDirectory</code></td><td 
colspan="1" rowspan="1" class="confluenceTd">Directory where the plugin stores 
the marker files it uses to decide whether code needs regenerating. Defaults to 
<code>${project.build.directory}/cxf-xsd-plugin-markers</code>. Property: 
<code>cxf.markerDirectory</code>.</td></tr></tbody></table></div><h2 
id="cxfxjcplugin-XsdOption">XsdOption</h2><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="confluenc
 eTable"><thead class=""><tr><th colspan="1" rowspan="1" 
class="confluenceTh">Option</th><th colspan="1" rowspan="1" 
class="confluenceTh">Description</th></tr></thead><tbody class=""><tr 
class=""><td colspan="1" rowspan="1" 
class="confluenceTd"><code>xsd</code></td><td colspan="1" rowspan="1" 
class="confluenceTd">The location of the schema to process.</td></tr><tr 
class=""><td colspan="1" rowspan="1" 
class="confluenceTd"><code>xsdDir</code></td><td colspan="1" rowspan="1" 
class="confluenceTd">A directory of schemas to process. Every 
<code>*.xsd</code> file in it is processed. If set, it is used instead of 
<code>xsd</code>.</td></tr><tr class=""><td colspan="1" rowspan="1" 
class="confluenceTd"><code>bindingFile</code></td><td colspan="1" rowspan="1" 
class="confluenceTd">The location of the JAXB binding file to customize the 
output.</td></tr><tr class=""><td colspan="1" rowspan="1" 
class="confluenceTd"><code>bindingFiles</code></td><td colspan="1" rowspan="1" 
class="confluenceTd">A lis
 t of <code>bindingFile</code> entries, for when more than one binding file is 
needed (since 3.2.3).</td></tr><tr class=""><td colspan="1" rowspan="1" 
class="confluenceTd"><code>packagename</code></td><td colspan="1" rowspan="1" 
class="confluenceTd">Specifies the package name to use for the generated 
code.</td></tr><tr class=""><td colspan="1" rowspan="1" 
class="confluenceTd"><code>extension</code></td><td colspan="1" rowspan="1" 
class="confluenceTd">(boolean) Passes <code>-extension</code> to XJC, which 
enables vendor extensions and binding customizations that go beyond the JAXB 
specification.</td></tr><tr class=""><td colspan="1" rowspan="1" 
class="confluenceTd"><code>catalog</code></td><td colspan="1" rowspan="1" 
class="confluenceTd">The location of a catalog file for mapping schema 
locations.</td></tr><tr class=""><td colspan="1" rowspan="1" 
class="confluenceTd"><code>extensionArgs</code></td><td colspan="1" rowspan="1" 
class="confluenceTd">List of additional arguments passed to 
 XJC, e.g. <code>-Xlocator</code>, or <code>-Xdv</code> to activate one of the 
extensions below.</td></tr><tr class=""><td colspan="1" rowspan="1" 
class="confluenceTd"><code>dependencies</code></td><td colspan="1" rowspan="1" 
class="confluenceTd">List of files that are examined to determine if subsequent 
runs of the plugin must re-generate code.</td></tr><tr class=""><td colspan="1" 
rowspan="1" class="confluenceTd"><code>deleteDirs</code></td><td colspan="1" 
rowspan="1" class="confluenceTd">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 use this to have it 
removed. The preferred method, however, is a binding file with the "skip" flag 
set on those namespaces.</td></tr></tbody></table></div><h2 
id="cxfxjcplugin-XJCExtensions">XJC Extensions</h2><p>To use an extension, add 
its coordinates to <code>extensions</code> and its switch to 
<code>extensionArgs</code>. Al
 l extensions are in the <code>org.apache.cxf.xjcplugins</code> group.</p><div 
class="table-wrap"><table class="confluenceTable"><thead class=""><tr><th 
colspan="1" rowspan="1" class="confluenceTh">Artifact</th><th colspan="1" 
rowspan="1" class="confluenceTh">Switch</th><th colspan="1" rowspan="1" 
class="confluenceTh">Description</th></tr></thead><tbody class=""><tr 
class=""><td colspan="1" rowspan="1" 
class="confluenceTd"><code>cxf-xjc-dv</code></td><td colspan="1" rowspan="1" 
class="confluenceTd"><code>-Xdv</code>, <code>-Xdv:optional</code></td><td 
colspan="1" rowspan="1" class="confluenceTd">Initializes fields mapped from 
elements with their schema default values</td></tr><tr class=""><td colspan="1" 
rowspan="1" class="confluenceTd"><code>cxf-xjc-ts</code></td><td colspan="1" 
rowspan="1" class="confluenceTd"><code>-Xts</code></td><td colspan="1" 
rowspan="1" class="confluenceTd">Adds a <code>toString()</code> method to 
generated classes (requires <code>cxf-xjc-runtime</code> at ru
 ntime). Note that this prints every field, including sensitive data such as 
passwords or tokens.</td></tr><tr class=""><td colspan="1" rowspan="1" 
class="confluenceTd"><code>cxf-xjc-boolean</code></td><td colspan="1" 
rowspan="1" class="confluenceTd"><code>-Xbg</code>, <code>-Xbgi</code></td><td 
colspan="1" rowspan="1" class="confluenceTd">Generates <code>getXXX()</code> 
instead of <code>isXXX()</code> for <code>Boolean</code> properties, or 
both</td></tr><tr class=""><td colspan="1" rowspan="1" 
class="confluenceTd"><code>cxf-xjc-javadoc</code></td><td colspan="1" 
rowspan="1" class="confluenceTd"><code>-Xjavadoc</code></td><td colspan="1" 
rowspan="1" class="confluenceTd">Generates Javadoc from 
<code>xsd:documentation</code></td></tr><tr class=""><td colspan="1" 
rowspan="1" class="confluenceTd"><code>cxf-xjc-pl</code></td><td colspan="1" 
rowspan="1" class="confluenceTd"><code>-Xproperty-listener</code></td><td 
colspan="1" rowspan="1" class="confluenceTd">Adds a <code>PropertyChangeLis
 tener</code> to all set methods</td></tr><tr class=""><td colspan="1" 
rowspan="1" class="confluenceTd"><code>cxf-xjc-wsdlextension</code></td><td 
colspan="1" rowspan="1" 
class="confluenceTd"><code>-Xwsdlextension</code></td><td colspan="1" 
rowspan="1" class="confluenceTd">Adds WSDL extension methods to generated root 
classes</td></tr><tr class=""><td colspan="1" rowspan="1" 
class="confluenceTd"><code>cxf-xjc-bug671</code></td><td colspan="1" 
rowspan="1" class="confluenceTd"><code>-Xbug671</code></td><td colspan="1" 
rowspan="1" class="confluenceTd">Maps package names that contain Java 
keywords</td></tr><tr class=""><td colspan="1" rowspan="1" 
class="confluenceTd"><code>cxf-xjc-bug986</code></td><td colspan="1" 
rowspan="1" class="confluenceTd"><code>-Xbug986</code></td><td colspan="1" 
rowspan="1" class="confluenceTd">Removes 
<code>@XmlSchemaType(anySimpleType)</code> from fields that should not have 
it</td></tr></tbody></table></div><p>The same extensions can be used with the 
<code>cx
 f-codegen-plugin</code> (WSDL to Java). Add the artifact as a plugin 
dependency and pass the switch prefixed with <code>-xjc</code>, e.g. 
<code>-xjc-Xdv</code>.</p><h2 id="cxfxjcplugin-Example">Example</h2><pre 
class="xml"><code>&lt;properties&gt;
+    &lt;cxf-xjc-utils.version&gt;4.2.0&lt;/cxf-xjc-utils.version&gt;
+&lt;/properties&gt;
+...
+&lt;plugin&gt;
+    &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
+    &lt;artifactId&gt;cxf-xjc-plugin&lt;/artifactId&gt;
+    &lt;version&gt;${cxf-xjc-utils.version}&lt;/version&gt;
+    &lt;configuration&gt;
+        &lt;extensions&gt;
+            
&lt;extension&gt;org.apache.cxf.xjcplugins:cxf-xjc-dv:${cxf-xjc-utils.version}&lt;/extension&gt;
+        &lt;/extensions&gt;
+    &lt;/configuration&gt;
+    &lt;executions&gt;
+        &lt;execution&gt;
+            &lt;id&gt;generate-sources&lt;/id&gt;
+            &lt;phase&gt;generate-sources&lt;/phase&gt;
+            &lt;goals&gt;
+                &lt;goal&gt;xsdtojava&lt;/goal&gt;
+            &lt;/goals&gt;
+            &lt;configuration&gt;
+                
&lt;sourceRoot&gt;${basedir}/target/generated/src/main/java&lt;/sourceRoot&gt;
+                &lt;xsdOptions&gt;
+                    &lt;xsdOption&gt;
+                        &lt;xsd&gt;classpath:/schemas/wsdl/http.xsd&lt;/xsd&gt;
+                        
&lt;bindingFile&gt;classpath:/schemas/wsdl/http.xjb&lt;/bindingFile&gt;
+                        
&lt;catalog&gt;${basedir}/src/main/build-resources/catalog.cat&lt;/catalog&gt;
+                    &lt;/xsdOption&gt;
+                    &lt;xsdOption&gt;
+                        
&lt;xsd&gt;classpath:/schemas/wsdl/ws-addr.xsd&lt;/xsd&gt;
+                        
&lt;packagename&gt;org.apache.cxf.ws.addressing&lt;/packagename&gt;
+                    &lt;/xsdOption&gt;
+                    &lt;xsdOption&gt;
+                        
&lt;xsd&gt;classpath:/schemas/wsdl/addressing.xsd&lt;/xsd&gt;
+                        
&lt;bindingFile&gt;classpath:/schemas/wsdl/addressing.xjb&lt;/bindingFile&gt;
+                    &lt;/xsdOption&gt;
+                    &lt;xsdOption&gt;
+                        
&lt;xsd&gt;classpath:/schemas/configuration/security.xsd&lt;/xsd&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;
+                        
&lt;catalog&gt;${basedir}/src/main/build-resources/catalog.cat&lt;/catalog&gt;
+                        &lt;extension&gt;true&lt;/extension&gt;
+                        &lt;extensionArgs&gt;
+                            &lt;extensionArg&gt;-Xdv&lt;/extensionArg&gt;
+                        &lt;/extensionArgs&gt;
+                    &lt;/xsdOption&gt;
+                    &lt;xsdOption&gt;
+                        
&lt;xsd&gt;classpath:/schemas/wsdl/ws-addr-wsdl.xsd&lt;/xsd&gt;
+                        
&lt;bindingFile&gt;classpath:/schemas/wsdl/ws-addr-wsdl.xjb&lt;/bindingFile&gt;
+                        &lt;extension&gt;true&lt;/extension&gt;
+                    &lt;/xsdOption&gt;
+                    &lt;xsdOption&gt;
+                        
&lt;xsd&gt;classpath:/schemas/wsdl/addressing200403.xsd&lt;/xsd&gt;
+                        
&lt;bindingFile&gt;classpath:/schemas/wsdl/addressing200403.xjb&lt;/bindingFile&gt;
+                    &lt;/xsdOption&gt;
+                &lt;/xsdOptions&gt;
+            &lt;/configuration&gt;
+        &lt;/execution&gt;
+    &lt;/executions&gt;
+&lt;/plugin&gt;<br clear="none"><br clear="none"></code></pre></div>
            </div>
            <!-- Content -->
          </td>
@@ -186,7 +176,7 @@ Apache CXF -- cxf-xjc-plugin
      <div id="footer">
        <!-- Footer -->
        <div id="site-footer">
-         <a 
href="https://privacy.apache.org/policies/privacy-policy-public.html";>Privacy 
Policy</a> - 
+         <a href="http://cxf.apache.org/privacy-policy.html";>Privacy 
Policy</a> - 
          (<a 
href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=24184060";>edit
 page</a>) 
         (<a 
href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=24184060&amp;showComments=true&amp;showCommentArea=true#addcomment";>add
 comment</a>)<br>
        Apache CXF, CXF, Apache, the Apache feather logo are trademarks of The 
Apache Software Foundation.<br>
@@ -205,6 +195,15 @@ Apache CXF -- cxf-xjc-plugin
   </tr>
 </table>
 
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl."; : 
"http://www.";);
+document.write(unescape("%3Cscript src='" + gaJsHost + 
"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-4458903-1");
+pageTracker._trackPageview();
+} catch(err) {}</script>
 
 </body>
 </html>

Modified: websites/production/cxf/content/xjc-utils.html
==============================================================================
--- websites/production/cxf/content/xjc-utils.html      Thu Oct 22 15:26:18 
2026        (r1094317)
+++ websites/production/cxf/content/xjc-utils.html      Thu Oct 22 15:41:19 
2026        (r1094318)
@@ -33,6 +33,7 @@
 
 <script src='/resources/highlighter/scripts/shCore.js'></script>
 <script src='/resources/highlighter/scripts/shBrushBash.js'></script>
+<script src='/resources/highlighter/scripts/shBrushXml.js'></script>
 <script src='/resources/highlighter/scripts/shBrushJava.js'></script>
 <script>
   SyntaxHighlighter.defaults['toolbar'] = false;
@@ -58,7 +59,7 @@ Apache CXF -- XJC Utils
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
       <!-- Banner -->
-<div class="banner" id="banner"><div class="table-wrap"><table class="wrapped 
confluenceTable" style="width: 100.0%;" border="0" cellpadding="0" 
cellspacing="0"><colgroup span="1"><col span="1"><col 
span="1"></colgroup><tbody><tr><td align="left" colspan="1" rowspan="1" 
class="confluenceTd" style="border: none;"><a shape="rect" title="Apache CXF" 
href="http://cxf.apache.org/";> <span style="font-weight: bold;font-size: 
170.0%;color: white;">Apache CXF</span> </a></td><td align="right" colspan="1" 
rowspan="1" class="confluenceTd" style="border: none;"><div 
class="content-wrapper"><a shape="rect" class="external-link" 
href="http://www.apache.org/"; title="The Apache Software Foundation"> <span 
class="confluence-embedded-file-wrapper image-right-wrapper 
confluence-embedded-manual-size"><img class="confluence-embedded-image 
confluence-external-resource image-right" draggable="false" alt="The Apache 
Software Foundation" width="214" src="https://apache.org/img/asf_logo.png"; 
data-image-src="
 https://apache.org/img/asf_logo.png";></span> 
</a></div></td></tr></tbody></table></div></div>
+<div class="banner" id="banner"><div class="table-wrap"><table class="wrapped 
confluenceTable" style="width: 100.0%;" border="0" cellpadding="0" 
cellspacing="0"><colgroup span="1"><col span="1"><col 
span="1"></colgroup><tbody><tr><td align="left" colspan="1" rowspan="1" 
class="confluenceTd" style="border: none;"><a shape="rect" 
href="http://cxf.apache.org/"; title="Apache CXF"> <span style="font-weight: 
bold;font-size: 170.0%;color: white;">Apache CXF</span> </a></td><td 
align="right" colspan="1" rowspan="1" class="confluenceTd" style="border: 
none;"><div class="content-wrapper"><a shape="rect" class="external-link" 
href="http://www.apache.org/"; title="The Apache Software Foundation"> <span 
class="confluence-embedded-file-wrapper image-right-wrapper 
confluence-embedded-manual-size"><img class="confluence-embedded-image 
confluence-external-resource image-right" draggable="false" alt="The Apache 
Software Foundation" width="214" src="https://apache.org/img/asf_logo.png"; 
data-image-src="
 https://apache.org/img/asf_logo.png";></span> 
</a></div></td></tr></tbody></table></div></div>
       <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
@@ -95,7 +96,8 @@ Apache CXF -- XJC Utils
                 <div id="wrapper-menu-page-bottom">
                   <div id="menu-page">
                     <!-- NavigationBar -->
-<div id="navigation"><h3 id="Navigation-ApacheCXF"><a shape="rect" 
href="index.html">Apache CXF</a></h3><ul class="alternate"><li><a shape="rect" 
href="index.html">Home</a></li><li><a shape="rect" 
href="download.html">Download</a></li><li><a shape="rect" 
href="people.html">People</a></li><li><a shape="rect" 
href="project-status.html">Project Status</a></li><li><a shape="rect" 
href="roadmap.html">Roadmap</a></li><li><a shape="rect" 
href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect" 
class="external-link" href="https://issues.apache.org/jira/browse/CXF";>Issue 
Reporting</a></li><li><a shape="rect" href="special-thanks.html">Special 
Thanks</a></li><li><a shape="rect" class="external-link" 
href="https://www.apache.org/licenses/";>License</a></li><li><a shape="rect" 
href="security-advisories.html">Security Advisories</a></li></ul><h3 
id="Navigation-Users">Users</h3><ul class="alternate"><li><a shape="rect" 
href="https://cxf.apache.org/docs/index.html";>User's Guide</a></li><
 li><a shape="rect" href="support.html">Support</a></li><li><a shape="rect" 
href="faq.html">FAQ</a></li><li><a shape="rect" 
href="resources-and-articles.html">Resources and Articles</a></li></ul><h3 
id="Navigation-Search">Search</h3><iframe frameborder="1" scrolling="auto" 
id="searchId" src="https://cxf.apache.org/resources/search.htm"; 
name="SearchIFrame" width="200px" style="border:none;" title="Search" 
height="60px"><p><br clear="none"></p></iframe>
+<div id="navigation"><h3 id="Navigation-ApacheCXF"><a shape="rect" 
href="index.html">Apache CXF</a></h3><ul class="alternate"><li><a shape="rect" 
href="index.html">Home</a></li><li><a shape="rect" 
href="download.html">Download</a></li><li><a shape="rect" 
href="people.html">People</a></li><li><a shape="rect" 
href="project-status.html">Project Status</a></li><li><a shape="rect" 
href="mailing-lists.html">Mailing Lists</a></li><li><a shape="rect" 
class="external-link" href="https://issues.apache.org/jira/browse/CXF";>Issue 
Reporting</a></li><li><a shape="rect" href="special-thanks.html">Special 
Thanks</a></li><li><a shape="rect" class="external-link" 
href="https://www.apache.org/licenses/";>License</a></li><li><a shape="rect" 
href="security-advisories.html">Security Advisories</a></li></ul><h3 
id="Navigation-Users">Users</h3><ul class="alternate"><li><a shape="rect" 
href="https://cxf.apache.org/docs/index.html";>User's Guide</a></li><li><a 
shape="rect" href="support.html">Support</a></li><
 li><a shape="rect" href="faq.html">FAQ</a></li><li><a shape="rect" 
href="resources-and-articles.html">Resources and Articles</a></li></ul><h3 
id="Navigation-Search">Search</h3>    
+<iframe frameborder="1" scrolling="auto" id="searchId" 
src="https://cxf.apache.org/resources/search.htm"; sandbox="sandbox" 
name="SearchIFrame" width="200px" style="border:none;" title="Search" 
height="60px"></iframe>
 
 
 <h3 id="Navigation-Developers">Developers</h3><ul class="alternate"><li><a 
shape="rect" 
href="https://cxf.apache.org/docs/cxf-architecture.html";>Architecture 
Guide</a></li><li><a shape="rect" href="source-repository.html">Source 
Repository</a></li><li><a shape="rect" 
href="building.html">Building</a></li><li><a shape="rect" 
href="automated-builds.html">Automated Builds</a></li><li><a shape="rect" 
href="testing-debugging.html">Testing-Debugging</a></li><li><a shape="rect" 
href="coding-guidelines.html">Coding Guidelines</a></li><li><a shape="rect" 
href="getting-involved.html">Getting Involved</a></li><li><a shape="rect" 
href="release-management.html">Release Management</a></li></ul><h3 
id="Navigation-Subprojects">Subprojects</h3><ul class="alternate"><li><a 
shape="rect" href="distributed-osgi.html">Distributed OSGi</a></li><li><a 
shape="rect" href="xjc-utils.html">XJC Utils</a></li><li><a shape="rect" 
href="build-utils.html">Build Utils</a></li><li><a shape="rect" 
href="fediz.html">Fe
 diz</a></li></ul><h3 id="Navigation-ASF"><a shape="rect" class="external-link" 
href="http://www.apache.org";>ASF</a></h3><ul class="alternate"><li><a 
shape="rect" class="external-link" 
href="https://www.apache.org/foundation/how-it-works.html";>How Apache 
Works</a></li><li><a shape="rect" class="external-link" 
href="https://www.apache.org/foundation/";>Foundation</a></li><li><a 
shape="rect" class="external-link" 
href="https://www.apache.org/foundation/sponsorship.html";>Sponsor 
Apache</a></li><li><a shape="rect" class="external-link" 
href="https://www.apache.org/foundation/thanks.html";>Thanks</a></li><li><a 
shape="rect" class="external-link" 
href="https://www.apache.org/security/";>Security</a></li></ul><p><br 
clear="none"></p><p><a shape="rect" class="external-link" 
href="https://www.apache.org/events/current-event.html";> <span 
class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image 
confluence-external-resource" draggable="false" 
src="https://www.apache.org/events
 /current-event-125x125.png" 
data-image-src="https://www.apache.org/events/current-event-125x125.png";></span>
 </a></p></div>
@@ -108,13 +110,27 @@ Apache CXF -- XJC Utils
          <td height="100%">
            <!-- Content -->
            <div class="wiki-content">
-<div id="ConfluenceContent"><p>The Apache CXF XJC-Utils subproject provides a 
bunch of utilities for working with JAXB to generate better or more usable 
code.</p><p>Currently, it consists of the following modules:</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><a shape="rect" 
href="cxf-xjc-plugin.html">cxf-xjc-plugin</a></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Provides a maven wrapper around the JAXB 
XJC utility</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><a shape="rect" 
href="cxf-xjc-dv.html">cxf-xjc-dv</a></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Initialize fields mapped from elements/attributes with 
their default values</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><a shape="rect" 
href="cxf-xjc-ts.html">cxf-xjc-ts</a></p></td><td colspan="1" rowspan="1" 
class="conf
 luenceTd"><p>Implements the toString() method</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><a shape="rect" 
href="cxf-xjc-boolean.html">cxf-xjc-boolean</a></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Generate getters named getXXX() for 
Booleans instead of isXXX()</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><a shape="rect" 
href="cxf-xjc-wsdlextension.html">cxf-xjc-wsdlextension</a></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Adds extensions methods to 
allow generated beans to be used as WSDL4J extensors</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" 
href="cxf-xjc-bug671.html">cxf-xjc-bug671</a></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Provides a workaround for</p><a 
shape="rect" class="external-link" 
href="https://jaxb.dev.java.net/issues/show_bug.cgi?id=671"; 
rel="nofollow">https://jaxb.dev.java.net/issues/show_bug.cgi?id=671</a><p>- Not 
needed for 
 JAXB &gt;=2.1.12</p></td></tr></tbody></table></div><div 
class="confluence-information-macro 
confluence-information-macro-information"><span class="aui-icon aui-icon-small 
aui-iconfont-info confluence-information-macro-icon"></span><div 
class="confluence-information-macro-body"><p>In CXF versions prior to 2.3.0, 
the xjc plugins were shaded directly into the big cxf bundle jar. In 2.3.0, 
they were removed from the jar and are placed individually into the lib 
directory of the distribution. The xjc plugins are only code generation 
utilities and not used at all at runtime which is why they were pulled 
out.</p></div></div><p>The source code can be checked out anonymously over HTTP 
by doing:</p><div class="code panel pdl" style="border-width: 1px;"><div 
class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default">git clone 
https://github.com/apache/cxf-xjc-utils.git
+<div id="ConfluenceContent"><h1 id="XJCUtils-XJCUtils">XJC Utils</h1><p>The 
Apache CXF XJC-Utils subproject provides a collection of XJC (JAXB XML-to-Java 
compiler) plugins and utilities for generating better or more usable code. The 
extensions augment CXF's code-generation pipeline when compiling XML Schemas 
and WSDL files into Java.</p><h2 id="XJCUtils-Modules">Modules</h2><div 
class="table-wrap"><table class="wrapped confluenceTable"><tbody><tr><th 
colspan="1" rowspan="1" class="confluenceTh"><p>Module</p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Artifact</p></th><th colspan="1" 
rowspan="1" class="confluenceTh"><p>Option</p></th><th colspan="1" rowspan="1" 
class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code><a shape="rect" 
href="cxf-xjc-plugin.html">cxf-xjc-plugin</a></code></p></td><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>org.apache.cxf:cxf-xjc-plugin</code></p></td><td 
colspan="1" rowspan
 ="1" class="confluenceTd"><p>Maven goals <code>xsdtojava</code> / 
<code>xsdtojava-tests</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Maven plugin that runs XJC on standalone XML Schemas, 
optionally with the extensions below.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code><a shape="rect" 
href="cxf-xjc-dv.html">cxf-xjc-dv</a></code></p></td><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>org.apache.cxf.xjcplugins:cxf-xjc-dv</code></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p><code>-Xdv</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Initializes fields mapped from 
elements with their schema default values.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code><a shape="rect" 
href="cxf-xjc-ts.html">cxf-xjc-ts</a></code></p></td><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>org.apache.cxf.xjcplugins:cxf-xjc-ts</code></p></td><td
 colspan="1" rowspan="1" class="con
 fluenceTd"><p><code>-Xts</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p>Adds a <code>toString()</code> method to generated 
classes that prints the value of every field (using 
<code>cxf-xjc-runtime</code> at runtime). This includes any sensitive data, 
such as passwords or tokens, so take care when logging generated 
objects.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code><a shape="rect" 
href="cxf-xjc-boolean.html">cxf-xjc-boolean</a></code></p></td><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>org.apache.cxf.xjcplugins:cxf-xjc-boolean</code></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p><code>-Xbg</code> / 
<code>-Xbgi</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>-Xbg</code> generates <code>getXXX()</code> 
instead of <code>isXXX()</code> for <code>Boolean</code> properties; 
<code>-Xbgi</code> generates both.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>cxf
 -xjc-javadoc</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>org.apache.cxf.xjcplugins:cxf-xjc-javadoc</code></p></td><td
 colspan="1" rowspan="1" 
class="confluenceTd"><p><code>-Xjavadoc</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Generates Javadoc from 
<code>xsd:documentation</code>.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>cxf-xjc-pl</code></p></td><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>org.apache.cxf.xjcplugins:cxf-xjc-pl</code></p></td><td
 colspan="1" rowspan="1" 
class="confluenceTd"><p><code>-Xproperty-listener</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Adds a 
<code>PropertyChangeListener</code> to all set methods.</p></td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code><a shape="rect" 
href="cxf-xjc-wsdlextension.html">cxf-xjc-wsdlextension</a></code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p><code>org.apache.cxf.xjcplu
 gins:cxf-xjc-wsdlextension</code></p></td><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>-Xwsdlextension</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Adds WSDL extension methods so generated 
beans can be used as WSDL4J extensors.</p></td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"><p><code><a shape="rect" 
href="cxf-xjc-bug671.html">cxf-xjc-bug671</a></code></p></td><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>org.apache.cxf.xjcplugins:cxf-xjc-bug671</code></p></td><td
 colspan="1" rowspan="1" 
class="confluenceTd"><p><code>-Xbug671</code></p></td><td colspan="1" 
rowspan="1" class="confluenceTd"><p>Maps package names that contain Java 
keywords. (Originally a workaround for the legacy JAXB issue 
671.)</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>cxf-xjc-bug986</code></p></td><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>org.apache.cxf.xjcplugins:cxf-xjc-bug986</code></p></td><td
 colspan
 ="1" rowspan="1" class="confluenceTd"><p><code>-Xbug986</code></p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Removes 
<code>@XmlSchemaType(anySimpleType)</code> from fields that should not have 
it.</p></td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><p><code>cxf-xjc-runtime</code></p></td><td colspan="1" 
rowspan="1" 
class="confluenceTd"><p><code>org.apache.cxf.xjc-utils:cxf-xjc-runtime</code></p></td><td
 colspan="1" rowspan="1" class="confluenceTd"><p>(support library)</p></td><td 
colspan="1" rowspan="1" class="confluenceTd"><p>Runtime support classes used by 
code generated with some of the plugins (e.g. 
<code>-Xts</code>).</p></td></tr></tbody></table></div><p>Note that the 
artifacts use different groupIds: the Maven plugin is 
<code>org.apache.cxf:cxf-xjc-plugin</code>, while the XJC extensions are under 
<code>org.apache.cxf.xjcplugins</code>. When searching Maven Central, search by 
artifactId (e.g. <code>cxf-xjc-dv</code>) rather than by a single groupId
 .</p><p>With the exception of <code>cxf-xjc-runtime</code>, the XJC plugins 
are code-generation utilities only and are not used at runtime.</p><h2 
id="XJCUtils-Versioning">Versioning</h2><p>CXF XJC Utils is released 
independently of Apache CXF, and its version numbers do <strong>not</strong> 
track CXF releases. Use the latest XJC Utils release from the same major line 
as your CXF version (4.x for CXF 4.x, which uses Jakarta XML Binding; 3.x for 
CXF 3.x, which uses <code>javax.xml.bind</code>). Available versions are listed 
on Maven Central.</p><h2 
id="XJCUtils-Requirements">Requirements</h2><ul><li>Java 17+</li><li>Maven 
3.6.3+</li><li>Apache CXF 4.x (for the matching release line)</li></ul><h2 
id="XJCUtils-Usage">Usage</h2><p>With <code>cxf-codegen-plugin</code> (WSDL to 
Java), add the desired extension as a dependency of the 
<code>cxf-codegen-plugin</code> Maven plugin and activate it with an extraarg 
of the form <code>-xjc-X&lt;id&gt;</code>:</p><div class="code panel pdl" style=
 "border-width: 1px;"><div class="codeContent panelContent pdl">
+<pre class="brush: java; gutter: false">&lt;configuration&gt;
+  &lt;defaultOptions&gt;
+    &lt;extraargs&gt;
+      &lt;extraarg&gt;-xjc-Xdv&lt;/extraarg&gt;
+    &lt;/extraargs&gt;
+  &lt;/defaultOptions&gt;
+&lt;/configuration&gt;
 </pre>
-</div></div><p>or</p><div class="code panel pdl" style="border-width: 
1px;"><div class="codeContent panelContent pdl">
-<pre class="brush: java; gutter: false; theme: Default">git clone 
https://gitbox.apache.org/repos/asf/cxf-xjc-utils.git
+</div></div><p>With <code>cxf-xjc-plugin</code> (XML Schema to Java), list the 
extension under <code>&lt;extensions&gt;</code> and pass its flag under 
<code>&lt;extensionArgs&gt;</code>:</p><div class="code panel pdl" 
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<pre class="brush: java; gutter: false">&lt;extensionArgs&gt;
+  &lt;arg&gt;-Xdv&lt;/arg&gt;
+&lt;/extensionArgs&gt;
+&lt;extensions&gt;
+  
&lt;extension&gt;org.apache.cxf.xjcplugins:cxf-xjc-dv:${cxf-xjc-utils.version}&lt;/extension&gt;
+&lt;/extensions&gt;
 </pre>
-</div></div><p>Building is similar to the <a shape="rect" 
href="building.html">build</a> instructions for the main CXF project.</p></div>
+</div></div><h2 id="XJCUtils-Source">Source</h2><p>The source code is at <a 
shape="rect" class="external-link" 
href="https://github.com/apache/cxf-xjc-utils"; 
rel="nofollow">github.com/apache/cxf-xjc-utils</a>:</p><div class="code panel 
pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<pre class="brush: java; gutter: false">git clone 
https://github.com/apache/cxf-xjc-utils.git
+</pre>
+</div></div><p>Building follows the build instructions for the main CXF 
project.</p></div>
            </div>
            <!-- Content -->
          </td>
@@ -130,7 +146,7 @@ Apache CXF -- XJC Utils
      <div id="footer">
        <!-- Footer -->
        <div id="site-footer">
-         <a 
href="https://privacy.apache.org/policies/privacy-policy-public.html";>Privacy 
Policy</a> - 
+         <a href="http://cxf.apache.org/privacy-policy.html";>Privacy 
Policy</a> - 
          (<a 
href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=24184042";>edit
 page</a>) 
         (<a 
href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=24184042&amp;showComments=true&amp;showCommentArea=true#addcomment";>add
 comment</a>)<br>
        Apache CXF, CXF, Apache, the Apache feather logo are trademarks of The 
Apache Software Foundation.<br>
@@ -149,6 +165,15 @@ Apache CXF -- XJC Utils
   </tr>
 </table>
 
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl."; : 
"http://www.";);
+document.write(unescape("%3Cscript src='" + gaJsHost + 
"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-4458903-1");
+pageTracker._trackPageview();
+} catch(err) {}</script>
 
 </body>
 </html>

Reply via email to