[jboss-user] [JBoss Tools] - Cannot install jboss-5.1.0.GA (Unable to build maven modules)

Pranay Choudhary do-not-reply at jboss.com
Mon Jan 24 09:08:36 EST 2011


Pranay Choudhary [http://community.jboss.org/people/choudharypranay] created the discussion

"Cannot install jboss-5.1.0.GA (Unable to build maven modules)"

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

--------------------------------------------------------------
Hi,
I was trying to install jboss5 using ports in freebsd 8.1.
I updated my ports and made a bulid of the source.
This is the output:
> pc-bsd# make install clean
> ===>  Building for jboss-5.1.0.GA_1,1
> Buildfile: /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/build/build.xml
> 
> maven-init:
>      [echo] Maven Home set to /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/tools/maven
> 
> maven-install:
>      [java] [INFO] Scanning for projects...
>      [java] [INFO] Reactor build order: 
>      [java] [INFO]   JBossAS Component Matrix
>      [java] [INFO]   JBoss Application Server Parent POM
>      [java] [INFO]   JBoss Application Server Thirdparty Build
>      [java] WAGON_VERSION: 1.0-beta-2
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] Building JBossAS Component Matrix
>      [java] [INFO]    task-segment: [install]
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] [enforcer:enforce {execution: ban-bad-dependencies}]
>      [java] [INFO] [site:attach-descriptor]
>      [java] [INFO] Preparing source:jar
>      [java] [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
>      [java] [INFO] [enforcer:enforce {execution: ban-bad-dependencies}]
>      [java] [INFO] [source:jar {execution: attach-sources}]
>      [java] [INFO] [install:install]
>      [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
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] Building JBoss Application Server Parent POM
>      [java] [INFO]    task-segment: [install]
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] [enforcer:enforce {execution: ban-bad-dependencies}]
>      [java] [INFO] [enforcer:enforce {execution: enforce-java-maven-versions}]
>      [java] [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
>      [java] [INFO] [site:attach-descriptor]
>      [java] [INFO] Preparing source:jar
>      [java] [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
>      [java] [INFO] [enforcer:enforce {execution: ban-bad-dependencies}]
>      [java] [INFO] [enforcer:enforce {execution: enforce-java-maven-versions}]
>      [java] [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
>      [java] [INFO] [source:jar {execution: attach-sources}]
>      [java] [INFO] [install:install]
>      [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
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] Building JBoss Application Server Thirdparty Build
>      [java] [INFO]    task-segment: [install]
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] [enforcer:enforce {execution: ban-bad-dependencies}]
>      [java] [INFO] [enforcer:enforce {execution: enforce-java-maven-versions}]
>      [java] [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
>      [java] [INFO] [enforcer:enforce {execution: ban-app-server-modules}]
>      [java] [INFO] [dependency:sources {execution: download-sources}]
>      [java] [INFO] [jboss-license:download-licenses {execution: default}]
>      [java] [INFO] Downloading licenses
>      [java] [INFO] [buildmagic-thirdparty:build-thirdparty {execution: build-thirdparty}]
>      [java] [INFO] Copying dependencies to thirdparty directories...
>      [java] [INFO] Generating component info files...
>      [java] [INFO] Creating libraries.ent...
>      [java] [INFO] [buildmagic-thirdparty:build-thirdparty {execution: build-thirparty-testsuite}]
>      [java] [INFO] Copying dependencies to thirdparty directories...
>      [java] [INFO] Generating component info files...
>      [java] [INFO] Creating testsuite-libraries.ent...
>      [java] [INFO] [site:attach-descriptor]
>      [java] [INFO] Preparing source:jar
>      [java] [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
>      [java] [INFO] [enforcer:enforce {execution: ban-bad-dependencies}]
>      [java] [INFO] [enforcer:enforce {execution: enforce-java-maven-versions}]
>      [java] [INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
>      [java] [INFO] [enforcer:enforce {execution: ban-app-server-modules}]
>      [java] [INFO] [dependency:sources {execution: download-sources}]
>      [java] [INFO] [source:jar {execution: attach-sources}]
>      [java] [INFO] [install:install]
>      [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
>      [java] [INFO] 
>      [java] [INFO] 
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] Reactor Summary:
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] JBossAS Component Matrix .............................. SUCCESS [4.452s]
>      [java] [INFO] JBoss Application Server Parent POM ................... SUCCESS [0.076s]
>      [java] [INFO] JBoss Application Server Thirdparty Build ............. SUCCESS [7.875s]
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] BUILD SUCCESSFUL
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] Total time: 14 seconds
>      [java] [INFO] Finished at: Mon Jan 24 14:39:32 IST 2011
>      [java] [INFO] Final Memory: 37M/88M
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] Java Result: 137
> 
> BUILD FAILED
> /usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/build/build.xml:1084: Unable to build maven modules.  See maven output for details.
> 
> Total time: 16 seconds
> *** Signal 9
> 
> Stop in /usr/ports/java/jboss5
this is my Java version:
> # java -version
> java version "1.6.0_22"
> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode)
and this is my freebsd version:
> FreeBSD xxxx.xxxxx.xxxxx 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010      mailto:root at almeida.cse.buffalo.edu root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
I googled for the solution but did not find any appropriate solution
Please Help.
Thanks in advance.
--------------------------------------------------------------

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110124/5f1d5f8a/attachment-0001.html 


More information about the jboss-user mailing list