title: Maven MojoExecutionException in cxf-xjc-plugin:3.3.0
body: <p>This question is nearly a duplicate of <a href="https://stackoverflow.com/questions/57971635">MojoExecutionException when generate sources cxf-xjc-plugin:3.3.0 java11</a> with two exceptions:</p>
  
  <ol>
  <li>The accepted answer in that question provides a work-around without answering the question.</li>
  <li>The issue discussed in that question may have been unique to a Java 11 environment.</li>
  </ol>
  
  <p>In an Eclipse environment, I have a Java project.  Part of the build process is to generate Java source code from an XML schema file (.XSD).  I am trying to use Apache's CXF Maven plugin to invoke the XJC process to generate the Java classes from the .XSD.  Here is my POM.XML:</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;com.mbm&lt;/groupId&gt;
      &lt;artifactId&gt;properties&lt;/artifactId&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;name&gt;Properties&lt;/name&gt;
      &lt;description&gt;Define and process program arguments&lt;/description&gt;
      &lt;dependencies&gt;
      &lt;/dependencies&gt;
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;1.8&lt;/source&gt;
                      &lt;target&gt;1.8&lt;/target&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&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;3.3.0&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;xjc&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;xsdOptions&gt;
                                  &lt;xsdOption&gt;
                                      &lt;xsd&gt;${basedir}/src/main/java/com/mbm/properties/schema/Properties.xsd&lt;/xsd&gt;
                                      &lt;packagename&gt;com.mbm.properties.jaxb&lt;/packagename&gt;
                                  &lt;/xsdOption&gt;
                              &lt;/xsdOptions&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                  &lt;artifactId&gt;sablecc-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.4-SNAPSHOT&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;sourceDirectory&gt;${basedir}/src/main/java/com/mbm/properties/grammar&lt;/sourceDirectory&gt;
                      &lt;outputDirectory&gt;${basedir}/src/main/gen-java&lt;/outputDirectory&gt;
                  &lt;/configuration&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;generate&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>And here is the output from Maven (it doesn't end well):</p>
  
  <pre><code>Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
  Maven home: C:\Users\mbmas_000\workspace\Properties\EMBEDDED
  Java version: 1.8.0_221, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_221\jre
  Default locale: en_US, platform encoding: Cp1252
  OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
  [DEBUG] Created new class realm maven.api
  [DEBUG] Importing foreign packages into class realm maven.api
  [DEBUG]   Imported: javax.annotation.* &lt; plexus.core
  [DEBUG]   Imported: javax.annotation.security.* &lt; plexus.core
  [DEBUG]   Imported: javax.enterprise.inject.* &lt; plexus.core
  [DEBUG]   Imported: javax.enterprise.util.* &lt; plexus.core
  [DEBUG]   Imported: javax.inject.* &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.* &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.artifact &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.classrealm &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.cli &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.configuration &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.exception &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.execution &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.execution.scope &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.lifecycle &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.model &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.monitor &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.plugin &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.profiles &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.project &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.reporting &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.repository &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.rtinfo &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.settings &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.toolchain &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.usability &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.wagon.* &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.wagon.authentication &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.wagon.authorization &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.wagon.events &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.wagon.observers &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.wagon.proxy &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.wagon.repository &lt; plexus.core
  [DEBUG]   Imported: org.apache.maven.wagon.resource &lt; plexus.core
  [DEBUG]   Imported: org.codehaus.classworlds &lt; plexus.core
  [DEBUG]   Imported: org.codehaus.plexus.* &lt; plexus.core
  [DEBUG]   Imported: org.codehaus.plexus.classworlds &lt; plexus.core
  [DEBUG]   Imported: org.codehaus.plexus.component &lt; plexus.core
  [DEBUG]   Imported: org.codehaus.plexus.configuration &lt; plexus.core
  [DEBUG]   Imported: org.codehaus.plexus.container &lt; plexus.core
  [DEBUG]   Imported: org.codehaus.plexus.context &lt; plexus.core
  [DEBUG]   Imported: org.codehaus.plexus.lifecycle &lt; plexus.core
  [DEBUG]   Imported: org.codehaus.plexus.logging &lt; plexus.core
  [DEBUG]   Imported: org.codehaus.plexus.personality &lt; plexus.core
  [DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom &lt; plexus.core
  [DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser &lt; plexus.core
  [DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException &lt; plexus.core
  [DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer &lt; plexus.core
  [DEBUG]   Imported: org.eclipse.aether.* &lt; plexus.core
  [DEBUG]   Imported: org.eclipse.aether.artifact &lt; plexus.core
  [DEBUG]   Imported: org.eclipse.aether.collection &lt; plexus.core
  [DEBUG]   Imported: org.eclipse.aether.deployment &lt; plexus.core
  [DEBUG]   Imported: org.eclipse.aether.graph &lt; plexus.core
  [DEBUG]   Imported: org.eclipse.aether.impl &lt; plexus.core
  [DEBUG]   Imported: org.eclipse.aether.installation &lt; plexus.core
  [DEBUG]   Imported: org.eclipse.aether.internal.impl &lt; plexus.core
  [DEBUG]   Imported: org.eclipse.aether.metadata &lt; plexus.core
  [DEBUG]   Imported: org.eclipse.aether.repository &lt; plexus.core
  [DEBUG]   Imported: org.eclipse.aether.resolution &lt; plexus.core
  [DEBUG]   Imported: org.eclipse.aether.spi &lt; plexus.core
  [DEBUG]   Imported: org.eclipse.aether.transfer &lt; plexus.core
  [DEBUG]   Imported: org.eclipse.aether.version &lt; plexus.core
  [DEBUG]   Imported: org.fusesource.jansi.* &lt; plexus.core
  [DEBUG]   Imported: org.slf4j.* &lt; plexus.core
  [DEBUG]   Imported: org.slf4j.event.* &lt; plexus.core
  [DEBUG]   Imported: org.slf4j.helpers.* &lt; plexus.core
  [DEBUG]   Imported: org.slf4j.spi.* &lt; plexus.core
  [DEBUG] Populating class realm maven.api
  [INFO] Error stacktraces are turned on.
  [DEBUG] Message scheme: plain
  [DEBUG] Reading global settings from settings.xml
  [DEBUG] Reading user settings from C:\Users\mbmas_000\.m2\settings.xml
  [DEBUG] Reading global toolchains from toolchains.xml
  [DEBUG] Reading user toolchains from C:\Users\mbmas_000\.m2\toolchains.xml
  [DEBUG] Using local repository at C:\Users\mbmas_000\.m2\repository
  [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for C:\Users\mbmas_000\.m2\repository
  [INFO] Scanning for projects...
  [DEBUG] Extension realms for project com.mbm:properties:jar:0.0.1-SNAPSHOT: (none)
  [DEBUG] Looking up lifecycle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
  [WARNING] 
  [WARNING] Some problems were encountered while building the effective model for com.mbm:properties:jar:0.0.1-SNAPSHOT
  [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 13, column 12
  [WARNING] 
  [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  [WARNING] 
  [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  [WARNING] 
  [DEBUG] === REACTOR BUILD PLAN ================================================
  [DEBUG] Project: com.mbm:properties:jar:0.0.1-SNAPSHOT
  [DEBUG] Tasks:   [generate-sources]
  [DEBUG] Style:   Regular
  [DEBUG] =======================================================================
  [INFO] 
  [INFO] -------------------------&lt; com.mbm:properties &gt;-------------------------
  [INFO] Building Properties 0.0.1-SNAPSHOT
  [INFO] --------------------------------[ jar ]---------------------------------
  [DEBUG] Lifecycle default -&gt; [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
  [DEBUG] Lifecycle clean -&gt; [pre-clean, clean, post-clean]
  [DEBUG] Lifecycle site -&gt; [pre-site, site, post-site, site-deploy]
  [DEBUG] Lifecycle default -&gt; [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
  [DEBUG] Lifecycle clean -&gt; [pre-clean, clean, post-clean]
  [DEBUG] Lifecycle site -&gt; [pre-site, site, post-site, site-deploy]
  [DEBUG] === PROJECT BUILD PLAN ================================================
  [DEBUG] Project:       com.mbm:properties:0.0.1-SNAPSHOT
  [DEBUG] Dependencies (collect): []
  [DEBUG] Dependencies (resolve): [compile+runtime]
  [DEBUG] Repositories (dependencies): [redhat-ga-repository (http://maven.repository.redhat.com/ga/, default, releases), central (https://repo.maven.apache.org/maven2, default, releases)]
  [DEBUG] Repositories (plugins)     : [redhat-ga-repository (http://maven.repository.redhat.com/ga/, default, releases), central (https://repo.maven.apache.org/maven2, default, releases)]
  [DEBUG] -----------------------------------------------------------------------
  [DEBUG] Goal:          org.apache.cxf:cxf-xjc-plugin:3.3.0:xsdtojava (xjc)
  [DEBUG] Style:         Regular
  [DEBUG] Configuration: &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;configuration&gt;
    &lt;additionalJvmArgs&gt;${cxf.xjc.jvmArgs}&lt;/additionalJvmArgs&gt;
    &lt;encoding default-value="${project.build.sourceEncoding}"/&gt;
    &lt;fork default-value="false"/&gt;
    &lt;javaExecutable default-value="${java.home}/bin/java"/&gt;
    &lt;markerDirectory default-value="${project.build.directory}/cxf-xsd-plugin-markers"&gt;${cxf.markerDirectory}&lt;/markerDirectory&gt;
    &lt;pluginArtifacts&gt;${plugin.artifacts}&lt;/pluginArtifacts&gt;
    &lt;remoteRepos default-value="${project.remotePluginRepositories}"/&gt;
    &lt;repoSession default-value="${repositorySystemSession}"/&gt;
    &lt;sourceRoot default-value="${project.build.directory}/generated/src/main/java"/&gt;
    &lt;xsdOptions&gt;
      &lt;xsdOption&gt;
        &lt;xsd&gt;C:\Users\mbmas_000\workspace\Properties/src/main/java/com/mbm/properties/schema/Properties.xsd&lt;/xsd&gt;
        &lt;packagename&gt;com.mbm.properties.jaxb&lt;/packagename&gt;
      &lt;/xsdOption&gt;
    &lt;/xsdOptions&gt;
    &lt;project default-value="${project}"/&gt;
  &lt;/configuration&gt;
  [DEBUG] -----------------------------------------------------------------------
  [DEBUG] Goal:          org.codehaus.mojo:sablecc-maven-plugin:2.4-SNAPSHOT:generate (default)
  [DEBUG] Style:         Regular
  [DEBUG] Configuration: &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;configuration&gt;
    &lt;outputDirectory&gt;C:\Users\mbmas_000\workspace\Properties/src/main/gen-java&lt;/outputDirectory&gt;
    &lt;project&gt;${project}&lt;/project&gt;
    &lt;sourceDirectory&gt;C:\Users\mbmas_000\workspace\Properties/src/main/java/com/mbm/properties/grammar&lt;/sourceDirectory&gt;
    &lt;staleMillis default-value="0"&gt;${lastModGranularityMs}&lt;/staleMillis&gt;
    &lt;timestampDirectory&gt;${basedir}/target&lt;/timestampDirectory&gt;
  &lt;/configuration&gt;
  [DEBUG] =======================================================================
  [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=126299, ConflictMarker.markTime=810400, ConflictMarker.nodeCount=1, ConflictIdSorter.graphTime=49100, ConflictIdSorter.topsortTime=1477800, ConflictIdSorter.conflictIdCount=0, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=2503800, ConflictResolver.conflictItemCount=0, DefaultDependencyCollector.collectTime=409299, DefaultDependencyCollector.transformTime=8338501}
  [DEBUG] com.mbm:properties:jar:0.0.1-SNAPSHOT
  [INFO] 
  [INFO] --- cxf-xjc-plugin:3.3.0:xsdtojava (xjc) @ properties ---
  [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=3369200, ConflictMarker.markTime=336300, ConflictMarker.nodeCount=42, ConflictIdSorter.graphTime=744200, ConflictIdSorter.topsortTime=103699, ConflictIdSorter.conflictIdCount=28, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=10962100, ConflictResolver.conflictItemCount=41, DefaultDependencyCollector.collectTime=430410000, DefaultDependencyCollector.transformTime=15655300}
  [DEBUG] org.apache.cxf:cxf-xjc-plugin:jar:3.3.0
  [DEBUG]    org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
  [DEBUG]    org.codehaus.plexus:plexus-utils:jar:2.0.5:compile
  [DEBUG]    org.codehaus.plexus:plexus-archiver:jar:1.2:compile
  [DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
  [DEBUG]          junit:junit:jar:4.12:compile (version managed from default)
  [DEBUG]             org.hamcrest:hamcrest-core:jar:1.3:compile
  [DEBUG]          classworlds:classworlds:jar:1.1-alpha-2:compile
  [DEBUG]       org.codehaus.plexus:plexus-io:jar:1.0.1:compile
  [DEBUG]    org.apache.maven.shared:maven-artifact-resolver:jar:1.0:compile
  [DEBUG]    jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.2:compile
  [DEBUG]       jakarta.activation:jakarta.activation-api:jar:1.2.1:compile
  [DEBUG]    org.glassfish.jaxb:jaxb-xjc:jar:2.3.2:compile
  [DEBUG]       org.glassfish.jaxb:xsom:jar:2.3.2:compile
  [DEBUG]       org.glassfish.jaxb:codemodel:jar:2.3.2:compile
  [DEBUG]       com.sun.xml.bind.external:rngom:jar:2.3.2:compile
  [DEBUG]       com.sun.xml.dtd-parser:dtd-parser:jar:1.4.1:compile
  [DEBUG]       com.sun.istack:istack-commons-tools:jar:3.0.8:compile
  [DEBUG]          org.apache.ant:ant:jar:1.10.5:compile
  [DEBUG]             org.apache.ant:ant-launcher:jar:1.10.5:compile
  [DEBUG]       com.sun.istack:istack-commons-runtime:jar:3.0.8:compile
  [DEBUG]       com.sun.xml.bind.external:relaxng-datatype:jar:2.3.2:compile
  [DEBUG]    org.glassfish.jaxb:jaxb-runtime:jar:2.3.2:compile
  [DEBUG]       org.glassfish.jaxb:txw2:jar:2.3.2:compile
  [DEBUG]       org.jvnet.staxex:stax-ex:jar:1.8.1:compile
  [DEBUG]       com.sun.xml.fastinfoset:FastInfoset:jar:1.2.16:compile
  [DEBUG]    xml-resolver:xml-resolver:jar:1.2:compile
  [DEBUG]    org.javassist:javassist:jar:3.18.2-GA:compile
  [DEBUG] Created new class realm plugin&gt;org.apache.cxf:cxf-xjc-plugin:3.3.0
  [DEBUG] Importing foreign packages into class realm plugin&gt;org.apache.cxf:cxf-xjc-plugin:3.3.0
  [DEBUG]   Imported:  &lt; maven.api
  [DEBUG] Populating class realm plugin&gt;org.apache.cxf:cxf-xjc-plugin:3.3.0
  [DEBUG]   Included: org.apache.cxf:cxf-xjc-plugin:jar:3.3.0
  [DEBUG]   Included: org.sonatype.plexus:plexus-build-api:jar:0.0.7
  [DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:2.0.5
  [DEBUG]   Included: org.codehaus.plexus:plexus-archiver:jar:1.2
  [DEBUG]   Included: junit:junit:jar:4.12
  [DEBUG]   Included: org.hamcrest:hamcrest-core:jar:1.3
  [DEBUG]   Included: org.codehaus.plexus:plexus-io:jar:1.0.1
  [DEBUG]   Included: org.apache.maven.shared:maven-artifact-resolver:jar:1.0
  [DEBUG]   Included: jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.2
  [DEBUG]   Included: jakarta.activation:jakarta.activation-api:jar:1.2.1
  [DEBUG]   Included: org.glassfish.jaxb:jaxb-xjc:jar:2.3.2
  [DEBUG]   Included: org.glassfish.jaxb:xsom:jar:2.3.2
  [DEBUG]   Included: org.glassfish.jaxb:codemodel:jar:2.3.2
  [DEBUG]   Included: com.sun.xml.bind.external:rngom:jar:2.3.2
  [DEBUG]   Included: com.sun.xml.dtd-parser:dtd-parser:jar:1.4.1
  [DEBUG]   Included: com.sun.istack:istack-commons-tools:jar:3.0.8
  [DEBUG]   Included: org.apache.ant:ant:jar:1.10.5
  [DEBUG]   Included: org.apache.ant:ant-launcher:jar:1.10.5
  [DEBUG]   Included: com.sun.istack:istack-commons-runtime:jar:3.0.8
  [DEBUG]   Included: com.sun.xml.bind.external:relaxng-datatype:jar:2.3.2
  [DEBUG]   Included: org.glassfish.jaxb:jaxb-runtime:jar:2.3.2
  [DEBUG]   Included: org.glassfish.jaxb:txw2:jar:2.3.2
  [DEBUG]   Included: org.jvnet.staxex:stax-ex:jar:1.8.1
  [DEBUG]   Included: com.sun.xml.fastinfoset:FastInfoset:jar:1.2.16
  [DEBUG]   Included: xml-resolver:xml-resolver:jar:1.2
  [DEBUG]   Included: org.javassist:javassist:jar:3.18.2-GA
  [DEBUG] Configuring mojo org.apache.cxf:cxf-xjc-plugin:3.3.0:xsdtojava from plugin realm ClassRealm[plugin&gt;org.apache.cxf:cxf-xjc-plugin:3.3.0, parent: sun.misc.Launcher$AppClassLoader@4e25154f]
  [DEBUG] Configuring mojo 'org.apache.cxf:cxf-xjc-plugin:3.3.0:xsdtojava' with basic configurator --&gt;
  [DEBUG]   (f) fork = false
  [DEBUG]   (f) javaExecutable = C:\Program Files\Java\jdk1.8.0_221\jre/bin/java
  [DEBUG]   (f) markerDirectory = C:\Users\mbmas_000\workspace\Properties\target\cxf-xsd-plugin-markers
  [DEBUG]   (f) pluginArtifacts = [org.apache.cxf:cxf-xjc-plugin:maven-plugin:3.3.0:, org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile, org.codehaus.plexus:plexus-utils:jar:2.0.5:compile, org.codehaus.plexus:plexus-archiver:jar:1.2:compile, org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile, junit:junit:jar:4.12:compile, org.hamcrest:hamcrest-core:jar:1.3:compile, classworlds:classworlds:jar:1.1-alpha-2:compile, org.codehaus.plexus:plexus-io:jar:1.0.1:compile, org.apache.maven.shared:maven-artifact-resolver:jar:1.0:compile, jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.2:compile, jakarta.activation:jakarta.activation-api:jar:1.2.1:compile, org.glassfish.jaxb:jaxb-xjc:jar:2.3.2:compile, org.glassfish.jaxb:xsom:jar:2.3.2:compile, org.glassfish.jaxb:codemodel:jar:2.3.2:compile, com.sun.xml.bind.external:rngom:jar:2.3.2:compile, com.sun.xml.dtd-parser:dtd-parser:jar:1.4.1:compile, com.sun.istack:istack-commons-tools:jar:3.0.8:compile, org.apache.ant:ant:jar:1.10.5:compile, org.apache.ant:ant-launcher:jar:1.10.5:compile, com.sun.istack:istack-commons-runtime:jar:3.0.8:compile, com.sun.xml.bind.external:relaxng-datatype:jar:2.3.2:compile, org.glassfish.jaxb:jaxb-runtime:jar:2.3.2:compile, org.glassfish.jaxb:txw2:jar:2.3.2:compile, org.jvnet.staxex:stax-ex:jar:1.8.1:compile, com.sun.xml.fastinfoset:FastInfoset:jar:1.2.16:compile, xml-resolver:xml-resolver:jar:1.2:compile, org.javassist:javassist:jar:3.18.2-GA:compile]
  [DEBUG]   (f) remoteRepos = [redhat-ga-repository (http://maven.repository.redhat.com/ga/, default, releases), central (https://repo.maven.apache.org/maven2, default, releases)]
  [DEBUG]   (f) repoSession = org.eclipse.aether.DefaultRepositorySystemSession@726386ed
  [DEBUG]   (f) sourceRoot = C:\Users\mbmas_000\workspace\Properties\target/generated/src/main/java
  [DEBUG]   (s) xsd = C:\Users\mbmas_000\workspace\Properties/src/main/java/com/mbm/properties/schema/Properties.xsd
  [DEBUG]   (s) packagename = com.mbm.properties.jaxb
  [DEBUG]   (f) xsdOptions = [org.apache.cxf.maven_plugin.XsdOption@69adf72c]
  [DEBUG]   (f) project = MavenProject: com.mbm:properties:0.0.1-SNAPSHOT @ C:\Users\mbmas_000\workspace\Properties\pom.xml
  [DEBUG] -- end configuration --
  [DEBUG] Args: [-p, com.mbm.properties.jaxb, -verbose, -encoding, null, -d, C:\Users\mbmas_000\workspace\Properties\target/generated/src/main/java, file:/C:/Users/mbmas_000/workspace/Properties/src/main/java/com/mbm/properties/schema/Properties.xsd]
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time:  1.262 s
  [INFO] Finished at: 2020-05-05T16:54:24-07:00
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.apache.cxf:cxf-xjc-plugin:3.3.0:xsdtojava (xjc) on project properties: null: MojoExecutionException: NullPointerException -&gt; [Help 1]
  org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.cxf:cxf-xjc-plugin:3.3.0:xsdtojava (xjc) on project properties: null
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:215)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
      at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
  Caused by: org.apache.maven.plugin.MojoExecutionException
      at org.apache.cxf.maven_plugin.AbstractXSDToJavaMojo.execute(AbstractXSDToJavaMojo.java:289)
      at org.apache.cxf.maven_plugin.XSDToJavaMojo.execute(XSDToJavaMojo.java:41)
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
      ... 20 more
  Caused by: java.lang.NullPointerException
      at com.sun.tools.xjc.Options.requireArgument(Options.java:763)
      at com.sun.tools.xjc.Options.parseArgument(Options.java:680)
      at com.sun.tools.xjc.Options.parseArguments(Options.java:827)
      at org.apache.cxf.maven_plugin.XSDToJavaRunner.run(XSDToJavaRunner.java:173)
      at org.apache.cxf.maven_plugin.AbstractXSDToJavaMojo.run(AbstractXSDToJavaMojo.java:368)
      at org.apache.cxf.maven_plugin.AbstractXSDToJavaMojo.execute(AbstractXSDToJavaMojo.java:276)
      ... 23 more
  [ERROR] 
  [ERROR] 
  [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  </code></pre>
  
  <p>What is causing this error?  I've tried to research this, but there just isn't that much out there about this plugin.</p>