Schemagen NullPointerException

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Schemagen NullPointerException

Joshua Raymond
Hello,

I'm having some issues with the schemagen of the maven plugin. The error
says it's a NullPointerException and gives instructions on how to find out
more information about the error. So I follow the instructions to cd to the
directory and run a command to see the full -error. Which I run and the
results of that are "error: package javax.persistence does not exist" and
so on. Which seems like it's not finding the compiled classes at all. It
compiles and runs just fine with the schemagen part removed.

Any help would be appreciated, I'm processing a single class that links to
a few other classes. I also can produce xml based on the class just fine.

Maven 3.6
jaxb2-maven-plugin 2.4
JDK 1.8.0_192

StackTrace below
--- jaxb2-maven-plugin:2.4:schemagen (schemagen) @ Project ---
Created EpisodePath
[C:\Users\jraymond\Documents\NetBeansProjects\Project\target\generated-resources\schemagen\META-INF\JAXB]:
true
Created EpisodePath
[C:\Users\jraymond\Documents\NetBeansProjects\Project\target\generated-resources\schemagen\META-INF\JAXB]:
true
Execution failed.

[Exception]: java.lang.NullPointerException
[Message]: null

com.sun.tools.javac.model.JavacTypes.getDeclaredType(JavacTypes.java:218)
         com.sun.tools.jxc.model.nav.ApNavigator.use(ApNavigator.java:221)
         com.sun.tools.jxc.model.nav.ApNavigator.use(ApNavigator.java:82)

com.sun.xml.bind.v2.model.impl.TypeInfoSetImpl.getClassInfo(TypeInfoSetImpl.java:265)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:237)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:227)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:375)

com.sun.xml.bind.v2.model.impl.TypeRefImpl.calcRef(TypeRefImpl.java:96)

com.sun.xml.bind.v2.model.impl.TypeRefImpl.getTarget(TypeRefImpl.java:73)

com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:78)

com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:76)
         java.util.AbstractList$Itr.next(AbstractList.java:358)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:275)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:227)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:375)

com.sun.xml.bind.v2.model.impl.TypeRefImpl.calcRef(TypeRefImpl.java:96)

com.sun.xml.bind.v2.model.impl.TypeRefImpl.getTarget(TypeRefImpl.java:73)

com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:78)

com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:76)
         java.util.AbstractList$Itr.next(AbstractList.java:358)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:275)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:227)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:375)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:390)

com.sun.tools.jxc.api.impl.j2s.JavaCompilerImpl.bind(JavaCompilerImpl.java:95)

com.sun.tools.jxc.ap.SchemaGenerator.process(SchemaGenerator.java:110)

com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:794)

com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:705)

com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1800(JavacProcessingEnvironment.java:91)

com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1035)

com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1176)

com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1170)

com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:856)
         com.sun.tools.javac.main.Main.compile(Main.java:523)

com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
         com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)

com.sun.tools.jxc.SchemaGenerator$Runner.compile(SchemaGenerator.java:266)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         java.lang.reflect.Method.invoke(Method.java:498)
         com.sun.tools.jxc.SchemaGenerator.run(SchemaGenerator.java:166)

org.codehaus.mojo.jaxb2.schemageneration.AbstractXsdGeneratorMojo.performExecution(AbstractXsdGeneratorMojo.java:405)

org.codehaus.mojo.jaxb2.AbstractJaxbMojo.execute(AbstractJaxbMojo.java:315)

org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)

org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)

org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)

org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)

org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)

org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)

org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)

org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
         org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
         org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
         org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
         org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)
         org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
         org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         java.lang.reflect.Method.invoke(Method.java:498)

org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)

org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Reply | Threaded
Open this post in threaded view
|

Re: Schemagen NullPointerException

mgainty

________________________________
From: Joshua Raymond <[hidden email]>
Sent: Wednesday, December 19, 2018 3:06 PM
To: [hidden email]
Subject: Schemagen NullPointerException

Hello,

I'm having some issues with the schemagen of the maven plugin. The error
says it's a NullPointerException and gives instructions on how to find out
more information about the error. So I follow the instructions to cd to the
directory and run a command to see the full -error. Which I run and the
results of that are "error: package javax.persistence does not exist" and
so on. Which seems like it's not finding the compiled classes at all. It
compiles and runs just fine with the schemagen part removed.

