talk@lists.collectionspace.org

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

View all threads

in creating tenant, build failed for ant undeploy deploy

AB
Al Bersch
Mon, Sep 9, 2013 7:23 PM

Hello again all,

I wasn't able to solve the problem in with our settings.xml file, and decided to rebuild our tenant. However, when I ran "ant undeploy deploy" in the collectionspace-services directory (as user cpace), and with cspace servers shut down, I'm getting this message:

BUILD FAILED
/home/cspace/source/collectionspace-services/build.xml:257: The following error occurred while executing this line:
/home/cspace/source/collectionspace-services/3rdparty/build.xml:121: The following error occurred while executing this line:
/home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133: The following error occurred while executing this line:
/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118: The following error occurred while executing this line:
/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67: exec returned: 1

the lines in question (copied from the above-referenced build.xml files):

in /home/cspace/source/collectionspace-services/build.xml:257:

<ant antfile="3rdparty/build.xml" target="deploy" inheritAll="false"/>

In /home/cspace/source/collectionspace-services/3rdparty/build.xml:121:

<ant antfile="nuxeo/build.xml" target="deploy" inheritall="false"/>

In /home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133:

<ant antfile="nuxeo-platform-listener/build.xml" target="deploy" inheritall="false"/> <!-- Disabled due to integration issues between ImageMagick and Ghostscript on Linux systems <ant antfile="nuxeo-platform-thumbnail/build.xml" target="deploy" inheritall="false"/>

-->

In /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118:

<ant antfile="updateobjectlocationonmove/build.xml" target="deploy" inheritall="false"/>

In /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67:

<exec executable="mvn" failonerror="true">

Any ideas you all may have would be much appreciated!
Thanks,

Al

Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468

Hello again all, I wasn't able to solve the problem in with our settings.xml file, and decided to rebuild our tenant. However, when I ran "ant undeploy deploy" in the collectionspace-services directory (as user cpace), and with cspace servers shut down, I'm getting this message: BUILD FAILED /home/cspace/source/collectionspace-services/build.xml:257: The following error occurred while executing this line: /home/cspace/source/collectionspace-services/3rdparty/build.xml:121: The following error occurred while executing this line: /home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133: The following error occurred while executing this line: /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118: The following error occurred while executing this line: /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67: exec returned: 1 the lines in question (copied from the above-referenced build.xml files): in /home/cspace/source/collectionspace-services/build.xml:257: <ant antfile="3rdparty/build.xml" target="deploy" inheritAll="false"/> In /home/cspace/source/collectionspace-services/3rdparty/build.xml:121: <ant antfile="nuxeo/build.xml" target="deploy" inheritall="false"/> In /home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133: <ant antfile="nuxeo-platform-listener/build.xml" target="deploy" inheritall="false"/> <!-- Disabled due to integration issues between ImageMagick and Ghostscript on Linux systems <ant antfile="nuxeo-platform-thumbnail/build.xml" target="deploy" inheritall="false"/> --> In /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118: <ant antfile="updateobjectlocationonmove/build.xml" target="deploy" inheritall="false"/> In /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67: <exec executable="mvn" failonerror="true"> Any ideas you all may have would be much appreciated! Thanks, Al Al Bersch Digital Project Coordinator Oakland Museum of California 1000 Oak Street, Oakland, CA 94607 abersch@museumca.org 510-318-8468
JM
Jesse Martinez
Mon, Sep 9, 2013 8:11 PM

hi Al,

Just some quick questions for you to help troubleshoot this error.
Is the apache-tomcat directory set to be readable and writable by the
cspace user? If it's still owned by root then there'll be problems
deploying the build files.
How far into the 'ant undeploy deploy' build process did you get this
error?

Thanks,

  • Jesse

On Mon, Sep 9, 2013 at 3:23 PM, Al Bersch abersch@museumca.org wrote:

Hello again all,

I wasn't able to solve the problem in with our settings.xml file, and
decided to rebuild our tenant. However, when I ran "ant undeploy deploy" in
the collectionspace-services directory (as user cpace), and with cspace
servers shut down, I'm getting this message:

BUILD FAILED

/home/cspace/source/collectionspace-services/build.xml:257: The following
error occurred while executing this line:

/home/cspace/source/collectionspace-services/3rdparty/build.xml:121: The
following error occurred while executing this line:

/home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133:
The following error occurred while executing this line:

/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118:
The following error occurred while executing this line:

/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67:
exec returned: 1

*the lines in question (copied from the above-referenced build.xml files):
*

in /home/cspace/source/collectionspace-services/build.xml:257:

<ant antfile="3rdparty/build.xml" target="deploy" inheritAll="false"/>

In /home/cspace/source/collectionspace-services/3rdparty/build.xml:121:

<ant antfile="nuxeo/build.xml" target="deploy" inheritall="false"/>

In
/home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133:

<ant antfile="nuxeo-platform-listener/build.xml" target="deploy" inheritall="false"/>

                             <!-- Disabled due to integration issues

between ImageMagick and Ghostscript on Linux systems

     <ant antfile="nuxeo-platform-thumbnail/build.xml" target="deploy"

inheritall="false"/>

     -->

In
/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118:

<ant antfile="updateobjectlocationonmove/build.xml" target="deploy" inheritall="false"/>

In
/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67:

<exec executable="mvn" failonerror="true">

Any ideas you all may have would be much appreciated!

Thanks,

Al

Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468


Talk mailing list
Talk@lists.collectionspace.org

http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

hi Al, Just some quick questions for you to help troubleshoot this error. Is the apache-tomcat directory set to be readable and writable by the cspace user? If it's still owned by root then there'll be problems deploying the build files. How far into the 'ant undeploy deploy' build process did you get this error? Thanks, - Jesse On Mon, Sep 9, 2013 at 3:23 PM, Al Bersch <abersch@museumca.org> wrote: > Hello again all, > > I wasn't able to solve the problem in with our settings.xml file, and > decided to rebuild our tenant. However, when I ran "ant undeploy deploy" in > the collectionspace-services directory (as user cpace), and with cspace > servers shut down, I'm getting this message: > > BUILD FAILED > > /home/cspace/source/collectionspace-services/build.xml:257: The following > error occurred while executing this line: > > /home/cspace/source/collectionspace-services/3rdparty/build.xml:121: The > following error occurred while executing this line: > > /home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133: > The following error occurred while executing this line: > > /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118: > The following error occurred while executing this line: > > /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67: > exec returned: 1 > > > > > *the lines in question (copied from the above-referenced build.xml files): > * > > > in /home/cspace/source/collectionspace-services/build.xml:257: > > > <ant antfile="3rdparty/build.xml" target="deploy" inheritAll="false"/> > > > In /home/cspace/source/collectionspace-services/3rdparty/build.xml:121: > > > <ant antfile="nuxeo/build.xml" target="deploy" inheritall="false"/> > > > In > /home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133: > > > <ant antfile="nuxeo-platform-listener/build.xml" target="deploy" > inheritall="false"/> > > <!-- Disabled due to integration issues > between ImageMagick and Ghostscript on Linux systems > > <ant antfile="nuxeo-platform-thumbnail/build.xml" target="deploy" > inheritall="false"/> > > --> > > > In > /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118: > > > <ant antfile="updateobjectlocationonmove/build.xml" target="deploy" > inheritall="false"/> > > > In > /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67: > > > <exec executable="mvn" failonerror="true"> > > > > Any ideas you all may have would be much appreciated! > > Thanks, > > > Al > > Al Bersch > Digital Project Coordinator > Oakland Museum of California > 1000 Oak Street, Oakland, CA 94607 > abersch@museumca.org > 510-318-8468 > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org > >
AR
Aron Roberts
Mon, Sep 9, 2013 8:15 PM

Hi Al,

A suggestion: would you be willing to try out CollectionSpace 4.0?
This release, likely to become available later this week for community
QA testing, introduces some simplifications when a) getting started in
setting up your tenant and a great many simplifications when b)
customizing CollectionSpace for your museum.

If so, we can follow-up about how you can get that now.  There's
already an update to the 'create your new tenant' instructions for
v4.0 here:

http://wiki.collectionspace.org/display/UNRELEASED/Creating+your+new+tenant

