syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Misagh Moayyed (Jira)" <j...@apache.org>
Subject [jira] [Created] (SYNCOPE-1483) maven-enforcer-plugin: API incompatibility fails the build
Date Tue, 03 Sep 2019 07:42:00 GMT
Misagh Moayyed created SYNCOPE-1483:
---------------------------------------

             Summary: maven-enforcer-plugin: API incompatibility fails the build
                 Key: SYNCOPE-1483
                 URL: https://issues.apache.org/jira/browse/SYNCOPE-1483
             Project: Syncope
          Issue Type: Bug
          Components: build-tools
    Affects Versions: 3.0.0
            Reporter: Misagh Moayyed


- Fresh clone of the master branch

- Switch to JDK 11

 
{code:java}
java version "11" 2018-09-25 
Java(TM) SE Runtime Environment 18.9 (build 11+28) 
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11+28, mixed mode){code}
 

Use Apache Maven 3.6.1 
{code:java}
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T23:30:29+04:30){code}
Run:
{code:java}
mvn clean install{code}
See below:
{code:java}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce
(enforce-maven) on project syncope: Execution enforce-maven 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
{code}
{color:#172b4d}Related issue:{color}

https://issues.apache.org/jira/browse/MENFORCER-274 

Switching to 3.0.0.M2 version of plugin allows for a successful build.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message