talk@lists.collectionspace.org

WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org

View all threads

maven not finding JAXB POM

JS
Joe Slag
Mon, May 23, 2011 9:27 PM

Hello list,

I'm working through
http://wiki.collectionspace.org/display/collectionspace/Adding+a+Custom+Field+to+a+CollectionObject
and have run into a hangup on the step 'Generate Java classes from the
XML Schema for JAXB'. If I'm reading the maven output correctly, it
looks like one of the required jar files isn't available. Any tips?

thanks,
Joe

$ pwd
. . ./services/v1.6/services/collectionobject/jaxb
$ mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building services.collectionobject.jaxb 1.6
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.jboss.org/maven2/org/collectionspace/services/org.collectionspace.services.jaxb/1.6/org.collectionspace.services.jaxb-1.6.pom
Downloading: http://repository.jboss.com/maven2/org/collectionspace/services/org.collectionspace.services.jaxb/1.6/org.collectionspace.services.jaxb-1.6.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.357s
[INFO] Finished at: Mon May 23 16:15:24 CDT 2011
[INFO] Final Memory: 3M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project
org.collectionspace.services.collectionobject.jaxb: Could not resolve
dependencies for project
org.collectionspace.services:org.collectionspace.services.collectionobject.jaxb:jar:1.6:
Failed to collect dependencies for
[com.sun.xml.bind:jaxb-impl:jar:2.1.9 (compile),
org.jvnet.jaxb2-commons:property-listener-injector:jar:1.0 (compile),
org.jvnet.jaxb2_commons:runtime:jar:0.4.1.4 (compile),
org.collectionspace.services:org.collectionspace.services.jaxb:jar:1.6
(compile), org.testng:testng:jar:jdk15:5.6 (test)]: Failed to read
artifact descriptor for
org.collectionspace.services:org.collectionspace.services.jaxb:jar:1.6:
Could not transfer artifact
org.collectionspace.services:org.collectionspace.services.jaxb:pom:1.6
from/to jboss.org (http://repository.jboss.org/maven2): Access denied
to: http://repository.jboss.org/maven2/org/collectionspace/services/org.collectionspace.services.jaxb/1.6/org.collectionspace.services.jaxb-1.6.pom
-> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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/DependencyResolutionException

Hello list, I'm working through http://wiki.collectionspace.org/display/collectionspace/Adding+a+Custom+Field+to+a+CollectionObject and have run into a hangup on the step 'Generate Java classes from the XML Schema for JAXB'. If I'm reading the maven output correctly, it looks like one of the required jar files isn't available. Any tips? thanks, Joe $ pwd . . ./services/v1.6/services/collectionobject/jaxb $ mvn clean install [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building services.collectionobject.jaxb 1.6 [INFO] ------------------------------------------------------------------------ Downloading: http://repository.jboss.org/maven2/org/collectionspace/services/org.collectionspace.services.jaxb/1.6/org.collectionspace.services.jaxb-1.6.pom Downloading: http://repository.jboss.com/maven2/org/collectionspace/services/org.collectionspace.services.jaxb/1.6/org.collectionspace.services.jaxb-1.6.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.357s [INFO] Finished at: Mon May 23 16:15:24 CDT 2011 [INFO] Final Memory: 3M/81M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project org.collectionspace.services.collectionobject.jaxb: Could not resolve dependencies for project org.collectionspace.services:org.collectionspace.services.collectionobject.jaxb:jar:1.6: Failed to collect dependencies for [com.sun.xml.bind:jaxb-impl:jar:2.1.9 (compile), org.jvnet.jaxb2-commons:property-listener-injector:jar:1.0 (compile), org.jvnet.jaxb2_commons:runtime:jar:0.4.1.4 (compile), org.collectionspace.services:org.collectionspace.services.jaxb:jar:1.6 (compile), org.testng:testng:jar:jdk15:5.6 (test)]: Failed to read artifact descriptor for org.collectionspace.services:org.collectionspace.services.jaxb:jar:1.6: Could not transfer artifact org.collectionspace.services:org.collectionspace.services.jaxb:pom:1.6 from/to jboss.org (http://repository.jboss.org/maven2): Access denied to: http://repository.jboss.org/maven2/org/collectionspace/services/org.collectionspace.services.jaxb/1.6/org.collectionspace.services.jaxb-1.6.pom -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [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/DependencyResolutionException
RM
Richard Millet
Mon, May 23, 2011 11:00 PM

Joe,

If you mail me a zipped (*.zip) copy of your
".../services/v1.6/services/collectionobject/jaxb" directory, I can try to
reproduce and hopefully resolve this problem for you.

-Richard

-----Original Message-----
From: talk-bounces@lists.collectionspace.org
[mailto:talk-bounces@lists.collectionspace.org] On Behalf Of Joe Slag
Sent: Monday, May 23, 2011 2:28 PM
To: talk@lists.collectionspace.org
Subject: [Talk] maven not finding JAXB POM

Hello list,

I'm working through
http://wiki.collectionspace.org/display/collectionspace/Adding+a+Custom+Fiel
d+to+a+CollectionObject
and have run into a hangup on the step 'Generate Java classes from the
XML Schema for JAXB'. If I'm reading the maven output correctly, it
looks like one of the required jar files isn't available. Any tips?

thanks,
Joe

$ pwd
. . ./services/v1.6/services/collectionobject/jaxb
$ mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO]