Glen Jackson of our Museum Informatics team and I walked through the
above instructions and successfully created a new tenant, for the
BAM/PFA CineFiles instance that he and his colleagues are working on,
last Friday.

As for the problem you're experiencing, in your helpfully detailed
report, it sounds like the Ant buildfile that's asking Maven to build
the 'updateobjectlocationonmove' event handler/listener - the one that
keeps Cataloging records updated with an object's current location
from its related movement records, as those are added or changed - is
reporting a Maven error.

From within:

/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove

Try:

mvn clean install -X

(the -X will spit out verbose log messages)

That's pretty much what the 'ant install' target is doing here:

https://github.com/collectionspace/services/blob/v3.3/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml#L64

And you might note that the 'ant deploy' target is calling 'ant
installl' ("under the hood") here:

https://github.com/collectionspace/services/blob/v3.3/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml#L64

Aron

On Mon, Sep 9, 2013 at 12:23 PM, Al Bersch abersch@museumca.org wrote:

Hello again all,

I wasn't able to solve the problem in with our settings.xml file, and
decided to rebuild our tenant. However, when I ran "ant undeploy deploy" in
the collectionspace-services directory (as user cpace), and with cspace
servers shut down, I'm getting this message:

BUILD FAILED

/home/cspace/source/collectionspace-services/build.xml:257: The following
error occurred while executing this line:

/home/cspace/source/collectionspace-services/3rdparty/build.xml:121: The
following error occurred while executing this line:

/home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133:
The following error occurred while executing this line:

/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118:
The following error occurred while executing this line:

/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67:
exec returned: 1

the lines in question (copied from the above-referenced build.xml files):

in /home/cspace/source/collectionspace-services/build.xml:257:

<ant antfile="3rdparty/build.xml" target="deploy" inheritAll="false"/>

In /home/cspace/source/collectionspace-services/3rdparty/build.xml:121:

<ant antfile="nuxeo/build.xml" target="deploy" inheritall="false"/>

In
/home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133:

<ant antfile="nuxeo-platform-listener/build.xml" target="deploy" inheritall="false"/>

                             <!-- Disabled due to integration issues

between ImageMagick and Ghostscript on Linux systems

     <ant antfile="nuxeo-platform-thumbnail/build.xml" target="deploy"

inheritall="false"/>

     -->

In
/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118:

<ant antfile="updateobjectlocationonmove/build.xml" target="deploy" inheritall="false"/>

In
/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67:

<exec executable="mvn" failonerror="true">

Any ideas you all may have would be much appreciated!

Thanks,

Al

Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468


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

Hi Al, A suggestion: would you be willing to try out CollectionSpace 4.0? This release, likely to become available later this week for community QA testing, introduces some simplifications when a) getting started in setting up your tenant and a *great many* simplifications when b) customizing CollectionSpace for your museum. If so, we can follow-up about how you can get that now. There's already an update to the 'create your new tenant' instructions for v4.0 here: http://wiki.collectionspace.org/display/UNRELEASED/Creating+your+new+tenant Glen Jackson of our Museum Informatics team and I walked through the above instructions and successfully created a new tenant, for the BAM/PFA CineFiles instance that he and his colleagues are working on, last Friday. As for the problem you're experiencing, in your helpfully detailed report, it sounds like the Ant buildfile that's asking Maven to build the 'updateobjectlocationonmove' event handler/listener - the one that keeps Cataloging records updated with an object's current location from its related movement records, as those are added or changed - is reporting a Maven error. From within: /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove Try: mvn clean install -X (the -X will spit out verbose log messages) That's pretty much what the 'ant install' target is doing here: https://github.com/collectionspace/services/blob/v3.3/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml#L64 And you might note that the 'ant deploy' target is calling 'ant installl' ("under the hood") here: https://github.com/collectionspace/services/blob/v3.3/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml#L64 Aron On Mon, Sep 9, 2013 at 12:23 PM, Al Bersch <abersch@museumca.org> wrote: > Hello again all, > > I wasn't able to solve the problem in with our settings.xml file, and > decided to rebuild our tenant. However, when I ran "ant undeploy deploy" in > the collectionspace-services directory (as user cpace), and with cspace > servers shut down, I'm getting this message: > > BUILD FAILED > > /home/cspace/source/collectionspace-services/build.xml:257: The following > error occurred while executing this line: > > /home/cspace/source/collectionspace-services/3rdparty/build.xml:121: The > following error occurred while executing this line: > > /home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133: > The following error occurred while executing this line: > > /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118: > The following error occurred while executing this line: > > /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67: > exec returned: 1 > > > > > the lines in question (copied from the above-referenced build.xml files): > > > in /home/cspace/source/collectionspace-services/build.xml:257: > > > <ant antfile="3rdparty/build.xml" target="deploy" inheritAll="false"/> > > > In /home/cspace/source/collectionspace-services/3rdparty/build.xml:121: > > > <ant antfile="nuxeo/build.xml" target="deploy" inheritall="false"/> > > > In > /home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133: > > > <ant antfile="nuxeo-platform-listener/build.xml" target="deploy" > inheritall="false"/> > > <!-- Disabled due to integration issues > between ImageMagick and Ghostscript on Linux systems > > <ant antfile="nuxeo-platform-thumbnail/build.xml" target="deploy" > inheritall="false"/> > > --> > > > In > /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118: > > > <ant antfile="updateobjectlocationonmove/build.xml" target="deploy" > inheritall="false"/> > > > In > /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67: > > > <exec executable="mvn" failonerror="true"> > > > > Any ideas you all may have would be much appreciated! > > Thanks, > > > Al > > > Al Bersch > Digital Project Coordinator > Oakland Museum of California > 1000 Oak Street, Oakland, CA 94607 > abersch@museumca.org > 510-318-8468 > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >
AB
Al Bersch
Mon, Sep 9, 2013 8:19 PM

Hi Jesse,

Thanks for getting back to me. the apache-tomcat directory is owned by the cspace user.

Here is the last part of the build message, if that helps. It was 31 seconds in.

thanks again,

Al

