[jboss-dev-forums] [JBoss AS7 Development] - JBoss AS - build.bat fails with a MojoExecutionException

Prabaharan Gopalan do-not-reply at jboss.com
Tue Mar 1 03:29:13 EST 2011


Prabaharan Gopalan [http://community.jboss.org/people/prabugp] created the discussion

"JBoss AS - build.bat fails with a MojoExecutionException"

To view the discussion, visit: http://community.jboss.org/message/590256#590256

--------------------------------------------------------------
All, I wish to be part of the JBoss community and contribute in whatever ways I can. So, i started out by checking out the source from SVN (  http://anonsvn.jboss.org/repos/jbossas/trunk/build http://anonsvn.jboss.org/repos/jbossas/trunk/build ) and following the readme, executed build.bat. Initially the build failed with outOfMemory errors but then i got around them by setting the MAVEN_OPTS to use Xmx1024m. so, now it is not throwing OutOfMemory. 

But i'm getting this error while executing JBoss Application Server Build. It always fails with the error 

[ERROR] Failed to execute goal org.codehaus.mojo:license-maven-plugin:1.0-alpha-1-2-jbossorg:download-licenses (default) on project jboss-as-build: Unable to parse license summary output file. NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:license-maven-plugin:1.0-alpha-1-2-jbossorg:download-licenses (default) on project jboss-as-build: Unable to parse license summary output file.
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:203)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:314)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to parse license summary output file.
        at org.codehaus.mojo.license.DownloadLicensesMojo.loadLicenseInfo(DownloadLicensesMojo.java:241)
        at org.codehaus.mojo.license.DownloadLicensesMojo.execute(DownloadLicensesMojo.java:147)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
        ... 19 more
Caused by: java.lang.NullPointerException
        at org.codehaus.mojo.license.DownloadLicensesMojo.loadLicenseInfo(DownloadLicensesMojo.java:232)
        ... 22 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 http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Press any key to continue . . .

I'm on Win 7, 32bit, 4GB i7 machine. And my source version is 110803, and i'm on the trunk of jboss. 


I have been trying to find relevant information on this but so far no fruit. Any light to help me out is appreciated. 

P.S: If there are links available to help out a new member to the community in explaining the architecture as well as the standards, frequently faced issues and such, please point me to their direction.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/590256#590256]

Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110301/7cdab63b/attachment.html 


More information about the jboss-dev-forums mailing list