You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Deparvu (JIRA)" <ji...@apache.org> on 2018/10/01 09:25:00 UTC

[jira] [Created] (OAK-7792) Update maven-enforcer-plugin in oak-parent

Alex Deparvu created OAK-7792:
---------------------------------

             Summary: Update maven-enforcer-plugin in oak-parent
                 Key: OAK-7792
                 URL: https://issues.apache.org/jira/browse/OAK-7792
             Project: Jackrabbit Oak
          Issue Type: Task
          Components: parent
            Reporter: Alex Deparvu
            Assignee: Alex Deparvu


Current {{maven-enforcer-plugin}} as defined in {{oak-parent}} is not working on java 11.
Happily this is only used in oak-run where it was already updated to a version that works (via OAK-7577).
I suggest we unify the 2 versions to the one that works and set it in oak-parent.

Added a fake java version enforce to trigger the failure (this doesn't happen in oak  by default):
{noformat}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce (enforce-java) on project oak-core: 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
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)