[exec] [ERROR] BUILD ERROR
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] Failed to resolve artifact.
[exec]
[exec] Missing:
[exec] ----------
[exec] 1) org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT
[exec]
[exec] Try downloading the file manually from the project website.
[exec]
[exec] Then, install it using the command:
[exec] mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.common -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
[exec]
[exec] Alternatively, if you host your own repository you can deploy the file there:
[exec] mvn deploy:deploy-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.common -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[exec]
[exec] Path to dependency:
[exec] 1) org.collectionspace.services:org.collectionspace.services.listener.updateobjectlocationonmove:jar:3.3-SNAPSHOT
[exec] 2) org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT
[exec]
[exec] 2) org.collectionspace.services:org.collectionspace.services.movement.service:jar:3.3-SNAPSHOT
[exec]
[exec] Try downloading the file manually from the project website.
[exec]
[exec] Then, install it using the command:
[exec] mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.movement.service -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
[exec]
[exec] Alternatively, if you host your own repository you can deploy the file there:
[exec] mvn deploy:deploy-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.movement.service -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[exec]
[exec] Path to dependency:
[exec] 1) org.collectionspace.services:org.collectionspace.services.listener.updateobjectlocationonmove:jar:3.3-SNAPSHOT
[exec] 2) org.collectionspace.services:org.collectionspace.services.movement.service:jar:3.3-SNAPSHOT
[exec]
[exec] 3) org.collectionspace.services:org.collectionspace.services.client:jar:3.3-SNAPSHOT
[exec]
[exec] Try downloading the file manually from the project website.
[exec]
[exec] Then, install it using the command:
[exec] mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.client -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
[exec]
[exec] Alternatively, if you host your own repository you can deploy the file there:
[exec] mvn deploy:deploy-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.client -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[exec]
[exec] Path to dependency:
[exec] 1) org.collectionspace.services:org.collectionspace.services.listener.updateobjectlocationonmove:jar:3.3-SNAPSHOT
[exec] 2) org.collectionspace.services:org.collectionspace.services.client:jar:3.3-SNAPSHOT
[exec]
[exec] ----------
[exec] 3 required artifacts are missing.
[exec]
[exec] for artifact:
[exec] org.collectionspace.services:org.collectionspace.services.listener.updateobjectlocationonmove:jar:3.3-SNAPSHOT
[exec]
[exec] from the specified remote repositories:
[exec] collectionspace-remote-repos (http://nightly.collectionspace.org:8081/artifactory/remote-repos),
[exec] maven2-repository.dev.java.net (http://download.java.net/maven/2),
[exec] libs-releases-local (http://nightly.collectionspace.org:8081/artifactory/libs-release-local),
[exec] codehaus repo (http://repository.codehaus.org),
[exec] jboss.com (http://repository.jboss.org/nexus/content/groups/public-jboss),
[exec] repo2 (http://repo2.maven.org/maven2),
[exec] repo1 (http://repo1.maven.org/maven2),
[exec] public (http://maven.nuxeo.org/public),
[exec] jboss.org (https://repository.jboss.org/nexus),
[exec] central (http://repo1.maven.org/maven2),
[exec] nuxeo-public (http://nightly.collectionspace.org:8081/artifactory/nuxeo-public),
[exec] el4jReleaseRepositoryExternal (http://public-el4.elca-services.ch/el4j/maven2repository),
[exec] public-snapshot (http://maven.nuxeo.org/public-snapshot)
[exec]
[exec]
[exec]
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] For more information, run Maven with the -e switch
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] Total time: 31 seconds
[exec] [INFO] Finished at: Mon Sep 09 19:14:26 UTC 2013
[exec] [INFO] Final Memory: 25M/174M
[exec] [INFO] ------------------------------------------------------------------------

Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
----- Original Message -----

From: "Jesse Martinez" mjesse@gmail.com
To: "Al Bersch" abersch@museumca.org
Cc: "talk" talk@lists.collectionspace.org
Sent: Monday, September 9, 2013 1:11:05 PM
Subject: Re: [Talk] in creating tenant, build failed for ant undeploy deploy

hi Al,

Just some quick questions for you to help troubleshoot this error.
Is the apache-tomcat directory set to be readable and writable by the cspace user? If it's still owned by root then there'll be problems deploying the build files.
How far into the 'ant undeploy deploy' build process did you get this error?

Thanks,

  • Jesse

On Mon, Sep 9, 2013 at 3:23 PM, Al Bersch < abersch@museumca.org > wrote:

Hello again all,

I wasn't able to solve the problem in with our settings.xml file, and decided to rebuild our tenant. However, when I ran "ant undeploy deploy" in the collectionspace-services directory (as user cpace), and with cspace servers shut down, I'm getting this message:

BUILD FAILED
/home/cspace/source/collectionspace-services/build.xml:257: The following error occurred while executing this line:
/home/cspace/source/collectionspace-services/3rdparty/build.xml:121: The following error occurred while executing this line:
/home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133: The following error occurred while executing this line:
/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118: The following error occurred while executing this line:
/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67: exec returned: 1

the lines in question (copied from the above-referenced build.xml files):

in /home/cspace/source/collectionspace-services/build.xml:257:

<ant antfile="3rdparty/build.xml" target="deploy" inheritAll="false"/>

In /home/cspace/source/collectionspace-services/3rdparty/build.xml:121:

<blockquote> <ant antfile="nuxeo/build.xml" target="deploy" inheritall="false"/>

In /home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133:

<ant antfile="nuxeo-platform-listener/build.xml" target="deploy" inheritall="false"/> <!-- Disabled due to integration issues between ImageMagick and Ghostscript on Linux systems <ant antfile="nuxeo-platform-thumbnail/build.xml" target="deploy" inheritall="false"/>

-->

In /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118:

<ant antfile="updateobjectlocationonmove/build.xml" target="deploy" inheritall="false"/>

In /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67:

<exec executable="mvn" failonerror="true">

Any ideas you all may have would be much appreciated!
Thanks,

Al

Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468


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

</blockquote>
Hi Jesse, Thanks for getting back to me. the apache-tomcat directory is owned by the cspace user. Here is the last part of the build message, if that helps. It was 31 seconds in. thanks again, Al [exec] [ERROR] BUILD ERROR [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] Failed to resolve artifact. [exec] [exec] Missing: [exec] ---------- [exec] 1) org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT [exec] [exec] Try downloading the file manually from the project website. [exec] [exec] Then, install it using the command: [exec] mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.common -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file [exec] [exec] Alternatively, if you host your own repository you can deploy the file there: [exec] mvn deploy:deploy-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.common -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [exec] [exec] Path to dependency: [exec] 1) org.collectionspace.services:org.collectionspace.services.listener.updateobjectlocationonmove:jar:3.3-SNAPSHOT [exec] 2) org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT [exec] [exec] 2) org.collectionspace.services:org.collectionspace.services.movement.service:jar:3.3-SNAPSHOT [exec] [exec] Try downloading the file manually from the project website. [exec] [exec] Then, install it using the command: [exec] mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.movement.service -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file [exec] [exec] Alternatively, if you host your own repository you can deploy the file there: [exec] mvn deploy:deploy-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.movement.service -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [exec] [exec] Path to dependency: [exec] 1) org.collectionspace.services:org.collectionspace.services.listener.updateobjectlocationonmove:jar:3.3-SNAPSHOT [exec] 2) org.collectionspace.services:org.collectionspace.services.movement.service:jar:3.3-SNAPSHOT [exec] [exec] 3) org.collectionspace.services:org.collectionspace.services.client:jar:3.3-SNAPSHOT [exec] [exec] Try downloading the file manually from the project website. [exec] [exec] Then, install it using the command: [exec] mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.client -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file [exec] [exec] Alternatively, if you host your own repository you can deploy the file there: [exec] mvn deploy:deploy-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.client -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [exec] [exec] Path to dependency: [exec] 1) org.collectionspace.services:org.collectionspace.services.listener.updateobjectlocationonmove:jar:3.3-SNAPSHOT [exec] 2) org.collectionspace.services:org.collectionspace.services.client:jar:3.3-SNAPSHOT [exec] [exec] ---------- [exec] 3 required artifacts are missing. [exec] [exec] for artifact: [exec] org.collectionspace.services:org.collectionspace.services.listener.updateobjectlocationonmove:jar:3.3-SNAPSHOT [exec] [exec] from the specified remote repositories: [exec] collectionspace-remote-repos (http://nightly.collectionspace.org:8081/artifactory/remote-repos), [exec] maven2-repository.dev.java.net (http://download.java.net/maven/2), [exec] libs-releases-local (http://nightly.collectionspace.org:8081/artifactory/libs-release-local), [exec] codehaus repo (http://repository.codehaus.org), [exec] jboss.com (http://repository.jboss.org/nexus/content/groups/public-jboss), [exec] repo2 (http://repo2.maven.org/maven2), [exec] repo1 (http://repo1.maven.org/maven2), [exec] public (http://maven.nuxeo.org/public), [exec] jboss.org (https://repository.jboss.org/nexus), [exec] central (http://repo1.maven.org/maven2), [exec] nuxeo-public (http://nightly.collectionspace.org:8081/artifactory/nuxeo-public), [exec] el4jReleaseRepositoryExternal (http://public-el4.elca-services.ch/el4j/maven2repository), [exec] public-snapshot (http://maven.nuxeo.org/public-snapshot) [exec] [exec] [exec] [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] For more information, run Maven with the -e switch [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] Total time: 31 seconds [exec] [INFO] Finished at: Mon Sep 09 19:14:26 UTC 2013 [exec] [INFO] Final Memory: 25M/174M [exec] [INFO] ------------------------------------------------------------------------ Al Bersch Digital Project Coordinator Oakland Museum of California 1000 Oak Street, Oakland, CA 94607 abersch@museumca.org 510-318-8468 ----- Original Message ----- From: "Jesse Martinez" <mjesse@gmail.com> To: "Al Bersch" <abersch@museumca.org> Cc: "talk" <talk@lists.collectionspace.org> Sent: Monday, September 9, 2013 1:11:05 PM Subject: Re: [Talk] in creating tenant, build failed for ant undeploy deploy hi Al, Just some quick questions for you to help troubleshoot this error. Is the apache-tomcat directory set to be readable and writable by the cspace user? If it's still owned by root then there'll be problems deploying the build files. How far into the 'ant undeploy deploy' build process did you get this error? Thanks, - Jesse On Mon, Sep 9, 2013 at 3:23 PM, Al Bersch < abersch@museumca.org > wrote: Hello again all, I wasn't able to solve the problem in with our settings.xml file, and decided to rebuild our tenant. However, when I ran "ant undeploy deploy" in the collectionspace-services directory (as user cpace), and with cspace servers shut down, I'm getting this message: BUILD FAILED /home/cspace/source/collectionspace-services/build.xml:257: The following error occurred while executing this line: /home/cspace/source/collectionspace-services/3rdparty/build.xml:121: The following error occurred while executing this line: /home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133: The following error occurred while executing this line: /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118: The following error occurred while executing this line: /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67: exec returned: 1 the lines in question (copied from the above-referenced build.xml files): in /home/cspace/source/collectionspace-services/build.xml:257: <ant antfile="3rdparty/build.xml" target="deploy" inheritAll="false"/> In /home/cspace/source/collectionspace-services/3rdparty/build.xml:121: <blockquote> <ant antfile="nuxeo/build.xml" target="deploy" inheritall="false"/> In /home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133: <ant antfile="nuxeo-platform-listener/build.xml" target="deploy" inheritall="false"/> <!-- Disabled due to integration issues between ImageMagick and Ghostscript on Linux systems <ant antfile="nuxeo-platform-thumbnail/build.xml" target="deploy" inheritall="false"/> --> In /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118: <ant antfile="updateobjectlocationonmove/build.xml" target="deploy" inheritall="false"/> In /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67: <exec executable="mvn" failonerror="true"> Any ideas you all may have would be much appreciated! Thanks, Al Al Bersch Digital Project Coordinator Oakland Museum of California 1000 Oak Street, Oakland, CA 94607 abersch@museumca.org 510-318-8468 _______________________________________________ Talk mailing list Talk@lists.collectionspace.org http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org </blockquote>
AB
Al Bersch
Mon, Sep 9, 2013 8:23 PM

Hi Aron,

Thanks for your response. And yes, I'd definitely be interested in trying out CollectionSpace 4.0. Let me know where to start, and I'll try it out.

in the meantime I'll try running mvn clean install -X.

thanks,

Al

Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
----- Original Message -----

From: "Aron Roberts" aronroberts@gmail.com
To: "Al Bersch" abersch@museumca.org
Cc: "talk" talk@lists.collectionspace.org
Sent: Monday, September 9, 2013 1:15:54 PM
Subject: Re: [Talk] in creating tenant, build failed for ant undeploy deploy

Hi Al,

A suggestion: would you be willing to try out CollectionSpace 4.0?
This release, likely to become available later this week for community
QA testing, introduces some simplifications when a) getting started in
setting up your tenant and a great many simplifications when b)
customizing CollectionSpace for your museum.

If so, we can follow-up about how you can get that now. There's
already an update to the 'create your new tenant' instructions for
v4.0 here:

http://wiki.collectionspace.org/display/UNRELEASED/Creating+your+new+tenant

Glen Jackson of our Museum Informatics team and I walked through the
above instructions and successfully created a new tenant, for the
BAM/PFA CineFiles instance that he and his colleagues are working on,
last Friday.

As for the problem you're experiencing, in your helpfully detailed
report, it sounds like the Ant buildfile that's asking Maven to build
the 'updateobjectlocationonmove' event handler/listener - the one that
keeps Cataloging records updated with an object's current location
from its related movement records, as those are added or changed - is
reporting a Maven error.

From within:

/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove

Try:

mvn clean install -X

(the -X will spit out verbose log messages)

That's pretty much what the 'ant install' target is doing here:

https://github.com/collectionspace/services/blob/v3.3/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml#L64

And you might note that the 'ant deploy' target is calling 'ant
installl' ("under the hood") here:

https://github.com/collectionspace/services/blob/v3.3/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml#L64

Aron

On Mon, Sep 9, 2013 at 12:23 PM, Al Bersch abersch@museumca.org wrote:

Hello again all,

I wasn't able to solve the problem in with our settings.xml file, and
decided to rebuild our tenant. However, when I ran "ant undeploy deploy" in
the collectionspace-services directory (as user cpace), and with cspace
servers shut down, I'm getting this message:

BUILD FAILED

/home/cspace/source/collectionspace-services/build.xml:257: The following
error occurred while executing this line:

/home/cspace/source/collectionspace-services/3rdparty/build.xml:121: The
following error occurred while executing this line:

/home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133:
The following error occurred while executing this line:

/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118:
The following error occurred while executing this line:

/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67:
exec returned: 1

the lines in question (copied from the above-referenced build.xml files):

in /home/cspace/source/collectionspace-services/build.xml:257:

<ant antfile="3rdparty/build.xml" target="deploy" inheritAll="false"/>

In /home/cspace/source/collectionspace-services/3rdparty/build.xml:121:

<ant antfile="nuxeo/build.xml" target="deploy" inheritall="false"/>

In
/home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133:

<ant antfile="nuxeo-platform-listener/build.xml" target="deploy" inheritall="false"/>

<!-- Disabled due to integration issues between ImageMagick and Ghostscript on Linux systems <ant antfile="nuxeo-platform-thumbnail/build.xml" target="deploy" inheritall="false"/> -->

In
/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118:

<ant antfile="updateobjectlocationonmove/build.xml" target="deploy" inheritall="false"/>

In
/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67:

<exec executable="mvn" failonerror="true">

Any ideas you all may have would be much appreciated!

Thanks,

Al

Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468


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

Hi Aron, Thanks for your response. And yes, I'd definitely be interested in trying out CollectionSpace 4.0. Let me know where to start, and I'll try it out. in the meantime I'll try running mvn clean install -X. thanks, Al Al Bersch Digital Project Coordinator Oakland Museum of California 1000 Oak Street, Oakland, CA 94607 abersch@museumca.org 510-318-8468 ----- Original Message ----- From: "Aron Roberts" <aronroberts@gmail.com> To: "Al Bersch" <abersch@museumca.org> Cc: "talk" <talk@lists.collectionspace.org> Sent: Monday, September 9, 2013 1:15:54 PM Subject: Re: [Talk] in creating tenant, build failed for ant undeploy deploy Hi Al, A suggestion: would you be willing to try out CollectionSpace 4.0? This release, likely to become available later this week for community QA testing, introduces some simplifications when a) getting started in setting up your tenant and a *great many* simplifications when b) customizing CollectionSpace for your museum. If so, we can follow-up about how you can get that now. There's already an update to the 'create your new tenant' instructions for v4.0 here: http://wiki.collectionspace.org/display/UNRELEASED/Creating+your+new+tenant Glen Jackson of our Museum Informatics team and I walked through the above instructions and successfully created a new tenant, for the BAM/PFA CineFiles instance that he and his colleagues are working on, last Friday. As for the problem you're experiencing, in your helpfully detailed report, it sounds like the Ant buildfile that's asking Maven to build the 'updateobjectlocationonmove' event handler/listener - the one that keeps Cataloging records updated with an object's current location from its related movement records, as those are added or changed - is reporting a Maven error. >From within: /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove Try: mvn clean install -X (the -X will spit out verbose log messages) That's pretty much what the 'ant install' target is doing here: https://github.com/collectionspace/services/blob/v3.3/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml#L64 And you might note that the 'ant deploy' target is calling 'ant installl' ("under the hood") here: https://github.com/collectionspace/services/blob/v3.3/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml#L64 Aron On Mon, Sep 9, 2013 at 12:23 PM, Al Bersch <abersch@museumca.org> wrote: > Hello again all, > > I wasn't able to solve the problem in with our settings.xml file, and > decided to rebuild our tenant. However, when I ran "ant undeploy deploy" in > the collectionspace-services directory (as user cpace), and with cspace > servers shut down, I'm getting this message: > > BUILD FAILED > > /home/cspace/source/collectionspace-services/build.xml:257: The following > error occurred while executing this line: > > /home/cspace/source/collectionspace-services/3rdparty/build.xml:121: The > following error occurred while executing this line: > > /home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133: > The following error occurred while executing this line: > > /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118: > The following error occurred while executing this line: > > /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67: > exec returned: 1 > > > > > the lines in question (copied from the above-referenced build.xml files): > > > in /home/cspace/source/collectionspace-services/build.xml:257: > > > <ant antfile="3rdparty/build.xml" target="deploy" inheritAll="false"/> > > > In /home/cspace/source/collectionspace-services/3rdparty/build.xml:121: > > > <ant antfile="nuxeo/build.xml" target="deploy" inheritall="false"/> > > > In > /home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133: > > > <ant antfile="nuxeo-platform-listener/build.xml" target="deploy" > inheritall="false"/> > > <!-- Disabled due to integration issues > between ImageMagick and Ghostscript on Linux systems > > <ant antfile="nuxeo-platform-thumbnail/build.xml" target="deploy" > inheritall="false"/> > > --> > > > In > /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118: > > > <ant antfile="updateobjectlocationonmove/build.xml" target="deploy" > inheritall="false"/> > > > In > /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67: > > > <exec executable="mvn" failonerror="true"> > > > > Any ideas you all may have would be much appreciated! > > Thanks, > > > Al > > > Al Bersch > Digital Project Coordinator > Oakland Museum of California > 1000 Oak Street, Oakland, CA 94607 > abersch@museumca.org > 510-318-8468 > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >
AR
Aron Roberts
Mon, Sep 9, 2013 8:33 PM

Thanks, Al and Jesse. This message suggests that, possibly, the JAR
file for the 'common' module - one of the most important modules in
the CollectionSpace's Services layer - for some reason wasn't
successfully installed into your local Maven repository.

It's worth trying to build that module by itself, for starters, to see
if there are any errors:

cd /home/cspace/source/collectionspace-services/services/common

mvn clean install -DskipTests -X

If not, then you might try a full 'mvn clean install' from
/home/cspace/source/collectionspace-services, check for errors, and
then try your 'ant undeploy deploy' once again from that directory.

On Mon, Sep 9, 2013 at 1:23 PM, Al Bersch abersch@museumca.org wrote:

Hi Aron,

Thanks for your response. And yes, I'd definitely be interested in trying
out CollectionSpace 4.0. Let me know where to start, and I'll try it out.

in the meantime I'll try running mvn clean install -X.

thanks,

Al

Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468


From: "Aron Roberts" aronroberts@gmail.com

To: "Al Bersch" abersch@museumca.org
Cc: "talk" talk@lists.collectionspace.org
Sent: Monday, September 9, 2013 1:15:54 PM

Subject: Re: [Talk] in creating tenant, build failed for ant undeploy deploy

Hi Al,

A suggestion: would you be willing to try out CollectionSpace 4.0?
This release, likely to become available later this week for community
QA testing, introduces some simplifications when a) getting started in
setting up your tenant and a great many simplifications when b)
customizing CollectionSpace for your museum.

