amd64/166986: Jboss wont build on FreeBSD 9.0
Adrian Huryn
ahuryn at i-pi.pl
Sun Apr 15 22:30:18 UTC 2012
>Number: 166986
>Category: amd64
>Synopsis: Jboss wont build on FreeBSD 9.0
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-amd64
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Apr 15 22:30:18 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Adrian Huryn
>Release: FreeBSD 9.0
>Organization:
i-Pi
>Environment:
FreeBSD mysql 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
x300# make
===> License check disabled, port has not defined LICENSE
===> Extracting for jboss-5.1.0.GA_1,1
=> SHA256 Checksum OK for jboss-5.1.0.GA-src.tar.gz.
===> Patching for jboss-5.1.0.GA_1,1
===> Applying FreeBSD patches for jboss-5.1.0.GA_1,1
===> jboss-5.1.0.GA_1,1 depends on file: /usr/local/openjdk6/bin/java - found
===> Configuring for jboss-5.1.0.GA_1,1
===> Building for jboss-5.1.0.GA_1,1
Buildfile: 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] Downloading: http://repository.jboss.org/maven2/org/jboss/jboss-parent/4/jboss-parent-4.pom
[java] Downloading: http://maven.glassfish.org/content/groups/glassfish/org/jboss/jboss-parent/4/jboss-parent-4.pom
[java] 185b downloaded
[java] [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '6c9fd3d150b8a5f0ca676f49b8ed603793cabebb'; remote = '<html >
[java] <head><title>301' - RETRYING
[java] Downloading: http://maven.glassfish.org/content/groups/glassfish/org/jboss/jboss-parent/4/jboss-parent-4.pom
[java] 185b downloaded
[java] [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '6c9fd3d150b8a5f0ca676f49b8ed603793cabebb'; remote = '<html >
[java] <head><title>301' - IGNORING
[java] [INFO] ------------------------------------------------------------------------
[java] [ERROR] FATAL ERROR
[java] [INFO] ------------------------------------------------------------------------
[java] [INFO] Error building POM (may not be this project's POM).
[java]
[java]
[java] Project ID: org.jboss.jbossas:jboss-as-component-matrix:pom:5.1.0.GA
[java]
[java] Reason: Cannot find parent: org.jboss:jboss-parent for project: org.jboss.jbossas:jboss-as-component-matrix:pom:5.1.0.GA for pro ject org.jboss.jbossas:jboss-as-component-matrix:pom:5.1.0.GA
[java]
[java]
[java] [INFO] ------------------------------------------------------------------------
[java] [INFO] Trace
[java] org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.jboss:jboss-parent for project: org.jboss.jbossas:jbos s-as-component-matrix:pom:5.1.0.GA for project org.jboss.jbossas:jboss-as-component-matrix:pom:5.1.0.GA
[java] at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
[java] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292)
[java] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
[java] at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:616)
[java] at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
[java] at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
[java] at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
[java] at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[java] Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.jboss:jboss-parent for project: org.jboss. jbossas:jboss-as-component-matrix:pom:5.1.0.GA for project org.jboss.jbossas:jboss-as-component-matrix:pom:5.1.0.GA
[java] at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1370)
[java] at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1387)
[java] at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:821)
[java] at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:506)
[java] at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:198)
[java] at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583)
[java] at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461)
[java] at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
[java] ... 11 more
[java] Caused by: org.apache.maven.project.InvalidProjectModelException: Not a v4.0.0 POM. for project org.jboss:jboss-parent at /root/ .m2/repository/org/jboss/jboss-parent/4/jboss-parent-4.pom
[java] at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1581)
[java] at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1553)
[java] at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:560)
[java] at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1366)
[java] ... 18 more
[java] [INFO] ------------------------------------------------------------------------
[java] [INFO] Total time: 2 seconds
[java] [INFO] Finished at: Mon Apr 16 00:27:53 CEST 2012
[java] [INFO] Final Memory: 1M/23M
[java] [INFO] ------------------------------------------------------------------------
[java] Java Result: 1
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: 4 seconds
*** Error code 1
Stop in /usr/ports/java/jboss5.
>How-To-Repeat:
cd /usr/ports/java/jboss5;
make install clean
>Fix:
When i download from web missed .pom and .jar files and save it in to /root/.m2/repository.
And try to build it again i get :
[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] [WARNING] Rule 0: org.apache.maven.plugins.enforcer.BannedDependencies failed with message:
[java] Found Banned Dependency: javax.xml.bind:jaxb-api:jar:2.1
[java] Found Banned Dependency: javax.xml.stream:stax-api:jar:1.0
[java] Found Banned Dependency: com.sun.xml.bind:jaxb-impl:jar:2.1.6
[java]
[java] [INFO] ------------------------------------------------------------------------
[java] [ERROR] BUILD ERROR
[java] [INFO] ------------------------------------------------------------------------
..
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: 23 seconds
*** Error code 1
Stop in /usr/ports/java/jboss5.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-amd64
mailing list