[
https://issues.apache.org/jira/browse/MNG-7319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17437017#comment-17437017
]
Maarten Mulders edited comment on MNG-7319 at 11/1/21, 9:13 PM:
----------------------------------------------------------------
I will run {{git bisect}} to see where the problem originated.
(First {{git bisect}} was wrong)
was (Author: mthmulders):
I've done a {{git bisect}} :
{quote}5c36bf5ef78a162cefea47ccdaf0d28e01c1426c is the first bad commit
{quote}
Which is strange, because it doesn't touch the POM. I actually suspected some
plugin upgrade to be the root cause...
> Maven 4 (SNAPSHOT) can't build itself
> -------------------------------------
>
> Key: MNG-7319
> URL: https://issues.apache.org/jira/browse/MNG-7319
> Project: Maven
> Issue Type: Bug
> Components: Core
> Environment: Apache Maven 4.0.0-alpha-1-SNAPSHOT
> (a5f1bca9efdb19b6a04db9e31101c55d40a34559)
> Maven home: /home/maarten/Junk/apache-maven-4.0.0-alpha-1-SNAPSHOT
> Java version: 16.0.1, vendor: AdoptOpenJDK, runtime:
> /usr/lib/jvm/adoptopenjdk-16-hotspot-amd64
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "5.11.0-34-generic", arch: "amd64", family: "unix"
> Reporter: Maarten Mulders
> Priority: Blocker
> Fix For: 4.0.0-alpha-1
>
>
> Apache Maven 4.0.0-alpha-1-SNAPSHOT
> (a5f1bca9efdb19b6a04db9e31101c55d40a34559) can't build itself.
> The build fails at the very first plugin on the very first module:
> {quote}[ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce
> (enforce-maven-version) on project maven-bom: Execution enforce-maven-version
> 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.NoSuchMethodError: 'void
> org.apache.maven.plugin.PluginParameterExpressionEvaluator.<init>(org.apache.maven.execution.MavenSession,
> org.apache.maven.plugin.MojoExecution,
> org.apache.maven.project.path.PathTranslator,
> org.codehaus.plexus.logging.Logger, org.apache.maven.project.MavenProject,
> java.util.Properties)'{quote}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)