talk@lists.collectionspace.org

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

View all threads

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

AB
Al Bersch
Tue, Sep 10, 2013 8:28 PM

Hi Aron (and all),

Thanks for that suggestion - the client is now installed and up and running. Hooray!

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
Sent: Tuesday, September 10, 2013 11:58:01 AM
Subject: Re: [Talk] in creating tenant, build failed for ant undeploy deploy

My apologies, Al; I'm working around commuting and a morning meeting today.

You can run 'mvn clean install -DskipTests'; in this instance, there's
no need to run services tests. That should help the installation
succeed, and then you can try the 'ant undeploy deploy' step.

On Tue, Sep 10, 2013 at 10:03 AM, Al Bersch abersch@museumca.org wrote:

Hi Aron,

Thanks again! It looks like I might have a problem with the java connection,
but what do you think?

I got build failure when I ran 'mvn clean install' from
/home/cspace/source/collections-services. i ran the command as user cspace.

Here is the error message:

Results :

Failed tests:

create(org.collectionspace.services.authorization.client.test.PermissionServiceTest)

seedData(org.collectionspace.services.authorization.client.test.RolePermissionServiceTest)

create(org.collectionspace.services.authorization.client.test.RolePermissionServiceTest)

create(org.collectionspace.services.authorization.client.test.RoleServiceTest)

seedData(org.collectionspace.services.authorization.client.test.PermissionRoleServiceTest)

create(org.collectionspace.services.authorization.client.test.PermissionRoleServiceTest)

Tests run: 82, Failures: 6, Errors: 0, Skipped: 66

[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] There are test failures.

Please refer to
/home/cspace/source/collectionspace-services/services/authorization-mgt/client/target/surefire-reports
for the individual test results.
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 41 seconds
[INFO] Finished at: Tue Sep 10 16:53:48 UTC 2013
[INFO] Final Memory: 148M/353M
[INFO]

I then referred to
/home/cspace/source/collectionspace-services/services/authorization-mgt/client/target/surefire-reports
for the testng-results.xml files. It looks like a problem happened with the
connection to java. here are some details from the testng-resulsts.xml file:

