talk@lists.collectionspace.org

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

View all threads

troubles with the installation

B
badboy
Tue, Apr 26, 2016 8:52 AM

Hi, everyone

I install CSpace 4.3 on Ubuntu 16.04  with manual,  I meet the error when I
run 'mvn clean install -DskipTests', and the error are the following

......
Downloading:
https://repo.maven.apache.org/maven2/org/collectionspace/services/org.collectionspace.services.common-api/4.3/org.collectionspace.services.common-api-4.3.jar
[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] Root ............................................... SUCCESS [01:01
min]
[INFO] CSP: General Utils ................................. SUCCESS [01:18
min]
[INFO] Collection-Space CSP API ........................... SUCCESS [
4.937 s]
[INFO] CSP: Impl .......................................... FAILURE [
44.759 s]
[INFO] Collection-Space CSP Helper ........................ SKIPPED
[INFO] CSP: Schema ........................................ SKIPPED
[INFO] JXUtils ............................................ SKIPPED
[INFO] CSP: Web UI ........................................ SKIPPED
[INFO] CSP: File .......................................... SKIPPED
[INFO] CSP: Services ...................................... SKIPPED
[INFO] CSP: Installation .................................. SKIPPED
[INFO] tomcat-main ........................................ SKIPPED
[INFO] war-entry .......................................... SKIPPED
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 03:11 min
[INFO] Finished at: 2016-04-26T15:45:30+08:00
[INFO] Final Memory: 20M/61M
[INFO]

[ERROR] Failed to execute goal on project csp-impl: Could not resolve
dependencies for project org.collectionspace:csp-impl:jar:4.3: Could not
find artifact
org.collectionspace.services:org.collectionspace.services.common-api:jar:4.3
in collectionspace-remote-repos (
http://nightly.collectionspace.org:8081/artifactory/remote-repos) -> [Help
1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]  mvn <goals> -rf :csp-impl

How can I fix them?

thanks!

Chenhe

--
¤╭⌒╮ ╭⌒╮ 相识也是缘份;
╱◥███◣ ╭⌒╮再见亦是朋友。
︱田︱田 田| ╰-------------
╬╬╬╬╬╬╬╬╬╬╬╬╬╬

Hi, everyone I install CSpace 4.3 on Ubuntu 16.04 with manual, I meet the error when I run 'mvn clean install -DskipTests', and the error are the following ...... Downloading: https://repo.maven.apache.org/maven2/org/collectionspace/services/org.collectionspace.services.common-api/4.3/org.collectionspace.services.common-api-4.3.jar [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Root ............................................... SUCCESS [01:01 min] [INFO] CSP: General Utils ................................. SUCCESS [01:18 min] [INFO] Collection-Space CSP API ........................... SUCCESS [ 4.937 s] [INFO] CSP: Impl .......................................... FAILURE [ 44.759 s] [INFO] Collection-Space CSP Helper ........................ SKIPPED [INFO] CSP: Schema ........................................ SKIPPED [INFO] JXUtils ............................................ SKIPPED [INFO] CSP: Web UI ........................................ SKIPPED [INFO] CSP: File .......................................... SKIPPED [INFO] CSP: Services ...................................... SKIPPED [INFO] CSP: Installation .................................. SKIPPED [INFO] tomcat-main ........................................ SKIPPED [INFO] war-entry .......................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 03:11 min [INFO] Finished at: 2016-04-26T15:45:30+08:00 [INFO] Final Memory: 20M/61M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project csp-impl: Could not resolve dependencies for project org.collectionspace:csp-impl:jar:4.3: Could not find artifact org.collectionspace.services:org.collectionspace.services.common-api:jar:4.3 in collectionspace-remote-repos ( http://nightly.collectionspace.org:8081/artifactory/remote-repos) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :csp-impl How can I fix them? thanks! Chenhe -- ¤╭⌒╮ ╭⌒╮ 相识也是缘份; ╱◥███◣ ╭⌒╮再见亦是朋友。 ︱田︱田 田| ╰------------- ╬╬╬╬╬╬╬╬╬╬╬╬╬╬
RM
Richard Millet
Tue, Apr 26, 2016 2:05 PM

Chenhe,

This appears to be a problem building the Application layer.  Based on this error, it looks like you may need to build the Services layer first.  From the Services layer root directory, run:

mvn clean install -DskipTests

Then switch back to the Application layer root directory and run:

mvn clean install -DskipTests

I hope that help.

-Richard


From: Talk talk-bounces@lists.collectionspace.org on behalf of badboy lucky0610@gmail.com
Sent: Tuesday, April 26, 2016 1:52 AM
To: talk@lists.collectionspace.org
Subject: [Talk] troubles with the installation

Hi, everyone

I install CSpace 4.3 on Ubuntu 16.04  with manual,  I meet the error when I run 'mvn clean install -DskipTests', and the error are the following

......
Downloading: https://repo.maven.apache.org/maven2/org/collectionspace/services/org.collectionspace.services.common-api/4.3/org.collectionspace.services.common-api-4.3.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Root ............................................... SUCCESS [01:01 min]
[INFO] CSP: General Utils ................................. SUCCESS [01:18 min]
[INFO] Collection-Space CSP API ........................... SUCCESS [  4.937 s]
[INFO] CSP: Impl .......................................... FAILURE [ 44.759 s]
[INFO] Collection-Space CSP Helper ........................ SKIPPED
[INFO] CSP: Schema ........................................ SKIPPED
[INFO] JXUtils ............................................ SKIPPED
[INFO] CSP: Web UI ........................................ SKIPPED
[INFO] CSP: File .......................................... SKIPPED
[INFO] CSP: Services ...................................... SKIPPED
[INFO] CSP: Installation .................................. SKIPPED
[INFO] tomcat-main ........................................ SKIPPED
[INFO] war-entry .......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:11 min
[INFO] Finished at: 2016-04-26T15:45:30+08:00
[INFO] Final Memory: 20M/61M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project csp-impl: Could not resolve dependencies for project org.collectionspace:csp-impl:jar:4.3: Could not find artifact org.collectionspace.services:org.collectionspace.services.common-api:jar:4.3 in collectionspace-remote-repos (http://nightly.collectionspace.org:8081/artifactory/remote-repos) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]  mvn <goals> -rf :csp-impl

How can I fix them?

thanks!

Chenhe

--
¤??? ??? ??????;
???????? ??????????
?????? ?| ?-------------
????????????????

Chenhe, This appears to be a problem building the Application layer. Based on this error, it looks like you may need to build the Services layer first. From the Services layer root directory, run: mvn clean install -DskipTests Then switch back to the Application layer root directory and run: mvn clean install -DskipTests I hope that help. -Richard ________________________________ From: Talk <talk-bounces@lists.collectionspace.org> on behalf of badboy <lucky0610@gmail.com> Sent: Tuesday, April 26, 2016 1:52 AM To: talk@lists.collectionspace.org Subject: [Talk] troubles with the installation Hi, everyone I install CSpace 4.3 on Ubuntu 16.04 with manual, I meet the error when I run 'mvn clean install -DskipTests', and the error are the following ...... Downloading: https://repo.maven.apache.org/maven2/org/collectionspace/services/org.collectionspace.services.common-api/4.3/org.collectionspace.services.common-api-4.3.jar [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Root ............................................... SUCCESS [01:01 min] [INFO] CSP: General Utils ................................. SUCCESS [01:18 min] [INFO] Collection-Space CSP API ........................... SUCCESS [ 4.937 s] [INFO] CSP: Impl .......................................... FAILURE [ 44.759 s] [INFO] Collection-Space CSP Helper ........................ SKIPPED [INFO] CSP: Schema ........................................ SKIPPED [INFO] JXUtils ............................................ SKIPPED [INFO] CSP: Web UI ........................................ SKIPPED [INFO] CSP: File .......................................... SKIPPED [INFO] CSP: Services ...................................... SKIPPED [INFO] CSP: Installation .................................. SKIPPED [INFO] tomcat-main ........................................ SKIPPED [INFO] war-entry .......................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 03:11 min [INFO] Finished at: 2016-04-26T15:45:30+08:00 [INFO] Final Memory: 20M/61M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project csp-impl: Could not resolve dependencies for project org.collectionspace:csp-impl:jar:4.3: Could not find artifact org.collectionspace.services:org.collectionspace.services.common-api:jar:4.3 in collectionspace-remote-repos (http://nightly.collectionspace.org:8081/artifactory/remote-repos) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :csp-impl How can I fix them? thanks! Chenhe -- ¤??? ??? ??????; ???????? ?????????? ?????? ?| ?------------- ????????????????
B
badboy
Wed, Apr 27, 2016 1:44 PM

Richard,

It works! Thank you!
For some reason, I have reinstall the Ubuntu. and at the building step, I
built the Service layer first, and built the Application layer, and the UI
layer last. The three applications all built successfully.

Thank you again!

Chenhe

2016-04-26 22:05 GMT+08:00 Richard Millet richard.millet@lyrasis.org:

Chenhe,

This appears to be a problem building the Application layer.  Based on
this error, it looks like you may need to build the Services layer first.
From the Services layer root directory, run:

mvn clean install -DskipTests

Then switch back to the Application layer root directory and run:

mvn clean install -DskipTests

I hope that help.

-Richard


From: Talk talk-bounces@lists.collectionspace.org on behalf of badboy
lucky0610@gmail.com
Sent: Tuesday, April 26, 2016 1:52 AM
To: talk@lists.collectionspace.org
Subject: [Talk] troubles with the installation

Hi, everyone

I install CSpace 4.3 on Ubuntu 16.04  with manual,  I meet the error when
I run 'mvn clean install -DskipTests', and the error are the following

......
Downloading:
https://repo.maven.apache.org/maven2/org/collectionspace/services/org.collectionspace.services.common-api/4.3/org.collectionspace.services.common-api-4.3.jar
[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] Root ............................................... SUCCESS [01:01
min]
[INFO] CSP: General Utils ................................. SUCCESS [01:18
min]
[INFO] Collection-Space CSP API ........................... SUCCESS [
4.937 s]
[INFO] CSP: Impl .......................................... FAILURE [
44.759 s]
[INFO] Collection-Space CSP Helper ........................ SKIPPED
[INFO] CSP: Schema ........................................ SKIPPED
[INFO] JXUtils ............................................ SKIPPED
[INFO] CSP: Web UI ........................................ SKIPPED
[INFO] CSP: File .......................................... SKIPPED
[INFO] CSP: Services ...................................... SKIPPED
[INFO] CSP: Installation .................................. SKIPPED
[INFO] tomcat-main ........................................ SKIPPED
[INFO] war-entry .......................................... SKIPPED
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 03:11 min
[INFO] Finished at: 2016-04-26T15:45:30+08:00
[INFO] Final Memory: 20M/61M
[INFO]

[ERROR] Failed to execute goal on project csp-impl: Could not resolve
dependencies for project org.collectionspace:csp-impl:jar:4.3: Could not
find artifact
org.collectionspace.services:org.collectionspace.services.common-api:jar:4.3
in collectionspace-remote-repos (
http://nightly.collectionspace.org:8081/artifactory/remote-repos) ->
[Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]  mvn <goals> -rf :csp-impl

How can I fix them?

thanks!

Chenhe

--
¤╭⌒╮ ╭⌒╮ 相识也是缘份;
╱◥███◣ ╭⌒╮再见亦是朋友。
︱田︱田 田| ╰-------------
╬╬╬╬╬╬╬╬╬╬╬╬╬╬

--
¤╭⌒╮ ╭⌒╮ 相识也是缘份;
╱◥███◣ ╭⌒╮再见亦是朋友。
︱田︱田 田| ╰-------------
╬╬╬╬╬╬╬╬╬╬╬╬╬╬

Richard, It works! Thank you! For some reason, I have reinstall the Ubuntu. and at the building step, I built the Service layer first, and built the Application layer, and the UI layer last. The three applications all built successfully. Thank you again! Chenhe 2016-04-26 22:05 GMT+08:00 Richard Millet <richard.millet@lyrasis.org>: > Chenhe, > > > This appears to be a problem building the Application layer. Based on > this error, it looks like you may need to build the Services layer first. > From the Services layer root directory, run: > > > mvn clean install -DskipTests > > > Then switch back to the Application layer root directory and run: > > > mvn clean install -DskipTests > > > I hope that help. > > > -Richard > > > ------------------------------ > *From:* Talk <talk-bounces@lists.collectionspace.org> on behalf of badboy > <lucky0610@gmail.com> > *Sent:* Tuesday, April 26, 2016 1:52 AM > *To:* talk@lists.collectionspace.org > *Subject:* [Talk] troubles with the installation > > Hi, everyone > > I install CSpace 4.3 on Ubuntu 16.04 with manual, I meet the error when > I run 'mvn clean install -DskipTests', and the error are the following > > ...... > Downloading: > https://repo.maven.apache.org/maven2/org/collectionspace/services/org.collectionspace.services.common-api/4.3/org.collectionspace.services.common-api-4.3.jar > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Root ............................................... SUCCESS [01:01 > min] > [INFO] CSP: General Utils ................................. SUCCESS [01:18 > min] > [INFO] Collection-Space CSP API ........................... SUCCESS [ > 4.937 s] > [INFO] CSP: Impl .......................................... FAILURE [ > 44.759 s] > [INFO] Collection-Space CSP Helper ........................ SKIPPED > [INFO] CSP: Schema ........................................ SKIPPED > [INFO] JXUtils ............................................ SKIPPED > [INFO] CSP: Web UI ........................................ SKIPPED > [INFO] CSP: File .......................................... SKIPPED > [INFO] CSP: Services ...................................... SKIPPED > [INFO] CSP: Installation .................................. SKIPPED > [INFO] tomcat-main ........................................ SKIPPED > [INFO] war-entry .......................................... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 03:11 min > [INFO] Finished at: 2016-04-26T15:45:30+08:00 > [INFO] Final Memory: 20M/61M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal on project csp-impl: Could not resolve > dependencies for project org.collectionspace:csp-impl:jar:4.3: Could not > find artifact > org.collectionspace.services:org.collectionspace.services.common-api:jar:4.3 > in collectionspace-remote-repos ( > http://nightly.collectionspace.org:8081/artifactory/remote-repos) -> > [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :csp-impl > > How can I fix them? > > thanks! > > Chenhe > > > > -- > ¤╭⌒╮ ╭⌒╮ 相识也是缘份; > ╱◥███◣ ╭⌒╮再见亦是朋友。 > ︱田︱田 田| ╰------------- > ╬╬╬╬╬╬╬╬╬╬╬╬╬╬ > -- ¤╭⌒╮ ╭⌒╮ 相识也是缘份; ╱◥███◣ ╭⌒╮再见亦是朋友。 ︱田︱田 田| ╰------------- ╬╬╬╬╬╬╬╬╬╬╬╬╬╬