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/DM5PR2201MB11481168BDFCE29B99E76555EDC70%40DM5PR2201MB1148.namprd22.prod.outlook.com.