If so, we can follow-up about how you can get that now.  There's
already an update to the 'create your new tenant' instructions for
v4.0 here:

http://wiki.collectionspace.org/display/UNRELEASED/Creating+your+new+tenant

Glen Jackson of our Museum Informatics team and I walked through the
above instructions and successfully created a new tenant, for the
BAM/PFA CineFiles instance that he and his colleagues are working on,
last Friday.

As for the problem you're experiencing, in your helpfully detailed
report, it sounds like the Ant buildfile that's asking Maven to build
the 'updateobjectlocationonmove' event handler/listener - the one that
keeps Cataloging records updated with an object's current location
from its related movement records, as those are added or changed - is
reporting a Maven error.

From within:

/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove

Try:

mvn clean install -X

(the -X will spit out verbose log messages)

That's pretty much what the 'ant install' target is doing here:

https://github.com/collectionspace/services/blob/v3.3/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml#L64

And you might note that the 'ant deploy' target is calling 'ant
installl' ("under the hood") here:

https://github.com/collectionspace/services/blob/v3.3/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml#L64

Aron

On Mon, Sep 9, 2013 at 12:23 PM, Al Bersch abersch@museumca.org wrote:

Hello again all,

I wasn't able to solve the problem in with our settings.xml file, and
decided to rebuild our tenant. However, when I ran "ant undeploy deploy"
in
the collectionspace-services directory (as user cpace), and with cspace
servers shut down, I'm getting this message:

