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.


On 4/3/2020 9:40 AM, Tim Donohue wrote:
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:* [email protected] <[email protected]> on behalf of Eric Montague <[email protected]>
*Sent:* Friday, April 3, 2020 1:39 AM
*To:* DSpace Technical Support <[email protected]>
*Subject:* [dspace-tech] DSpace 7.0 Beta1 Release Install problem
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"


--
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 [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/a042daa2-88e3-4be7-8580-0bc49054c9d2%40googlegroups.com <https://groups.google.com/d/msgid/dspace-tech/a042daa2-88e3-4be7-8580-0bc49054c9d2%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/253089c6-7516-63df-4698-ce5e709d6534%40comcast.net.

Reply via email to