DSpace 7.0 Beta1 Release Install problem

60 views
Skip to first unread message

Eric Montague

unread,
Apr 3, 2020, 11:44:55 AM4/3/20
to DSpace Technical Support
I'm trying to install the Beta1 Release on Windows 10

mvn package is failing with

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce (enforce-java) on project dspace-parent:
Execution enforce-java of goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce failed:
An API incompatibility was encountered while executing org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce: java.lang.ExceptionInInitializerError: null

Here is the Maven version:

C:\DSpace-dspace-7.0-beta1>mvn -version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\apache-maven-3.6.3\bin\..
Java version: 11, vendor: Oracle Corporation, runtime: C:\jdk-11
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"


Tim Donohue

unread,
Apr 3, 2020, 12:40:27 PM4/3/20
to Eric Montague, DSpace Technical Support
Hi Eric,

Thanks for the bug report. I've logged this as a ticket here:
https://jira.lyrasis.org/browse/DS-4476

It appears like you've discovered that our version of "maven-enforcer-plugin" is outdated and won't work properly on Oracle JDK 11.  As noted in the bug ticket above, I *think* the fix should be to simply update the version of the "maven-enforcer-plugin" on the below line to be "3.0.0-M3": https://github.com/DSpace/DSpace/blob/master/pom.xml#L63

Would you be willing to try this out for us and report back whether it works on your environment?  It's just editing that one line, changing "<version>1.4.1</version>" to be "<version>3.0.0-M3</version>" and retrying the build to see if it succeeds.

Thanks

Tim

From: dspac...@googlegroups.com <dspac...@googlegroups.com> on behalf of Eric Montague <ericm...@comcast.net>
Sent: Friday, April 3, 2020 1:39 AM
To: DSpace Technical Support <dspac...@googlegroups.com>
Subject: [dspace-tech] DSpace 7.0 Beta1 Release Install problem
 
--
All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/a042daa2-88e3-4be7-8580-0bc49054c9d2%40googlegroups.com.

Eric Montague

unread,
Apr 3, 2020, 1:22:35 PM4/3/20
to Tim Donohue, DSpace Technical Support

Thanks Tim,


I made the change to "<version>3.0.0-M3</version>" and it worked fine.


[INFO] Reactor Summary for DSpace Parent Project 7.0-beta1:
[INFO]
[INFO] DSpace Parent Project .............................. SUCCESS [  5.897 s]
[INFO] DSpace Services Framework :: API and Implementation  SUCCESS [ 22.361 s]
[INFO] DSpace Kernel :: API and Implementation ............ SUCCESS [01:43 min]
[INFO] DSpace Addon Modules ............................... SUCCESS [  0.577 s]
[INFO] DSpace Kernel :: Additions and Local Customizations  SUCCESS [  4.004 s]
[INFO] DSpace OAI-PMH ..................................... SUCCESS [  8.835 s]
[INFO] DSpace RDF ......................................... SUCCESS [  2.375 s]
[INFO] DSpace SWORD ....................................... SUCCESS [  7.181 s]
[INFO] DSpace SWORD v2 .................................... SUCCESS [  5.078 s]
[INFO] DSpace Server Webapp ............................... SUCCESS [ 29.001 s]
[INFO] DSpace Server Webapp:: Local Customizations ........ SUCCESS [ 18.581 s]
[INFO] DSpace Assembly and Configuration .................. SUCCESS [01:23 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  04:51 min
[INFO] Finished at: 2020-04-03T10:12:12-07:00
[INFO] ------------------------------------------------------------------------


- eric


P.S. I'm very happy you have released a Beta.
I admire the work you all are doing.

Tim Donohue

unread,
Apr 3, 2020, 1:24:41 PM4/3/20
to Eric Montague, DSpace Technical Support
Thanks for reporting back, Eric!  Your feedback definitely helps us ensure that things are working in different build environments / operating systems.

I'll get this change applied to the codebase then.

Tim

From: Eric Montague <ericm...@comcast.net>
Sent: Friday, April 3, 2020 12:22 PM
To: Tim Donohue <tim.d...@lyrasis.org>; DSpace Technical Support <dspac...@googlegroups.com>
Subject: Re: [dspace-tech] DSpace 7.0 Beta1 Release Install problem
 

Eric Montague

unread,
Apr 3, 2020, 5:50:47 PM4/3/20
to DSpace Technical Support
Just to follow up.

I successfully completed the install of the Backend (Server API) on Windows 10.

- eric
Reply all
Reply to author
Forward
0 new messages