BUILD FAILED

/home/cspace/source/collectionspace-services/build.xml:257: The following
error occurred while executing this line:

/home/cspace/source/collectionspace-services/3rdparty/build.xml:121: The
following error occurred while executing this line:

/home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133:
The following error occurred while executing this line:

/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118:
The following error occurred while executing this line:

/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67:
exec returned: 1

the lines in question (copied from the above-referenced build.xml files):

in /home/cspace/source/collectionspace-services/build.xml:257:

<ant antfile="3rdparty/build.xml" target="deploy" inheritAll="false"/>

In /home/cspace/source/collectionspace-services/3rdparty/build.xml:121:

<ant antfile="nuxeo/build.xml" target="deploy" inheritall="false"/>

In
/home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133:

<ant antfile="nuxeo-platform-listener/build.xml" target="deploy" inheritall="false"/>

                             <!-- Disabled due to integration issues

between ImageMagick and Ghostscript on Linux systems

     <ant antfile="nuxeo-platform-thumbnail/build.xml" target="deploy"

inheritall="false"/>

     -->

In

/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118:

<ant antfile="updateobjectlocationonmove/build.xml" target="deploy" inheritall="false"/>

In

/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67:

<exec executable="mvn" failonerror="true">

Any ideas you all may have would be much appreciated!

Thanks,

Al

Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468


Talk mailing list
Talk@lists.collectionspace.org

http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Thanks, Al and Jesse. This message suggests that, possibly, the JAR file for the 'common' module - one of the most important modules in the CollectionSpace's Services layer - for some reason wasn't successfully installed into your local Maven repository. It's worth trying to build that module by itself, for starters, to see if there are any errors: cd /home/cspace/source/collectionspace-services/services/common mvn clean install -DskipTests -X If not, then you might try a full 'mvn clean install' from /home/cspace/source/collectionspace-services, check for errors, and then try your 'ant undeploy deploy' once again from that directory. On Mon, Sep 9, 2013 at 1:23 PM, Al Bersch <abersch@museumca.org> wrote: > Hi Aron, > > Thanks for your response. And yes, I'd definitely be interested in trying > out CollectionSpace 4.0. Let me know where to start, and I'll try it out. > > in the meantime I'll try running mvn clean install -X. > > thanks, > > Al > > Al Bersch > Digital Project Coordinator > Oakland Museum of California > 1000 Oak Street, Oakland, CA 94607 > abersch@museumca.org > 510-318-8468 > ________________________________ > From: "Aron Roberts" <aronroberts@gmail.com> > > To: "Al Bersch" <abersch@museumca.org> > Cc: "talk" <talk@lists.collectionspace.org> > Sent: Monday, September 9, 2013 1:15:54 PM > > Subject: Re: [Talk] in creating tenant, build failed for ant undeploy deploy > > Hi Al, > > A suggestion: would you be willing to try out CollectionSpace 4.0? > This release, likely to become available later this week for community > QA testing, introduces some simplifications when a) getting started in > setting up your tenant and a *great many* simplifications when b) > customizing CollectionSpace for your museum. > > If so, we can follow-up about how you can get that now. There's > already an update to the 'create your new tenant' instructions for > v4.0 here: > > http://wiki.collectionspace.org/display/UNRELEASED/Creating+your+new+tenant > > Glen Jackson of our Museum Informatics team and I walked through the > above instructions and successfully created a new tenant, for the > BAM/PFA CineFiles instance that he and his colleagues are working on, > last Friday. > > As for the problem you're experiencing, in your helpfully detailed > report, it sounds like the Ant buildfile that's asking Maven to build > the 'updateobjectlocationonmove' event handler/listener - the one that > keeps Cataloging records updated with an object's current location > from its related movement records, as those are added or changed - is > reporting a Maven error. > > From within: > > /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove > > Try: > > mvn clean install -X > > (the -X will spit out verbose log messages) > > That's pretty much what the 'ant install' target is doing here: > > https://github.com/collectionspace/services/blob/v3.3/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml#L64 > > And you might note that the 'ant deploy' target is calling 'ant > installl' ("under the hood") here: > > https://github.com/collectionspace/services/blob/v3.3/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml#L64 > > Aron > > > > On Mon, Sep 9, 2013 at 12:23 PM, Al Bersch <abersch@museumca.org> wrote: >> Hello again all, >> >> I wasn't able to solve the problem in with our settings.xml file, and >> decided to rebuild our tenant. However, when I ran "ant undeploy deploy" >> in >> the collectionspace-services directory (as user cpace), and with cspace >> servers shut down, I'm getting this message: >> >> BUILD FAILED >> >> /home/cspace/source/collectionspace-services/build.xml:257: The following >> error occurred while executing this line: >> >> /home/cspace/source/collectionspace-services/3rdparty/build.xml:121: The >> following error occurred while executing this line: >> >> /home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133: >> The following error occurred while executing this line: >> >> >> /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118: >> The following error occurred while executing this line: >> >> >> /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67: >> exec returned: 1 >> >> >> >> >> the lines in question (copied from the above-referenced build.xml files): >> >> >> in /home/cspace/source/collectionspace-services/build.xml:257: >> >> >> <ant antfile="3rdparty/build.xml" target="deploy" inheritAll="false"/> >> >> >> In /home/cspace/source/collectionspace-services/3rdparty/build.xml:121: >> >> >> <ant antfile="nuxeo/build.xml" target="deploy" inheritall="false"/> >> >> >> In >> /home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133: >> >> >> <ant antfile="nuxeo-platform-listener/build.xml" target="deploy" >> inheritall="false"/> >> >> <!-- Disabled due to integration issues >> between ImageMagick and Ghostscript on Linux systems >> >> <ant antfile="nuxeo-platform-thumbnail/build.xml" target="deploy" >> inheritall="false"/> >> >> --> >> >> >> In >> >> /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118: >> >> >> <ant antfile="updateobjectlocationonmove/build.xml" target="deploy" >> inheritall="false"/> >> >> >> In >> >> /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67: >> >> >> <exec executable="mvn" failonerror="true"> >> >> >> >> Any ideas you all may have would be much appreciated! >> >> Thanks, >> >> >> Al >> >> >> Al Bersch >> Digital Project Coordinator >> Oakland Museum of California >> 1000 Oak Street, Oakland, CA 94607 >> abersch@museumca.org >> 510-318-8468 >> >> _______________________________________________ >> Talk mailing list >> Talk@lists.collectionspace.org >> >> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >> >
AB
Al Bersch
Mon, Sep 9, 2013 8:52 PM

