You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Francesco Chicchiriccò (Jira)" <ji...@apache.org> on 2019/09/03 08:25:00 UTC

[jira] [Resolved] (SYNCOPE-1483) maven-enforcer-plugin: API incompatibility fails the build

     [ https://issues.apache.org/jira/browse/SYNCOPE-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francesco Chicchiriccò resolved SYNCOPE-1483.
---------------------------------------------
    Resolution: Fixed

Thanks [~mmoayyed]!

> 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
>            Assignee: Francesco Chicchiriccò
>            Priority: Minor
>              Labels: maven
>             Fix For: 3.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> - 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)