Any help would be appreciated, I'm processing a single class that links to
a few other classes. I also can produce xml based on the class just fine.

Maven 3.6
jaxb2-maven-plugin 2.4
JDK 1.8.0_192

StackTrace below
--- jaxb2-maven-plugin:2.4:schemagen (schemagen) @ Project ---
Created EpisodePath
[C:\Users\jraymond\Documents\NetBeansProjects\Project\target\generated-resources\schemagen\META-INF\JAXB]:
true
Created EpisodePath
[C:\Users\jraymond\Documents\NetBeansProjects\Project\target\generated-resources\schemagen\META-INF\JAXB]:
true
Execution failed.

[Exception]: java.lang.NullPointerException
[Message]: null

com.sun.tools.javac.model.JavacTypes.getDeclaredType(JavacTypes.java:218)
         com.sun.tools.jxc.model.nav.ApNavigator.use(ApNavigator.java:221)
         com.sun.tools.jxc.model.nav.ApNavigator.use(ApNavigator.java:82)

com.sun.xml.bind.v2.model.impl.TypeInfoSetImpl.getClassInfo(TypeInfoSetImpl.java:265)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:237)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:227)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:375)

com.sun.xml.bind.v2.model.impl.TypeRefImpl.calcRef(TypeRefImpl.java:96)

com.sun.xml.bind.v2.model.impl.TypeRefImpl.getTarget(TypeRefImpl.java:73)

com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:78)

com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:76)
         java.util.AbstractList$Itr.next(AbstractList.java:358)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:275)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:227)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:375)

com.sun.xml.bind.v2.model.impl.TypeRefImpl.calcRef(TypeRefImpl.java:96)

com.sun.xml.bind.v2.model.impl.TypeRefImpl.getTarget(TypeRefImpl.java:73)

com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:78)

com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:76)
         java.util.AbstractList$Itr.next(AbstractList.java:358)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:275)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:227)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:375)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:390)

com.sun.tools.jxc.api.impl.j2s.JavaCompilerImpl.bind(JavaCompilerImpl.java:95)

com.sun.tools.jxc.ap.SchemaGenerator.process(SchemaGenerator.java:110)

com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:794)

com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:705)

com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1800(JavacProcessingEnvironment.java:91)

com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1035)

com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1176)

com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1170)

com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:856)
         com.sun.tools.javac.main.Main.compile(Main.java:523)

com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
         com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)

com.sun.tools.jxc.SchemaGenerator$Runner.compile(SchemaGenerator.java:266)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         java.lang.reflect.Method.invoke(Method.java:498)
         com.sun.tools.jxc.SchemaGenerator.run(SchemaGenerator.java:166)

org.codehaus.mojo.jaxb2.schemageneration.AbstractXsdGeneratorMojo.performExecution(AbstractXsdGeneratorMojo.java:405)

org.codehaus.mojo.jaxb2.AbstractJaxbMojo.execute(AbstractJaxbMojo.java:315)

org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)

org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)

org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)

org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)

org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)

org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)

org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)

org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
         org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
         org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
         org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
         org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)
         org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
         org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         java.lang.reflect.Method.invoke(Method.java:498)

org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)

org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Reply | Threaded
Open this post in threaded view
|

Re: Schemagen NullPointerException

mgainty
In reply to this post by Joshua Raymond

________________________________
From: Joshua Raymond <[hidden email]>
Sent: Wednesday, December 19, 2018 3:06 PM
To: [hidden email]
Subject: Schemagen NullPointerException

Hello,

I'm having some issues with the schemagen of the maven plugin. The error
says it's a NullPointerException and gives instructions on how to find out
more information about the error. So I follow the instructions to cd to the
directory and run a command to see the full -error. Which I run and the
results of that are "error: package javax.persistence does not exist"
MG>you need to have javax.persistence groupId package dependency is on your classpath added to dependencies
<dependencies>
 <dependency>
   <groupId>javax.persistence</groupId>
  <artifactId>javax.persistence</artifactId>
 </dependency>
 <dependency>
   <groupId>javax.persistence</groupId>
   <artifactId>javax.persistence-api</artifactId>
  </dependency>
  <dependency>
   <groupId>javax.persistence</groupId>
   <artifactId>persistence-api</artifactId>
 </dependency>
 <dependency>
   <groupId>javax.persistence</groupId>
   <artifactId>persistence-jdbc</artifactId>
  </dependency>