<?xml version="1.0" encoding="UTF-8"?> <testng-results skipped="66" failed="4" total="80" passed="10"> <reporter-output> </reporter-output> <suite name="Command line suite" duration-ms="1200" started-at="2013-09-10T16:53:43Z" finished-at="2013-09-10T16:53:44Z"> <groups> </groups> <test name="Command line test" duration-ms="1200" started-at="2013-09-10T16:53:43Z" finished-at="2013-09-10T16:53:44Z"> <class name="org.collectionspace.services.authorization.client.test.PermissionServiceTest"> <test-method status="PASS" signature="beforeMethod(java.lang.reflect.Method)" name="beforeMethod" is-config="true" duration-ms="9" started-at="2013-09-10T16:53:43Z" finished-at="2013-09-10T16:53:43Z"> <params> <param index="0"> <value> <![CDATA[public void org.collectionspace.services.client.test.AbstractServiceTestImpl.create(java.lang.String) throws java.lang.Exception]]> </value> </param> </params> </test-method> <test-method status="FAIL" signature="create(java.lang.String)" name="create" duration-ms="580" started-at="2013-09-10T16:53:43Z" finished-at="2013-09-10T16:53:43Z"> <params> <param index="0"> <value> <![CDATA[create]]> </value> </param> </params> <exception class="java.lang.AssertionError"> <message> <![CDATA[Status code '404' in response is NOT within the expected set: [201, 400, 401, 403, 409, 500] expected:<true> but was:<false>]]> </message> <full-stacktrace> <![CDATA[java.lang.AssertionError: Status code '404' in response is NOT within the expected set: [201, 400, 401, 403, 409, 500] expected:<true> but was:<false> at org.testng.Assert.fail(Assert.java:89) at org.testng.Assert.failNotEquals(Assert.java:489) at org.testng.Assert.assertTrue(Assert.java:37) at org.collectionspace.services.client.test.AbstractServiceTestImpl.createResource(AbstractServiceTestImpl.java:165) at org.collectionspace.services.client.test.AbstractServiceTestImpl.createWithIdentifier(AbstractServiceTestImpl.java:140)

...

<test-method status="FAIL" signature="create(java.lang.String)" name="create" duration-ms="42" started-at="2013-09-10T16:53:44Z" finished-at="2013-09-10T16:53:44Z">
<params>

<param index="0"> <value> <![CDATA[create]]> </value> </param> </params> <exception class="java.lang.NullPointerException"> <full-stacktrace> <![CDATA[java.lang.NullPointerException at org.collectionspace.services.authorization.client.test.RolePermissionServiceTest.create(RolePermissionServiceTest.java:173)

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
Sent: Monday, September 9, 2013 3:10:40 PM

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

Replying off list for now ...

Thanks! These errors hint that other needed dependencies, such as the
'config' module, required by the 'common' module, haven't yet been
built.

What happens when you try a full 'mvn clean install' from
/home/cspace/source/collectionspace-services? Are there any errors?

If the install proceeds without errors, you can then try the 'ant
undeploy deploy' again ...

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

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:

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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 (and all), Thanks for that suggestion - the client is now installed and up and running. Hooray! 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> Sent: Tuesday, September 10, 2013 11:58:01 AM Subject: Re: [Talk] in creating tenant, build failed for ant undeploy deploy My apologies, Al; I'm working around commuting and a morning meeting today. You can run 'mvn clean install -DskipTests'; in this instance, there's no need to run services tests. That should help the installation succeed, and then you can try the 'ant undeploy deploy' step. On Tue, Sep 10, 2013 at 10:03 AM, Al Bersch <abersch@museumca.org> wrote: > Hi Aron, > > Thanks again! It looks like I might have a problem with the java connection, > but what do you think? > > I got build failure when I ran 'mvn clean install' from > /home/cspace/source/collections-services. i ran the command as user cspace. > > Here is the error message: > > Results : > > Failed tests: > > create(org.collectionspace.services.authorization.client.test.PermissionServiceTest) > > seedData(org.collectionspace.services.authorization.client.test.RolePermissionServiceTest) > > create(org.collectionspace.services.authorization.client.test.RolePermissionServiceTest) > > create(org.collectionspace.services.authorization.client.test.RoleServiceTest) > > seedData(org.collectionspace.services.authorization.client.test.PermissionRoleServiceTest) > > create(org.collectionspace.services.authorization.client.test.PermissionRoleServiceTest) > > Tests run: 82, Failures: 6, Errors: 0, Skipped: 66 > > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] There are test failures. > > Please refer to > /home/cspace/source/collectionspace-services/services/authorization-mgt/client/target/surefire-reports > for the individual test results. > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 41 seconds > [INFO] Finished at: Tue Sep 10 16:53:48 UTC 2013 > [INFO] Final Memory: 148M/353M > [INFO] > ------------------------------------------------------------------------ > > > I then referred to > /home/cspace/source/collectionspace-services/services/authorization-mgt/client/target/surefire-reports > for the testng-results.xml files. It looks like a problem happened with the > connection to java. here are some details from the testng-resulsts.xml file: > > <?xml version="1.0" encoding="UTF-8"?> > <testng-results skipped="66" failed="4" total="80" passed="10"> > <reporter-output> > </reporter-output> > <suite name="Command line suite" duration-ms="1200" > started-at="2013-09-10T16:53:43Z" finished-at="2013-09-10T16:53:44Z"> > <groups> > </groups> > <test name="Command line test" duration-ms="1200" > started-at="2013-09-10T16:53:43Z" finished-at="2013-09-10T16:53:44Z"> > <class > name="org.collectionspace.services.authorization.client.test.PermissionServiceTest"> > <test-method status="PASS" > signature="beforeMethod(java.lang.reflect.Method)" name="beforeMethod" > is-config="true" duration-ms="9" started-at="2013-09-10T16:53:43Z" > finished-at="2013-09-10T16:53:43Z"> > <params> > <param index="0"> > <value> > <![CDATA[public void > org.collectionspace.services.client.test.AbstractServiceTestImpl.create(java.lang.String) > throws java.lang.Exception]]> > </value> > </param> > </params> > </test-method> > <test-method status="FAIL" signature="create(java.lang.String)" > name="create" duration-ms="580" started-at="2013-09-10T16:53:43Z" > finished-at="2013-09-10T16:53:43Z"> > <params> > <param index="0"> > <value> > <![CDATA[create]]> > </value> > </param> > </params> > <exception class="java.lang.AssertionError"> > <message> > <![CDATA[Status code '404' in response is NOT within the > expected set: [201, 400, 401, 403, 409, 500] expected:<true> but > was:<false>]]> > </message> > <full-stacktrace> > <![CDATA[java.lang.AssertionError: Status code '404' in > response is NOT within the expected set: [201, 400, 401, 403, 409, 500] > expected:<true> but was:<false> > at org.testng.Assert.fail(Assert.java:89) > at org.testng.Assert.failNotEquals(Assert.java:489) > at org.testng.Assert.assertTrue(Assert.java:37) > at > org.collectionspace.services.client.test.AbstractServiceTestImpl.createResource(AbstractServiceTestImpl.java:165) > at > org.collectionspace.services.client.test.AbstractServiceTestImpl.createWithIdentifier(AbstractServiceTestImpl.java:140) > > > ... > > <test-method status="FAIL" signature="create(java.lang.String)" > name="create" duration-ms="42" started-at="2013-09-10T16:53:44Z" > finished-at="2013-09-10T16:53:44Z"> > <params> > <param index="0"> > <value> > <![CDATA[create]]> > </value> > </param> > </params> > <exception class="java.lang.NullPointerException"> > <full-stacktrace> > <![CDATA[java.lang.NullPointerException > at > org.collectionspace.services.authorization.client.test.RolePermissionServiceTest.create(RolePermissionServiceTest.java:173) > > > > 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> > Sent: Monday, September 9, 2013 3:10:40 PM > > Subject: Re: [Talk] in creating tenant, build failed for ant undeploy deploy > > Replying off list for now ... > > Thanks! These errors hint that other needed dependencies, such as the > 'config' module, required by the 'common' module, haven't yet been > built. > > What happens when you try a full 'mvn clean install' from > /home/cspace/source/collectionspace-services? Are there any errors? > > If the install proceeds without errors, you can then try the 'ant > undeploy deploy' again ... > > On Mon, Sep 9, 2013 at 1:52 PM, Al Bersch <abersch@museumca.org> wrote: >> 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 >> ________________________________ >> 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 >>>> >>> >> >