Hi Aron,

Thanks again. An installer tool sounds great.

In terms of this round of questions, from cd/home/cspace/source/collectionspace-services/services/common, I ran mvn clean install -DskipTests -X, and came up with errors. Here's a snippet from the end.

thanks again... and i'm happy to abandon this thread if concentrating on installing 4.0 for OMCA would be better use of time.

Al


14 required artifacts are missing.

for artifact:
org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT

from the specified remote repositories:
collectionspace-remote-repos (http://nightly.collectionspace.org:8081/artifactory/remote-repos),
maven2-repository.dev.java.net (http://download.java.net/maven/2),
libs-releases-local (http://nightly.collectionspace.org:8081/artifactory/libs-release-local),
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://nightly.collectionspace.org:8081/artifactory/nuxeo-public),
el4jReleaseRepositoryExternal (http://public-el4.elca-services.ch/el4j/maven2repository),
Apache (https://repository.apache.org/content/groups/public/),
public-snapshot (http://maven.nuxeo.org/public-snapshot)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:711)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:

  1. org.collectionspace.services:org.collectionspace.services.config:jar:3.3-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.config -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.config -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:

  1. org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT

  2. org.collectionspace.services:org.collectionspace.services.config:jar:3.3-SNAPSHOT

  3. org.collectionspace.services:org.collectionspace.services.3rdparty.nuxeo.thumbnail:jar:3.3-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.3rdparty.nuxeo.thumbnail -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.3rdparty.nuxeo.thumbnail -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:

  1. org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT

  2. org.collectionspace.services:org.collectionspace.services.3rdparty.nuxeo.thumbnail:jar:3.3-SNAPSHOT

  3. org.collectionspace.services:org.collectionspace.services.authorization-mgt.client:jar:3.3-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.authorization-mgt.client -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.authorization-mgt.client -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:

  1. org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT

  2. org.collectionspace.services:org.collectionspace.services.authorization-mgt.client:jar:3.3-SNAPSHOT

  3. org.collectionspace.services:org.collectionspace.services.relation.client:jar:3.3-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.relation.client -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.relation.client -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:

  1. org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT

  2. org.collectionspace.services:org.collectionspace.services.relation.client:jar:3.3-SNAPSHOT

  3. org.collectionspace.services:org.collectionspace.services.publicitem.client:jar:3.3-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.publicitem.client -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.publicitem.client -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:

  1. org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT

  2. org.collectionspace.services:org.collectionspace.services.publicitem.client:jar:3.3-SNAPSHOT

  3. org.collectionspace.services:org.collectionspace.services.publicitem.jaxb:jar:3.3-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.publicitem.jaxb -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.publicitem.jaxb -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:

  1. org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT

  2. org.collectionspace.services:org.collectionspace.services.publicitem.jaxb:jar:3.3-SNAPSHOT

  3. org.collectionspace.services:org.collectionspace.services.jaxb:jar:3.3-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.jaxb -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.jaxb -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:

  1. org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT

  2. org.collectionspace.services:org.collectionspace.services.jaxb:jar:3.3-SNAPSHOT

  3. org.collectionspace.services:org.collectionspace.services.authority.jaxb:jar:3.3-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.authority.jaxb -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.authority.jaxb -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:

  1. org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT

  2. org.collectionspace.services:org.collectionspace.services.authority.jaxb:jar:3.3-SNAPSHOT

  3. org.collectionspace.services:org.collectionspace.services.hyperjaxb:jar:3.3-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.hyperjaxb -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.hyperjaxb -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:

  1. org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT

  2. org.collectionspace.services:org.collectionspace.services.hyperjaxb:jar:3.3-SNAPSHOT

  3. org.collectionspace.services:org.collectionspace.services.client:jar:3.3-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.client -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.client -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:

  1. org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT

  2. org.collectionspace.services:org.collectionspace.services.client:jar:3.3-SNAPSHOT

  3. org.collectionspace.services:org.collectionspace.services.authentication.jaxb:jar:3.3-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.authentication.jaxb -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.authentication.jaxb -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:

  1. org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT

  2. org.collectionspace.services:org.collectionspace.services.authentication.jaxb:jar:3.3-SNAPSHOT

  3. org.collectionspace.services:org.collectionspace.services.authentication.service:jar:3.3-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.authentication.service -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.authentication.service -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:

  1. org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT

  2. org.collectionspace.services:org.collectionspace.services.authentication.service:jar:3.3-SNAPSHOT

  3. org.collectionspace.services:org.collectionspace.services.authorization.jaxb:jar:3.3-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.authorization.jaxb -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.authorization.jaxb -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:

  1. org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT

  2. org.collectionspace.services:org.collectionspace.services.authorization.jaxb:jar:3.3-SNAPSHOT

  3. org.collectionspace.services:org.collectionspace.services.authorization.service:jar:3.3-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.authorization.service -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.authorization.service -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:

  1. org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT
  2. org.collectionspace.services:org.collectionspace.services.authorization.service:jar:3.3-SNAPSHOT

14 required artifacts are missing.

for artifact:
org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT

from the specified remote repositories:
collectionspace-remote-repos (http://nightly.collectionspace.org:8081/artifactory/remote-repos),
maven2-repository.dev.java.net (http://download.java.net/maven/2),
libs-releases-local (http://nightly.collectionspace.org:8081/artifactory/libs-release-local),
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://nightly.collectionspace.org:8081/artifactory/nuxeo-public),
el4jReleaseRepositoryExternal (http://public-el4.elca-services.ch/el4j/maven2repository),
Apache (https://repository.apache.org/content/groups/public/),
public-snapshot (http://maven.nuxeo.org/public-snapshot)

at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:360)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:304)
at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1499)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:442)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
... 17 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 58 seconds
[INFO] Finished at: Mon Sep 09 20:42:42 UTC 2013
[INFO] Final Memory: 67M/283M
[INFO] ------------------------------------------------------------------------

Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468
----- Original Message -----

From: "Aron Roberts" aronroberts@gmail.com
To: "Al Bersch" abersch@museumca.org
Cc: "talk" talk@lists.collectionspace.org
Sent: Monday, September 9, 2013 1:33:25 PM
Subject: Re: [Talk] in creating tenant, build failed for ant undeploy deploy

Thanks, Al and Jesse. This message suggests that, possibly, the JAR
file for the 'common' module - one of the most important modules in
the CollectionSpace's Services layer - for some reason wasn't
successfully installed into your local Maven repository.

It's worth trying to build that module by itself, for starters, to see
if there are any errors:

cd /home/cspace/source/collectionspace-services/services/common

mvn clean install -DskipTests -X

If not, then you might try a full 'mvn clean install' from
/home/cspace/source/collectionspace-services, check for errors, and
then try your 'ant undeploy deploy' once again from that directory.

On Mon, Sep 9, 2013 at 1:23 PM, Al Bersch abersch@museumca.org wrote:

Hi Aron,

Thanks for your response. And yes, I'd definitely be interested in trying
out CollectionSpace 4.0. Let me know where to start, and I'll try it out.

in the meantime I'll try running mvn clean install -X.

thanks,

Al

Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468


From: "Aron Roberts" aronroberts@gmail.com

To: "Al Bersch" abersch@museumca.org
Cc: "talk" talk@lists.collectionspace.org
Sent: Monday, September 9, 2013 1:15:54 PM

Subject: Re: [Talk] in creating tenant, build failed for ant undeploy deploy

Hi Al,

A suggestion: would you be willing to try out CollectionSpace 4.0?
This release, likely to become available later this week for community
QA testing, introduces some simplifications when a) getting started in
setting up your tenant and a great many simplifications when b)
customizing CollectionSpace for your museum.

If so, we can follow-up about how you can get that now. There's
already an update to the 'create your new tenant' instructions for
v4.0 here:

http://wiki.collectionspace.org/display/UNRELEASED/Creating+your+new+tenant

Glen Jackson of our Museum Informatics team and I walked through the
above instructions and successfully created a new tenant, for the
BAM/PFA CineFiles instance that he and his colleagues are working on,
last Friday.

As for the problem you're experiencing, in your helpfully detailed
report, it sounds like the Ant buildfile that's asking Maven to build
the 'updateobjectlocationonmove' event handler/listener - the one that
keeps Cataloging records updated with an object's current location
from its related movement records, as those are added or changed - is
reporting a Maven error.

From within:

/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove

Try:

mvn clean install -X

(the -X will spit out verbose log messages)

That's pretty much what the 'ant install' target is doing here:

https://github.com/collectionspace/services/blob/v3.3/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml#L64

And you might note that the 'ant deploy' target is calling 'ant
installl' ("under the hood") here:

https://github.com/collectionspace/services/blob/v3.3/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml#L64

Aron

On Mon, Sep 9, 2013 at 12:23 PM, Al Bersch abersch@museumca.org wrote:

Hello again all,

I wasn't able to solve the problem in with our settings.xml file, and
decided to rebuild our tenant. However, when I ran "ant undeploy deploy"
in
the collectionspace-services directory (as user cpace), and with cspace
servers shut down, I'm getting this message:

BUILD FAILED

/home/cspace/source/collectionspace-services/build.xml:257: The following
error occurred while executing this line:

/home/cspace/source/collectionspace-services/3rdparty/build.xml:121: The
following error occurred while executing this line:

/home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133:
The following error occurred while executing this line:

/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118:
The following error occurred while executing this line:

/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67:
exec returned: 1

the lines in question (copied from the above-referenced build.xml files):

in /home/cspace/source/collectionspace-services/build.xml:257:

<ant antfile="3rdparty/build.xml" target="deploy" inheritAll="false"/>

In /home/cspace/source/collectionspace-services/3rdparty/build.xml:121:

<ant antfile="nuxeo/build.xml" target="deploy" inheritall="false"/>

In
/home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133:

<ant antfile="nuxeo-platform-listener/build.xml" target="deploy" inheritall="false"/>

<!-- Disabled due to integration issues between ImageMagick and Ghostscript on Linux systems <ant antfile="nuxeo-platform-thumbnail/build.xml" target="deploy" inheritall="false"/> -->

In

/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118:

<ant antfile="updateobjectlocationonmove/build.xml" target="deploy" inheritall="false"/>

In

/home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67:

<exec executable="mvn" failonerror="true">

Any ideas you all may have would be much appreciated!

Thanks,

Al

Al Bersch
Digital Project Coordinator
Oakland Museum of California
1000 Oak Street, Oakland, CA 94607
abersch@museumca.org
510-318-8468


Talk mailing list
Talk@lists.collectionspace.org

http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Hi Aron, Thanks again. An installer tool sounds great. In terms of this round of questions, from cd/home/cspace/source/collectionspace-services/services/common, I ran mvn clean install -DskipTests -X, and came up with errors. Here's a snippet from the end. thanks again... and i'm happy to abandon this thread if concentrating on installing 4.0 for OMCA would be better use of time. Al ---------- 14 required artifacts are missing. for artifact: org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT from the specified remote repositories: collectionspace-remote-repos (http://nightly.collectionspace.org:8081/artifactory/remote-repos), maven2-repository.dev.java.net (http://download.java.net/maven/2), libs-releases-local (http://nightly.collectionspace.org:8081/artifactory/libs-release-local), 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://nightly.collectionspace.org:8081/artifactory/nuxeo-public), el4jReleaseRepositoryExternal (http://public-el4.elca-services.ch/el4j/maven2repository), Apache (https://repository.apache.org/content/groups/public/), public-snapshot (http://maven.nuxeo.org/public-snapshot) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:711) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing: ---------- 1) org.collectionspace.services:org.collectionspace.services.config:jar:3.3-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.config -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.config -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT 2) org.collectionspace.services:org.collectionspace.services.config:jar:3.3-SNAPSHOT 2) org.collectionspace.services:org.collectionspace.services.3rdparty.nuxeo.thumbnail:jar:3.3-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.3rdparty.nuxeo.thumbnail -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.3rdparty.nuxeo.thumbnail -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT 2) org.collectionspace.services:org.collectionspace.services.3rdparty.nuxeo.thumbnail:jar:3.3-SNAPSHOT 3) org.collectionspace.services:org.collectionspace.services.authorization-mgt.client:jar:3.3-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.authorization-mgt.client -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.authorization-mgt.client -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT 2) org.collectionspace.services:org.collectionspace.services.authorization-mgt.client:jar:3.3-SNAPSHOT 4) org.collectionspace.services:org.collectionspace.services.relation.client:jar:3.3-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.relation.client -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.relation.client -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT 2) org.collectionspace.services:org.collectionspace.services.relation.client:jar:3.3-SNAPSHOT 5) org.collectionspace.services:org.collectionspace.services.publicitem.client:jar:3.3-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.publicitem.client -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.publicitem.client -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT 2) org.collectionspace.services:org.collectionspace.services.publicitem.client:jar:3.3-SNAPSHOT 6) org.collectionspace.services:org.collectionspace.services.publicitem.jaxb:jar:3.3-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.publicitem.jaxb -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.publicitem.jaxb -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT 2) org.collectionspace.services:org.collectionspace.services.publicitem.jaxb:jar:3.3-SNAPSHOT 7) org.collectionspace.services:org.collectionspace.services.jaxb:jar:3.3-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.jaxb -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.jaxb -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT 2) org.collectionspace.services:org.collectionspace.services.jaxb:jar:3.3-SNAPSHOT 8) org.collectionspace.services:org.collectionspace.services.authority.jaxb:jar:3.3-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.authority.jaxb -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.authority.jaxb -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT 2) org.collectionspace.services:org.collectionspace.services.authority.jaxb:jar:3.3-SNAPSHOT 9) org.collectionspace.services:org.collectionspace.services.hyperjaxb:jar:3.3-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.hyperjaxb -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.hyperjaxb -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT 2) org.collectionspace.services:org.collectionspace.services.hyperjaxb:jar:3.3-SNAPSHOT 10) org.collectionspace.services:org.collectionspace.services.client:jar:3.3-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.client -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.client -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT 2) org.collectionspace.services:org.collectionspace.services.client:jar:3.3-SNAPSHOT 11) org.collectionspace.services:org.collectionspace.services.authentication.jaxb:jar:3.3-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.authentication.jaxb -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.authentication.jaxb -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT 2) org.collectionspace.services:org.collectionspace.services.authentication.jaxb:jar:3.3-SNAPSHOT 12) org.collectionspace.services:org.collectionspace.services.authentication.service:jar:3.3-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.authentication.service -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.authentication.service -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT 2) org.collectionspace.services:org.collectionspace.services.authentication.service:jar:3.3-SNAPSHOT 13) org.collectionspace.services:org.collectionspace.services.authorization.jaxb:jar:3.3-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.authorization.jaxb -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.authorization.jaxb -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT 2) org.collectionspace.services:org.collectionspace.services.authorization.jaxb:jar:3.3-SNAPSHOT 14) org.collectionspace.services:org.collectionspace.services.authorization.service:jar:3.3-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.collectionspace.services -DartifactId=org.collectionspace.services.authorization.service -Dversion=3.3-SNAPSHOT -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.collectionspace.services -DartifactId=org.collectionspace.services.authorization.service -Dversion=3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT 2) org.collectionspace.services:org.collectionspace.services.authorization.service:jar:3.3-SNAPSHOT ---------- 14 required artifacts are missing. for artifact: org.collectionspace.services:org.collectionspace.services.common:jar:3.3-SNAPSHOT from the specified remote repositories: collectionspace-remote-repos (http://nightly.collectionspace.org:8081/artifactory/remote-repos), maven2-repository.dev.java.net (http://download.java.net/maven/2), libs-releases-local (http://nightly.collectionspace.org:8081/artifactory/libs-release-local), 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://nightly.collectionspace.org:8081/artifactory/nuxeo-public), el4jReleaseRepositoryExternal (http://public-el4.elca-services.ch/el4j/maven2repository), Apache (https://repository.apache.org/content/groups/public/), public-snapshot (http://maven.nuxeo.org/public-snapshot) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:360) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:304) at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1499) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:442) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 17 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2 minutes 58 seconds [INFO] Finished at: Mon Sep 09 20:42:42 UTC 2013 [INFO] Final Memory: 67M/283M [INFO] ------------------------------------------------------------------------ Al Bersch Digital Project Coordinator Oakland Museum of California 1000 Oak Street, Oakland, CA 94607 abersch@museumca.org 510-318-8468 ----- Original Message ----- From: "Aron Roberts" <aronroberts@gmail.com> To: "Al Bersch" <abersch@museumca.org> Cc: "talk" <talk@lists.collectionspace.org> Sent: Monday, September 9, 2013 1:33:25 PM Subject: Re: [Talk] in creating tenant, build failed for ant undeploy deploy Thanks, Al and Jesse. This message suggests that, possibly, the JAR file for the 'common' module - one of the most important modules in the CollectionSpace's Services layer - for some reason wasn't successfully installed into your local Maven repository. It's worth trying to build that module by itself, for starters, to see if there are any errors: cd /home/cspace/source/collectionspace-services/services/common mvn clean install -DskipTests -X If not, then you might try a full 'mvn clean install' from /home/cspace/source/collectionspace-services, check for errors, and then try your 'ant undeploy deploy' once again from that directory. On Mon, Sep 9, 2013 at 1:23 PM, Al Bersch <abersch@museumca.org> wrote: > Hi Aron, > > Thanks for your response. And yes, I'd definitely be interested in trying > out CollectionSpace 4.0. Let me know where to start, and I'll try it out. > > in the meantime I'll try running mvn clean install -X. > > thanks, > > Al > > Al Bersch > Digital Project Coordinator > Oakland Museum of California > 1000 Oak Street, Oakland, CA 94607 > abersch@museumca.org > 510-318-8468 > ________________________________ > From: "Aron Roberts" <aronroberts@gmail.com> > > To: "Al Bersch" <abersch@museumca.org> > Cc: "talk" <talk@lists.collectionspace.org> > Sent: Monday, September 9, 2013 1:15:54 PM > > Subject: Re: [Talk] in creating tenant, build failed for ant undeploy deploy > > Hi Al, > > A suggestion: would you be willing to try out CollectionSpace 4.0? > This release, likely to become available later this week for community > QA testing, introduces some simplifications when a) getting started in > setting up your tenant and a *great many* simplifications when b) > customizing CollectionSpace for your museum. > > If so, we can follow-up about how you can get that now. There's > already an update to the 'create your new tenant' instructions for > v4.0 here: > > http://wiki.collectionspace.org/display/UNRELEASED/Creating+your+new+tenant > > Glen Jackson of our Museum Informatics team and I walked through the > above instructions and successfully created a new tenant, for the > BAM/PFA CineFiles instance that he and his colleagues are working on, > last Friday. > > As for the problem you're experiencing, in your helpfully detailed > report, it sounds like the Ant buildfile that's asking Maven to build > the 'updateobjectlocationonmove' event handler/listener - the one that > keeps Cataloging records updated with an object's current location > from its related movement records, as those are added or changed - is > reporting a Maven error. > > From within: > > /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove > > Try: > > mvn clean install -X > > (the -X will spit out verbose log messages) > > That's pretty much what the 'ant install' target is doing here: > > https://github.com/collectionspace/services/blob/v3.3/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml#L64 > > And you might note that the 'ant deploy' target is calling 'ant > installl' ("under the hood") here: > > https://github.com/collectionspace/services/blob/v3.3/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml#L64 > > Aron > > > > On Mon, Sep 9, 2013 at 12:23 PM, Al Bersch <abersch@museumca.org> wrote: >> Hello again all, >> >> I wasn't able to solve the problem in with our settings.xml file, and >> decided to rebuild our tenant. However, when I ran "ant undeploy deploy" >> in >> the collectionspace-services directory (as user cpace), and with cspace >> servers shut down, I'm getting this message: >> >> BUILD FAILED >> >> /home/cspace/source/collectionspace-services/build.xml:257: The following >> error occurred while executing this line: >> >> /home/cspace/source/collectionspace-services/3rdparty/build.xml:121: The >> following error occurred while executing this line: >> >> /home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133: >> The following error occurred while executing this line: >> >> >> /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118: >> The following error occurred while executing this line: >> >> >> /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67: >> exec returned: 1 >> >> >> >> >> the lines in question (copied from the above-referenced build.xml files): >> >> >> in /home/cspace/source/collectionspace-services/build.xml:257: >> >> >> <ant antfile="3rdparty/build.xml" target="deploy" inheritAll="false"/> >> >> >> In /home/cspace/source/collectionspace-services/3rdparty/build.xml:121: >> >> >> <ant antfile="nuxeo/build.xml" target="deploy" inheritall="false"/> >> >> >> In >> /home/cspace/source/collectionspace-services/3rdparty/nuxeo/build.xml:133: >> >> >> <ant antfile="nuxeo-platform-listener/build.xml" target="deploy" >> inheritall="false"/> >> >> <!-- Disabled due to integration issues >> between ImageMagick and Ghostscript on Linux systems >> >> <ant antfile="nuxeo-platform-thumbnail/build.xml" target="deploy" >> inheritall="false"/> >> >> --> >> >> >> In >> >> /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/build.xml:118: >> >> >> <ant antfile="updateobjectlocationonmove/build.xml" target="deploy" >> inheritall="false"/> >> >> >> In >> >> /home/cspace/source/collectionspace-services/3rdparty/nuxeo/nuxeo-platform-listener/updateobjectlocationonmove/build.xml:67: >> >> >> <exec executable="mvn" failonerror="true"> >> >> >> >> Any ideas you all may have would be much appreciated! >> >> Thanks, >> >> >> Al >> >> >> Al Bersch >> Digital Project Coordinator >> Oakland Museum of California >> 1000 Oak Street, Oakland, CA 94607 >> abersch@museumca.org >> 510-318-8468 >> >> _______________________________________________ >> Talk mailing list >> Talk@lists.collectionspace.org >> >> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >> >