MG>also any resources/java files that are generated need to be included in downstream plugins..in your case
http://www.mojohaus.org/jaxb2-maven-plugin/Documentation/v2.2/schemagen-mojo.html
MG>for your schemagen the value of attribute 'outputDirectory' would need to be included in downstream plugins
JAXB-2 Maven Plugin – jaxb2:schemagen - MojoHaus<http://www.mojohaus.org/jaxb2-maven-plugin/Documentation/v2.2/schemagen-mojo.html>
Mojo that creates XML schema(s) from compile-scope Java sources or binaries by invoking the JAXB SchemaGenerator. This implementation is tailored to use the JAXB Reference Implementation from project Kenai.
www.mojohaus.org

MG>hth

and
so on. Which seems like it's not finding the compiled classes at all. It
compiles and runs just fine with the schemagen part removed.

Any help would be appreciated, I'm processing a single class that links to
a few other classes. I also can produce xml based on the class just fine.

Maven 3.6
jaxb2-maven-plugin 2.4
JDK 1.8.0_192

StackTrace below
--- jaxb2-maven-plugin:2.4:schemagen (schemagen) @ Project ---
Created EpisodePath
[C:\Users\jraymond\Documents\NetBeansProjects\Project\target\generated-resources\schemagen\META-INF\JAXB]:
true
Created EpisodePath
[C:\Users\jraymond\Documents\NetBeansProjects\Project\target\generated-resources\schemagen\META-INF\JAXB]:
true
Execution failed.

[Exception]: java.lang.NullPointerException
[Message]: null

com.sun.tools.javac.model.JavacTypes.getDeclaredType(JavacTypes.java:218)
         com.sun.tools.jxc.model.nav.ApNavigator.use(ApNavigator.java:221)
         com.sun.tools.jxc.model.nav.ApNavigator.use(ApNavigator.java:82)

com.sun.xml.bind.v2.model.impl.TypeInfoSetImpl.getClassInfo(TypeInfoSetImpl.java:265)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:237)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:227)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:375)

com.sun.xml.bind.v2.model.impl.TypeRefImpl.calcRef(TypeRefImpl.java:96)

com.sun.xml.bind.v2.model.impl.TypeRefImpl.getTarget(TypeRefImpl.java:73)

com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:78)

com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:76)
         java.util.AbstractList$Itr.next(AbstractList.java:358)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:275)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:227)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:375)

com.sun.xml.bind.v2.model.impl.TypeRefImpl.calcRef(TypeRefImpl.java:96)

com.sun.xml.bind.v2.model.impl.TypeRefImpl.getTarget(TypeRefImpl.java:73)

com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:78)

com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:76)
         java.util.AbstractList$Itr.next(AbstractList.java:358)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:275)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:227)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:375)

com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:390)

com.sun.tools.jxc.api.impl.j2s.JavaCompilerImpl.bind(JavaCompilerImpl.java:95)

com.sun.tools.jxc.ap.SchemaGenerator.process(SchemaGenerator.java:110)

com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:794)

com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:705)

com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1800(JavacProcessingEnvironment.java:91)

com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1035)

com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1176)

com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1170)

com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:856)
         com.sun.tools.javac.main.Main.compile(Main.java:523)

com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
         com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)

com.sun.tools.jxc.SchemaGenerator$Runner.compile(SchemaGenerator.java:266)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         java.lang.reflect.Method.invoke(Method.java:498)
         com.sun.tools.jxc.SchemaGenerator.run(SchemaGenerator.java:166)

org.codehaus.mojo.jaxb2.schemageneration.AbstractXsdGeneratorMojo.performExecution(AbstractXsdGeneratorMojo.java:405)

org.codehaus.mojo.jaxb2.AbstractJaxbMojo.execute(AbstractJaxbMojo.java:315)

org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)

org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)

org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)

org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)

org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)

org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)

org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)

org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
         org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
         org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
         org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
         org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)
         org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
         org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         java.lang.reflect.Method.invoke(Method.java:498)

org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)

org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)