<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
JBoss AS - build.bat fails with a MojoExecutionException
</h3>
<span style="margin-bottom: 10px;">
created by <a href="http://community.jboss.org/people/prabugp">Prabaharan Gopalan</a> in <i>JBoss AS7 Development</i> - <a href="http://community.jboss.org/message/590256#590256">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p><span>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 ( </span><a class="jive-link-external-small" href="http://anonsvn.jboss.org/repos/jbossas/trunk/build" target="_blank">http://anonsvn.jboss.org/repos/jbossas/trunk/build</a><span> ) 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. </span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>But i'm getting this error while executing JBoss Application Server Build. It always fails with the error </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>[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]</p><p>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.</p><p>        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:203)</p><p>        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)</p><p>        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)</p><p>        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)</p><p>        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)</p><p>        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)</p><p>        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)</p><p>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:314)</p><p>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)</p><p>        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)</p><p>        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)</p><p>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)</p><p>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</p><p>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)</p><p>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)</p><p>        at java.lang.reflect.Method.invoke(Method.java:597)</p><p>        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)</p><p>        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)</p><p>        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)</p><p>        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)</p><p>Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to parse license summary output file.</p><p>        at org.codehaus.mojo.license.DownloadLicensesMojo.loadLicenseInfo(DownloadLicensesMojo.java:241)</p><p>        at org.codehaus.mojo.license.DownloadLicensesMojo.execute(DownloadLicensesMojo.java:147)</p><p>        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)</p><p>        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)</p><p>        ... 19 more</p><p>Caused by: java.lang.NullPointerException</p><p>        at org.codehaus.mojo.license.DownloadLicensesMojo.loadLicenseInfo(DownloadLicensesMojo.java:232)</p><p>        ... 22 more</p><p>[ERROR]</p><p>[ERROR]</p><p>[ERROR] For more information about the errors and possible solutions, please read the following articles:</p><p><span>[ERROR] [Help 1] </span><a class="jive-link-external-small" href="http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException" target="_blank">http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException</a></p><p>Press any key to continue . . .</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I'm on Win 7, 32bit, 4GB i7 machine. And my source version is 110803, and i'm on the trunk of jboss. </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I have been trying to find relevant information on this but so far no fruit. Any light to help me out is appreciated. </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>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. </p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/590256#590256">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss AS7 Development at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>