<!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;">
    Cannot install jboss-5.1.0.GA (Unable to build maven modules)
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/choudharypranay">Pranay Choudhary</a> in <i>JBoss Tools</i> - <a href="http://community.jboss.org/message/582781#582781">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi,</p><p>I was trying to install jboss5 using ports in freebsd 8.1.</p><p>I updated my ports and made a bulid of the source.</p><p>This is the output:</p><blockquote class="jive-quote"><p>pc-bsd# make install clean</p><p>===&gt;&#160; Building for jboss-5.1.0.GA_1,1</p><p>Buildfile: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/build/build.xml</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>maven-init:</p><p>&#160;&#160;&#160;&#160; [echo] Maven Home set to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/tools/maven</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>maven-install:</p><p>&#160;&#160;&#160;&#160; [java] [INFO] Scanning for projects...</p><p>&#160;&#160;&#160;&#160; [java] [INFO] Reactor build order: </p><p>&#160;&#160;&#160;&#160; [java] [INFO]&#160;&#160; JBossAS Component Matrix</p><p>&#160;&#160;&#160;&#160; [java] [INFO]&#160;&#160; JBoss Application Server Parent POM</p><p>&#160;&#160;&#160;&#160; [java] [INFO]&#160;&#160; JBoss Application Server Thirdparty Build</p><p>&#160;&#160;&#160;&#160; [java] WAGON_VERSION: 1.0-beta-2</p><p>&#160;&#160;&#160;&#160; [java] [INFO] ------------------------------------------------------------------------</p><p>&#160;&#160;&#160;&#160; [java] [INFO] Building JBossAS Component Matrix</p><p>&#160;&#160;&#160;&#160; [java] [INFO]&#160;&#160;&#160; task-segment: [install]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] ------------------------------------------------------------------------</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [enforcer:enforce {execution: ban-bad-dependencies}]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [site:attach-descriptor]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] Preparing source:jar</p><p>&#160;&#160;&#160;&#160; [java] [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [enforcer:enforce {execution: ban-bad-dependencies}]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [source:jar {execution: attach-sources}]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [install:install]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] Installing /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/component-matrix/pom.xml to /root/.m2/repository/org/jboss/jbossas/jboss-as-component-matrix/5.1.0.GA/jboss-as-component-matrix-5.1.0.GA.pom</p><p>&#160;&#160;&#160;&#160; [java] [INFO] ------------------------------------------------------------------------</p><p>&#160;&#160;&#160;&#160; [java] [INFO] Building JBoss Application Server Parent POM</p><p>&#160;&#160;&#160;&#160; [java] [INFO]&#160;&#160;&#160; task-segment: [install]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] ------------------------------------------------------------------------</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [enforcer:enforce {execution: ban-bad-dependencies}]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [enforcer:enforce {execution: enforce-java-maven-versions}]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [site:attach-descriptor]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] Preparing source:jar</p><p>&#160;&#160;&#160;&#160; [java] [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [enforcer:enforce {execution: ban-bad-dependencies}]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [enforcer:enforce {execution: enforce-java-maven-versions}]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [source:jar {execution: attach-sources}]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [install:install]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] Installing /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/pom.xml to /root/.m2/repository/org/jboss/jbossas/jboss-as-parent/5.1.0.GA/jboss-as-parent-5.1.0.GA.pom</p><p>&#160;&#160;&#160;&#160; [java] [INFO] ------------------------------------------------------------------------</p><p>&#160;&#160;&#160;&#160; [java] [INFO] Building JBoss Application Server Thirdparty Build</p><p>&#160;&#160;&#160;&#160; [java] [INFO]&#160;&#160;&#160; task-segment: [install]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] ------------------------------------------------------------------------</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [enforcer:enforce {execution: ban-bad-dependencies}]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [enforcer:enforce {execution: enforce-java-maven-versions}]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [enforcer:enforce {execution: ban-app-server-modules}]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [dependency:sources {execution: download-sources}]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [jboss-license:download-licenses {execution: default}]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] Downloading licenses</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [buildmagic-thirdparty:build-thirdparty {execution: build-thirdparty}]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] Copying dependencies to thirdparty directories...</p><p>&#160;&#160;&#160;&#160; [java] [INFO] Generating component info files...</p><p>&#160;&#160;&#160;&#160; [java] [INFO] Creating libraries.ent...</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [buildmagic-thirdparty:build-thirdparty {execution: build-thirparty-testsuite}]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] Copying dependencies to thirdparty directories...</p><p>&#160;&#160;&#160;&#160; [java] [INFO] Generating component info files...</p><p>&#160;&#160;&#160;&#160; [java] [INFO] Creating testsuite-libraries.ent...</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [site:attach-descriptor]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] Preparing source:jar</p><p>&#160;&#160;&#160;&#160; [java] [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [enforcer:enforce {execution: ban-bad-dependencies}]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [enforcer:enforce {execution: enforce-java-maven-versions}]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [enforcer:enforce {execution: ban-app-server-modules}]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [dependency:sources {execution: download-sources}]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [source:jar {execution: attach-sources}]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] [install:install]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] Installing /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/thirdparty/pom.xml to /root/.m2/repository/org/jboss/jbossas/jboss-as-thirdparty/5.1.0.GA/jboss-as-thirdparty-5.1.0.GA.pom</p><p>&#160;&#160;&#160;&#160; [java] [INFO] </p><p>&#160;&#160;&#160;&#160; [java] [INFO] </p><p>&#160;&#160;&#160;&#160; [java] [INFO] ------------------------------------------------------------------------</p><p>&#160;&#160;&#160;&#160; [java] [INFO] Reactor Summary:</p><p>&#160;&#160;&#160;&#160; [java] [INFO] ------------------------------------------------------------------------</p><p>&#160;&#160;&#160;&#160; [java] [INFO] JBossAS Component Matrix .............................. SUCCESS [4.452s]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] JBoss Application Server Parent POM ................... SUCCESS [0.076s]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] JBoss Application Server Thirdparty Build ............. SUCCESS [7.875s]</p><p>&#160;&#160;&#160;&#160; [java] [INFO] ------------------------------------------------------------------------</p><p>&#160;&#160;&#160;&#160; [java] [INFO] ------------------------------------------------------------------------</p><p>&#160;&#160;&#160;&#160; [java] [INFO] BUILD SUCCESSFUL</p><p>&#160;&#160;&#160;&#160; [java] [INFO] ------------------------------------------------------------------------</p><p>&#160;&#160;&#160;&#160; [java] [INFO] Total time: 14 seconds</p><p>&#160;&#160;&#160;&#160; [java] [INFO] Finished at: Mon Jan 24 14:39:32 IST 2011</p><p>&#160;&#160;&#160;&#160; [java] [INFO] Final Memory: 37M/88M</p><p>&#160;&#160;&#160;&#160; [java] [INFO] ------------------------------------------------------------------------</p><p>&#160;&#160;&#160;&#160; [java] Java Result: 137</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>BUILD FAILED</p><p>/usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/build/build.xml:1084: Unable to build maven modules.&#160; See maven output for details.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Total time: 16 seconds</p><p>*** Signal 9</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Stop in /usr/ports/java/jboss5</p></blockquote><p>this is my Java version:</p><blockquote class="jive-quote"><p># java -version</p><p>java version "1.6.0_22"</p><p>Java(TM) SE Runtime Environment (build 1.6.0_22-b04)</p><p>Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode)</p></blockquote><p>and this is my freebsd version:</p><blockquote class="jive-quote"><p><span>FreeBSD xxxx.xxxxx.xxxxx 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010&#160;&#160;&#160;&#160; </span><a class="jive-link-email-small" href="mailto:root@almeida.cse.buffalo.edu" target="_blank">root@almeida.cse.buffalo.edu</a><span>:/usr/obj/usr/src/sys/GENERIC&#160; i386</span></p></blockquote><p>I googled for the solution but did not find any appropriate solution</p><p>Please Help.</p><p>Thanks in advance. </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/582781#582781">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Tools at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>