WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org
View all threadsI am having a problem with the maven build for the 2.0 services layer on
linux (Ubuntu). There seems to be a missing dependency which I have not
been able to resolve.
The build fails with this:
org.nuxeo.runtime:nuxeo-runtime-jtajca:jar:5.5-NXP-8140
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.nuxeo.runtime -DartifactId=nuxeo-runtime-jtajca -Dversion=5.5-NXP-8140 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.nuxeo.runtime -DartifactId=nuxeo-runtime-jtajca -Dversion=5.5-NXP-8140 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1 required artifact is missing.
for artifact:
org.collectionspace.services:org.collectionspace.services.jaxrs.provider:war:2.0-SNAPSHOT
from the specified remote repositories:
collectionspace-remote-repos (http://source.collectionspace.org:8081/artifactory/remote-repos),
maven2-repository.dev.java.net (http://download.java.net/maven/2),
codehaus repo (http://repository.codehaus.org),
jboss.com (http://repository.jboss.org/nexus/content/groups/public-jboss),
repo2 (http://repo2.maven.org/maven2),
repo1 (http://repo1.maven.org/maven2),
public (http://maven.nuxeo.org/public),
jboss.org (https://repository.jboss.org/nexus),
central (http://repo1.maven.org/maven2),
nuxeo-public (http://source.collectionspace.org:8081/artifactory/nuxeo-public),
el4jReleaseRepositoryExternal (http://public-el4.elca-services.ch/el4j/maven2repository),
public-snapshot (http://maven.nuxeo.org/public-snapshot)
Glen
The good news: this is a known issue - Richard and I came across it
earlier today, as well - and has been resolved by Richard's check-ins
today, to services trunk and v2.0 release branch, related to
http://issues.collectionspace.org/browse/CSPACE-4639:
http://fisheye.collectionspace.org/changelog/collectionspace?cs=6220
http://fisheye.collectionspace.org/changelog/collectionspace?cs=6221
You can make this change manually yourself in the top-level services
pom.xml file, if you wish; it's an 8-line addition.
Aron
On Wed, Dec 14, 2011 at 3:51 PM, Glen Jackson glen@berkeley.edu wrote:
I am having a problem with the maven build for the 2.0 services layer on
linux (Ubuntu). There seems to be a missing dependency which I have not been
able to resolve.
The build fails with this:
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.nuxeo.runtime
-DartifactId=nuxeo-runtime-jtajca -Dversion=5.5-NXP-8140 -Dpackaging=jar
-Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=org.nuxeo.runtime
-DartifactId=nuxeo-runtime-jtajca -Dversion=5.5-NXP-8140 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1)
org.collectionspace.services:org.collectionspace.services.jaxrs.provider:war:2.0-SNAPSHOT
2) org.nuxeo.runtime:nuxeo-runtime-jtajca:jar:5.5-NXP-8140
1 required artifact is missing.
for artifact:
org.collectionspace.services:org.collectionspace.services.jaxrs.provider:war:2.0-SNAPSHOT
from the specified remote repositories:
collectionspace-remote-repos
(http://source.collectionspace.org:8081/artifactory/remote-repos),
maven2-repository.dev.java.net (http://download.java.net/maven/2),
codehaus repo (http://repository.codehaus.org),
jboss.com (http://repository.jboss.org/nexus/content/groups/public-jboss),
repo2 (http://repo2.maven.org/maven2),
repo1 (http://repo1.maven.org/maven2),
public (http://maven.nuxeo.org/public),
jboss.org (https://repository.jboss.org/nexus),
central (http://repo1.maven.org/maven2),
nuxeo-public
(http://source.collectionspace.org:8081/artifactory/nuxeo-public),
el4jReleaseRepositoryExternal
(http://public-el4.elca-services.ch/el4j/maven2repository),
public-snapshot (http://maven.nuxeo.org/public-snapshot)
Glen
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
On Wed, Dec 14, 2011 at 5:02 PM, Aron Roberts
aron@socrates.berkeley.edu wrote:
You can make this change manually yourself in the top-level services
pom.xml file, if you wish; it's an 8-line addition.
(But as always, an 'svn update' is warranted :-)
-A
P.S. On a related note: if all goes well, a tarball for installing
the CollectionSpace 2.0 stack should be available as early as tonight.
Richard and I worked through a succession of issues earlier today on
this, with some of the issues encountered being tracked at
http://issues.collectionspace.org/browse/CSPACE-4728 ...
Aron
On Wed, Dec 14, 2011 at 3:51 PM, Glen Jackson glen@berkeley.edu wrote:
I am having a problem with the maven build for the 2.0 services layer on
linux (Ubuntu). There seems to be a missing dependency which I have not been
able to resolve.
The build fails with this:
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.nuxeo.runtime
-DartifactId=nuxeo-runtime-jtajca -Dversion=5.5-NXP-8140 -Dpackaging=jar
-Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=org.nuxeo.runtime
-DartifactId=nuxeo-runtime-jtajca -Dversion=5.5-NXP-8140 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1)
org.collectionspace.services:org.collectionspace.services.jaxrs.provider:war:2.0-SNAPSHOT
2) org.nuxeo.runtime:nuxeo-runtime-jtajca:jar:5.5-NXP-8140
1 required artifact is missing.
for artifact:
org.collectionspace.services:org.collectionspace.services.jaxrs.provider:war:2.0-SNAPSHOT
from the specified remote repositories:
collectionspace-remote-repos
(http://source.collectionspace.org:8081/artifactory/remote-repos),
maven2-repository.dev.java.net (http://download.java.net/maven/2),
codehaus repo (http://repository.codehaus.org),
jboss.com (http://repository.jboss.org/nexus/content/groups/public-jboss),
repo2 (http://repo2.maven.org/maven2),
repo1 (http://repo1.maven.org/maven2),
public (http://maven.nuxeo.org/public),
jboss.org (https://repository.jboss.org/nexus),
central (http://repo1.maven.org/maven2),
nuxeo-public
(http://source.collectionspace.org:8081/artifactory/nuxeo-public),
el4jReleaseRepositoryExternal
(http://public-el4.elca-services.ch/el4j/maven2repository),
public-snapshot (http://maven.nuxeo.org/public-snapshot)
Glen
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org