[INFO] Building services.collectionobject.jaxb 1.6
[INFO]

Downloading:
http://repository.jboss.org/maven2/org/collectionspace/services/org.collecti
onspace.services.jaxb/1.6/org.collectionspace.services.jaxb-1.6.pom
Downloading:
http://repository.jboss.com/maven2/org/collectionspace/services/org.collecti
onspace.services.jaxb/1.6/org.collectionspace.services.jaxb-1.6.pom
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 1.357s
[INFO] Finished at: Mon May 23 16:15:24 CDT 2011
[INFO] Final Memory: 3M/81M
[INFO]

[ERROR] Failed to execute goal on project
org.collectionspace.services.collectionobject.jaxb: Could not resolve
dependencies for project
org.collectionspace.services:org.collectionspace.services.collectionobject.j
axb:jar:1.6:
Failed to collect dependencies for
[com.sun.xml.bind:jaxb-impl:jar:2.1.9 (compile),
org.jvnet.jaxb2-commons:property-listener-injector:jar:1.0 (compile),
org.jvnet.jaxb2_commons:runtime:jar:0.4.1.4 (compile),
org.collectionspace.services:org.collectionspace.services.jaxb:jar:1.6
(compile), org.testng:testng:jar:jdk15:5.6 (test)]: Failed to read
artifact descriptor for
org.collectionspace.services:org.collectionspace.services.jaxb:jar:1.6:
Could not transfer artifact
org.collectionspace.services:org.collectionspace.services.jaxb:pom:1.6
from/to jboss.org (http://repository.jboss.org/maven2): Access denied
to:
http://repository.jboss.org/maven2/org/collectionspace/services/org.collecti
onspace.services.jaxb/1.6/org.collectionspace.services.jaxb-1.6.pom
-> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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/DependencyResolutionExcepti
on


Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace
.org

Joe, If you mail me a zipped (*.zip) copy of your ".../services/v1.6/services/collectionobject/jaxb" directory, I can try to reproduce and hopefully resolve this problem for you. -Richard -----Original Message----- From: talk-bounces@lists.collectionspace.org [mailto:talk-bounces@lists.collectionspace.org] On Behalf Of Joe Slag Sent: Monday, May 23, 2011 2:28 PM To: talk@lists.collectionspace.org Subject: [Talk] maven not finding JAXB POM Hello list, I'm working through http://wiki.collectionspace.org/display/collectionspace/Adding+a+Custom+Fiel d+to+a+CollectionObject and have run into a hangup on the step 'Generate Java classes from the XML Schema for JAXB'. If I'm reading the maven output correctly, it looks like one of the required jar files isn't available. Any tips? thanks, Joe $ pwd . . ./services/v1.6/services/collectionobject/jaxb $ mvn clean install [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building services.collectionobject.jaxb 1.6 [INFO] ------------------------------------------------------------------------ Downloading: http://repository.jboss.org/maven2/org/collectionspace/services/org.collecti onspace.services.jaxb/1.6/org.collectionspace.services.jaxb-1.6.pom Downloading: http://repository.jboss.com/maven2/org/collectionspace/services/org.collecti onspace.services.jaxb/1.6/org.collectionspace.services.jaxb-1.6.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.357s [INFO] Finished at: Mon May 23 16:15:24 CDT 2011 [INFO] Final Memory: 3M/81M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project org.collectionspace.services.collectionobject.jaxb: Could not resolve dependencies for project org.collectionspace.services:org.collectionspace.services.collectionobject.j axb:jar:1.6: Failed to collect dependencies for [com.sun.xml.bind:jaxb-impl:jar:2.1.9 (compile), org.jvnet.jaxb2-commons:property-listener-injector:jar:1.0 (compile), org.jvnet.jaxb2_commons:runtime:jar:0.4.1.4 (compile), org.collectionspace.services:org.collectionspace.services.jaxb:jar:1.6 (compile), org.testng:testng:jar:jdk15:5.6 (test)]: Failed to read artifact descriptor for org.collectionspace.services:org.collectionspace.services.jaxb:jar:1.6: Could not transfer artifact org.collectionspace.services:org.collectionspace.services.jaxb:pom:1.6 from/to jboss.org (http://repository.jboss.org/maven2): Access denied to: http://repository.jboss.org/maven2/org/collectionspace/services/org.collecti onspace.services.jaxb/1.6/org.collectionspace.services.jaxb-1.6.pom -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [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/DependencyResolutionExcepti on _______________________________________________ Talk mailing list Talk@lists.collectionspace.org http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace .org