DSpace CRIS 5.10 - BUILD FAILURE

44 views
Skip to first unread message

Dr Mohammed Abdul Hannan Hazari

unread,
May 28, 2019, 9:34:29 AM5/28/19
to DSpace Technical Support
I have being trying to install DSpace CRIS 5.10 on Windows Server with following configuration:
Architecture Platform: x64
OS: Windows Server 2008 Standard Edition
JDK: Oracle JDK 1.7.79 x64
Apache Ant: 1.8.4
Apache Maven: 3.0.5

Build failure is occurring at Article Metrics :: All :: Retrieve API stage. Following is the log

[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ dspace-api ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ dspace-api ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ dspace-api ---
[INFO] Building jar: C:\DCRIS\DCRIS-5.10\dspace-api\target\dspace-api-CRIS-5.10.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-jar-plugin:2.5:test-jar (default) @ dspace-api ---
[INFO] Skipping packaging of the test-jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Article Metrics :: Modules CRIS-5.10.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (native2ascii-utf8) @ dspace-cris-ametrics ---
[INFO] Executing tasks

Encode any UTF-8 chars in properties:
[INFO] Executed tasks
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Article Metrics :: All CRIS-5.10.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (native2ascii-utf8) @ article-metrics-all ---
[INFO] Executing tasks

Encode any UTF-8 chars in properties:
[INFO] Executed tasks
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Article Metrics :: All :: Retrieve API CRIS-5.10.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://nexus.4science.it/repository/maven-public/org/codehaus/mojo/exec-maven-plugin/1.2/exec-maven-plugin-1.2.pom
Downloading: https://oss.sonatype.org/content/repositories/releases/org/codehaus/mojo/exec-maven-plugin/1.2/exec-maven-plugin-1.2.pom
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/exec-maven-plugin/1.2/exec-maven-plugin-1.2.pom
Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/exec-maven-plugin/1.2/exec-maven-plugin-1.2.pom (7 KB at 19.7 KB/sec)
Downloading: https://nexus.4science.it/repository/maven-public/org/codehaus/mojo/mojo-parent/24/mojo-parent-24.pom
Downloading: https://oss.sonatype.org/content/repositories/releases/org/codehaus/mojo/mojo-parent/24/mojo-parent-24.pom
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/mojo-parent/24/mojo-parent-24.pom
Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/mojo-parent/24/mojo-parent-24.pom (23 KB at 58.7 KB/sec)
Downloading: https://nexus.4science.it/repository/maven-public/org/codehaus/mojo/exec-maven-plugin/1.2/exec-maven-plugin-1.2.jar
Downloading: https://oss.sonatype.org/content/repositories/releases/org/codehaus/mojo/exec-maven-plugin/1.2/exec-maven-plugin-1.2.jar
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/exec-maven-plugin/1.2/exec-maven-plugin-1.2.jar
Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/exec-maven-plugin/1.2/exec-maven-plugin-1.2.jar (36 KB at 95.8 KB/sec)
Downloading: https://nexus.4science.it/repository/maven-public/it/cilea/commons-cilea-genericdao/2.5/commons-cilea-genericdao-2.5.pom
Downloading: https://github.com/4Science/mvn-repo/raw/master/releases/it/cilea/commons-cilea-genericdao/2.5/commons-cilea-genericdao-2.5.pom
Downloading: https://oss.sonatype.org/content/repositories/releases/it/cilea/commons-cilea-genericdao/2.5/commons-cilea-genericdao-2.5.pom
Downloading: http://repo.maven.apache.org/maven2/it/cilea/commons-cilea-genericdao/2.5/commons-cilea-genericdao-2.5.pom
Downloading: https://nexus.4science.it/repository/maven-public/org/hibernate/hibernate-core/4.2.21.Final/hibernate-core-4.2.21.Final.pom
Downloading: https://github.com/4Science/mvn-repo/raw/master/releases/org/hibernate/hibernate-core/4.2.21.Final/hibernate-core-4.2.21.Final.pom
Downloading: https://oss.sonatype.org/content/repositories/releases/org/hibernate/hibernate-core/4.2.21.Final/hibernate-core-4.2.21.Final.pom
Downloading: http://repo.maven.apache.org/maven2/org/hibernate/hibernate-core/4.2.21.Final/hibernate-core-4.2.21.Final.pom
Downloaded: http://repo.maven.apache.org/maven2/org/hibernate/hibernate-core/4.2.21.Final/hibernate-core-4.2.21.Final.pom (10 KB at 26.9 KB/sec)
Downloading: https://nexus.4science.it/repository/maven-public/org/jboss/logging/jboss-logging/3.1.0.GA/jboss-logging-3.1.0.GA.pom
Downloading: https://github.com/4Science/mvn-repo/raw/master/releases/org/jboss/logging/jboss-logging/3.1.0.GA/jboss-logging-3.1.0.GA.pom
Downloading: https://oss.sonatype.org/content/repositories/releases/org/jboss/logging/jboss-logging/3.1.0.GA/jboss-logging-3.1.0.GA.pom
Downloading: http://repo.maven.apache.org/maven2/org/jboss/logging/jboss-logging/3.1.0.GA/jboss-logging-3.1.0.GA.pom
Downloaded: http://repo.maven.apache.org/maven2/org/jboss/logging/jboss-logging/3.1.0.GA/jboss-logging-3.1.0.GA.pom (6 KB at 17.3 KB/sec)
Downloading: https://nexus.4science.it/repository/maven-public/org/jboss/jboss-parent/7/jboss-parent-7.pom
Downloading: https://github.com/4Science/mvn-repo/raw/master/releases/org/jboss/jboss-parent/7/jboss-parent-7.pom
Downloading: https://oss.sonatype.org/content/repositories/releases/org/jboss/jboss-parent/7/jboss-parent-7.pom
Downloading: http://repo.maven.apache.org/maven2/org/jboss/jboss-parent/7/jboss-parent-7.pom
Downloaded: http://repo.maven.apache.org/maven2/org/jboss/jboss-parent/7/jboss-parent-7.pom (22 KB at 57.5 KB/sec)
Downloading: https://nexus.4science.it/repository/maven-public/org/jboss/spec/javax/transaction/jboss-transaction-api_1.1_spec/1.0.1.Final/jboss-transaction-api_1.1_spec-1.0.1.Final.pom
Downloading: https://github.com/4Science/mvn-repo/raw/master/releases/org/jboss/spec/javax/transaction/jboss-transaction-api_1.1_spec/1.0.1.Final/jboss-transaction-api_1.1_spec-1.0.1.Final.pom
Downloading: https://oss.sonatype.org/content/repositories/releases/org/jboss/spec/javax/transaction/jboss-transaction-api_1.1_spec/1.0.1.Final/jboss-transaction-api_1.1_spec-1.0.1.Final.pom
Downloading: http://repo.maven.apache.org/maven2/org/jboss/spec/javax/transaction/jboss-transaction-api_1.1_spec/1.0.1.Final/jboss-transaction-api_1.1_spec-1.0.1.Final.pom
Downloaded: http://repo.maven.apache.org/maven2/org/jboss/spec/javax/transaction/jboss-transaction-api_1.1_spec/1.0.1.Final/jboss-transaction-api_1.1_spec-1.0.1.Final.pom (4 KB at 11.6 KB/sec)
Downloading: https://nexus.4science.it/repository/maven-public/org/jboss/jboss-parent/9/jboss-parent-9.pom
Downloading: https://github.com/4Science/mvn-repo/raw/master/releases/org/jboss/jboss-parent/9/jboss-parent-9.pom
Downloading: https://oss.sonatype.org/content/repositories/releases/org/jboss/jboss-parent/9/jboss-parent-9.pom
Downloading: http://repo.maven.apache.org/maven2/org/jboss/jboss-parent/9/jboss-parent-9.pom
Downloaded: http://repo.maven.apache.org/maven2/org/jboss/jboss-parent/9/jboss-parent-9.pom (28 KB at 81.3 KB/sec)
Downloading: https://nexus.4science.it/repository/maven-public/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.1.Final/hibernate-jpa-2.0-api-1.0.1.Final.pom
Downloading: https://github.com/4Science/mvn-repo/raw/master/releases/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.1.Final/hibernate-jpa-2.0-api-1.0.1.Final.pom
Downloading: https://oss.sonatype.org/content/repositories/releases/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.1.Final/hibernate-jpa-2.0-api-1.0.1.Final.pom
Downloading: http://repo.maven.apache.org/maven2/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.1.Final/hibernate-jpa-2.0-api-1.0.1.Final.pom
Downloaded: http://repo.maven.apache.org/maven2/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.1.Final/hibernate-jpa-2.0-api-1.0.1.Final.pom (7 KB at 18.5 KB/sec)
Downloading: https://nexus.4science.it/repository/maven-public/org/hibernate/common/hibernate-commons-annotations/4.0.2.Final/hibernate-commons-annotations-4.0.2.Final.pom
Downloading: https://github.com/4Science/mvn-repo/raw/master/releases/org/hibernate/common/hibernate-commons-annotations/4.0.2.Final/hibernate-commons-annotations-4.0.2.Final.pom
Downloading: https://oss.sonatype.org/content/repositories/releases/org/hibernate/common/hibernate-commons-annotations/4.0.2.Final/hibernate-commons-annotations-4.0.2.Final.pom
Downloading: http://repo.maven.apache.org/maven2/org/hibernate/common/hibernate-commons-annotations/4.0.2.Final/hibernate-commons-annotations-4.0.2.Final.pom
Downloaded: http://repo.maven.apache.org/maven2/org/hibernate/common/hibernate-commons-annotations/4.0.2.Final/hibernate-commons-annotations-4.0.2.Final.pom (16 KB at 44.0 KB/sec)
Downloading: https://nexus.4science.it/repository/maven-public/org/jboss/logging/jboss-logging/3.1.0.CR2/jboss-logging-3.1.0.CR2.pom
Downloading: https://github.com/4Science/mvn-repo/raw/master/releases/org/jboss/logging/jboss-logging/3.1.0.CR2/jboss-logging-3.1.0.CR2.pom
Downloading: https://oss.sonatype.org/content/repositories/releases/org/jboss/logging/jboss-logging/3.1.0.CR2/jboss-logging-3.1.0.CR2.pom
Downloading: http://repo.maven.apache.org/maven2/org/jboss/logging/jboss-logging/3.1.0.CR2/jboss-logging-3.1.0.CR2.pom
Downloaded: http://repo.maven.apache.org/maven2/org/jboss/logging/jboss-logging/3.1.0.CR2/jboss-logging-3.1.0.CR2.pom (6 KB at 17.3 KB/sec)
Downloading: https://nexus.4science.it/repository/maven-public/org/jboss/jboss-parent/6/jboss-parent-6.pom
Downloading: https://github.com/4Science/mvn-repo/raw/master/releases/org/jboss/jboss-parent/6/jboss-parent-6.pom
Downloading: https://oss.sonatype.org/content/repositories/releases/org/jboss/jboss-parent/6/jboss-parent-6.pom
Downloading: http://repo.maven.apache.org/maven2/org/jboss/jboss-parent/6/jboss-parent-6.pom
Downloaded: http://repo.maven.apache.org/maven2/org/jboss/jboss-parent/6/jboss-parent-6.pom (23 KB at 65.4 KB/sec)
Downloading: https://nexus.4science.it/repository/maven-public/org/hibernate/hibernate-ehcache/4.2.21.Final/hibernate-ehcache-4.2.21.Final.pom
Downloading: https://github.com/4Science/mvn-repo/raw/master/releases/org/hibernate/hibernate-ehcache/4.2.21.Final/hibernate-ehcache-4.2.21.Final.pom
Downloading: https://oss.sonatype.org/content/repositories/releases/org/hibernate/hibernate-ehcache/4.2.21.Final/hibernate-ehcache-4.2.21.Final.pom
Downloading: http://repo.maven.apache.org/maven2/org/hibernate/hibernate-ehcache/4.2.21.Final/hibernate-ehcache-4.2.21.Final.pom
Downloaded: http://repo.maven.apache.org/maven2/org/hibernate/hibernate-ehcache/4.2.21.Final/hibernate-ehcache-4.2.21.Final.pom (7 KB at 19.3 KB/sec)
Downloading: https://nexus.4science.it/repository/maven-public/net/sf/ehcache/ehcache-core/2.4.3/ehcache-core-2.4.3.pom
Downloading: https://github.com/4Science/mvn-repo/raw/master/releases/net/sf/ehcache/ehcache-core/2.4.3/ehcache-core-2.4.3.pom
Downloading: https://oss.sonatype.org/content/repositories/releases/net/sf/ehcache/ehcache-core/2.4.3/ehcache-core-2.4.3.pom
Downloading: http://repo.maven.apache.org/maven2/net/sf/ehcache/ehcache-core/2.4.3/ehcache-core-2.4.3.pom
Downloaded: http://repo.maven.apache.org/maven2/net/sf/ehcache/ehcache-core/2.4.3/ehcache-core-2.4.3.pom (35 KB at 99.5 KB/sec)
Downloading: https://nexus.4science.it/repository/maven-public/net/sf/ehcache/ehcache-parent/2.2/ehcache-parent-2.2.pom
Downloading: https://github.com/4Science/mvn-repo/raw/master/releases/net/sf/ehcache/ehcache-parent/2.2/ehcache-parent-2.2.pom
Downloading: https://oss.sonatype.org/content/repositories/releases/net/sf/ehcache/ehcache-parent/2.2/ehcache-parent-2.2.pom
Downloading: http://repo.maven.apache.org/maven2/net/sf/ehcache/ehcache-parent/2.2/ehcache-parent-2.2.pom
Downloaded: http://repo.maven.apache.org/maven2/net/sf/ehcache/ehcache-parent/2.2/ehcache-parent-2.2.pom (20 KB at 55.5 KB/sec)
Downloading: https://nexus.4science.it/repository/maven-public/cglib/cglib-nodep/3.1/cglib-nodep-3.1.pom
Downloading: https://github.com/4Science/mvn-repo/raw/master/releases/cglib/cglib-nodep/3.1/cglib-nodep-3.1.pom
Downloading: https://oss.sonatype.org/content/repositories/releases/cglib/cglib-nodep/3.1/cglib-nodep-3.1.pom
Downloading: http://repo.maven.apache.org/maven2/cglib/cglib-nodep/3.1/cglib-nodep-3.1.pom
Downloaded: http://repo.maven.apache.org/maven2/cglib/cglib-nodep/3.1/cglib-nodep-3.1.pom (2 KB at 3.3 KB/sec)
Downloading: https://nexus.4science.it/repository/maven-public/javassist/javassist/3.12.1.GA/javassist-3.12.1.GA.pom
Downloading: https://github.com/4Science/mvn-repo/raw/master/releases/javassist/javassist/3.12.1.GA/javassist-3.12.1.GA.pom
Downloading: https://oss.sonatype.org/content/repositories/releases/javassist/javassist/3.12.1.GA/javassist-3.12.1.GA.pom
Downloading: http://repo.maven.apache.org/maven2/javassist/javassist/3.12.1.GA/javassist-3.12.1.GA.pom
Downloaded: http://repo.maven.apache.org/maven2/javassist/javassist/3.12.1.GA/javassist-3.12.1.GA.pom (6 KB at 16.6 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] DSpace Parent Project ............................. SUCCESS [11:33.883s]
[INFO] DSpace Services Framework :: API and Implementation  SUCCESS [8:12.218s]
[INFO] DSpace Kernel :: API and Implementation ........... SUCCESS [24:17.429s]
[INFO] Article Metrics :: Modules ........................ SUCCESS [0.141s]
[INFO] Article Metrics :: All ............................ SUCCESS [0.156s]
[INFO] Article Metrics :: All :: Retrieve API ............ FAILURE [23.296s]
[INFO] DSpace JSP-UI ..................................... SKIPPED
[INFO] DSpace CRIS ....................................... SKIPPED
[INFO] DSpace CRIS :: API ................................ SKIPPED
[INFO] Article Metrics :: All :: Lookup API .............. SKIPPED
[INFO] Article Metrics :: PubMed :: Lookup JSP Web ....... SKIPPED
[INFO] DSpace Addon Modules .............................. SKIPPED
[INFO] DSpace Kernel :: Additions and Local Customizations  SKIPPED
[INFO] DSpace XML-UI (Manakin) ........................... SKIPPED
[INFO] DSpace CRIS :: Web Application Resources .......... SKIPPED
[INFO] DSpace CRIS :: JSPUI API .......................... SKIPPED
[INFO] DSpace CRIS :: API ................................ SKIPPED
[INFO] CRIS :: WS API .................................... SKIPPED
[INFO] CRIS Webservices Webapp ........................... SKIPPED
[INFO] DSpace XML-UI (Manakin) :: Local Customizations ... SKIPPED
[INFO] DSpace ResourceSync ............................... SKIPPED
[INFO] DSpace JSP-UI :: Local Customizations ............. SKIPPED
[INFO] DSpace RDF ........................................ SKIPPED
[INFO] DSpace RDF :: Local Customizations ................ SKIPPED
[INFO] DSpace REST :: API and Implementation ............. SKIPPED
[INFO] DSpace REST :: Local Customizations ............... SKIPPED
[INFO] DSpace SWORD ...................................... SKIPPED
[INFO] DSpace SWORD :: Local Customizations .............. SKIPPED
[INFO] DSpace SWORD v2 ................................... SKIPPED
[INFO] DSpace SWORD v2 :: Local Customizations ........... SKIPPED
[INFO] Apache Solr Webapp ................................ SKIPPED
[INFO] DSpace SOLR :: Local Customizations ............... SKIPPED
[INFO] DSpace OAI-PMH .................................... SKIPPED
[INFO] DSpace OAI-PMH :: Local Customizations ............ SKIPPED
[INFO] DSpace ResourceSync :: Local Customizations ....... SKIPPED
[INFO] DSpace Assembly and Configuration ................. SKIPPED
[INFO] DSpace XML-UI Mirage2 Theme ....................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 44:29.185s
[INFO] Finished at: Fri May 24 19:09:37 IST 2019
[INFO] Final Memory: 48M/269M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project metrics-retrieve: Could not resolve dependencies for project org.dspace:metrics-retrieve:jar:CRIS-5.10.0-SNAPSHOT: Failed to collect dependencies for [org.dspace:dspace-api:jar:CRIS-5.10.0-SNAPSHOT (compile), org.apache.httpcomponents:httpcore:jar:4.3.2 (compile), org.apache.httpcomponents:httpclient:jar:4.3.5 (compile), commons-io:commons-io:jar:2.4 (compile), javax.servlet:javax.servlet-api:jar:3.0.1 (compile), it.cilea:commons-cilea-genericdao:jar:2.5 (compile), org.hibernate:hibernate-core:jar:4.2.21.Final (compile), org.hibernate.common:hibernate-commons-annotations:jar:4.0.2.Final (compile), org.hibernate:hibernate-ehcache:jar:4.2.21.Final (compile), cglib:cglib-nodep:jar:3.1 (compile), javassist:javassist:jar:3.12.1.GA (compile), org.springframework:spring-core:jar:3.2.16.RELEASE (compile)]: Failed to read artifact descriptor for it.cilea:commons-cilea-genericdao:jar:2.5: Could not transfer artifact it.cilea:commons-cilea-genericdao:pom:2.5 from/to 4science-repo-nexus (https://nexus.4science.it/repository/maven-public/): peer not authenticated -> [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 :metrics-retrieve
 
Can anyone point out the problem and assist in overcoming the error.

Dr Mohammed Abdul Hannan Hazari

unread,
May 29, 2019, 3:46:58 AM5/29/19
to DSpace Technical Support
The build failure at Article Metrics :: All :: Retrieve API was due to SSL certificates at the repository websites. I have downloaded the certificates and imported them into JRE security library. Then the build was able to proceed further till it reached DSpace ResourceSync where it failed. The error thrown is "Plugin org.dspace:dspace-rs:war or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.dspace:dspace-rs:jar:war: Could not transfer artifact org.dspace:dspace-rs:pom:war from/to sonatype-releases (https://oss.sonatype.org/content/repositories/releases/): Received fatal alert: protocol_version -> [Help 1]"
I have manually checked the repository, the dependencies are actually absent on this repository. The dependency is also not present at https://nexus.4science.it. This stage i.e. dspace-rs is not present in the previous release DSpace-CRIS 5.8 nor in the DSpace CRIS 6.3.
Can anyone help in locating these dependencies.

Dr Mohammed Abdul Hannan Hazari

unread,
May 30, 2019, 6:21:50 AM5/30/19
to DSpace Technical Support
The dependency is present at https://github.com/4Science/mvn-repo/tree/master/snapshots/org/dspace/resourcesync/1.1-SNAPSHOT but Could not transfer artifact org.dspace:dspace-rs:pom:war from/to 4science-repo-github-snapshots (https://github.com/4Science/mvn-repo/raw/master/snapshots/)

The problem may be the connection encryption of github.com which uses TLSv1.3. The TLSv1.3 is available in java 11 and not the previous versions of java.

Dr Mohammed Abdul Hannan Hazari

unread,
Jun 7, 2019, 1:58:43 AM6/7/19
to DSpace Technical Support
I was able to install DSpace CRIS 5.10 on Windows Server 2008 Standard Edition with the following parameters:
JDK: 1.8.0_212
MAVEN: 3.6.1
ANT: 1.9.9
Reply all
Reply to author
Forward
0 new messages