Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-7319

Maven 4 (SNAPSHOT) can't build itself

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-2, 4.0.0
    • Core
    • None

    Description

      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:

      [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)'

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              mthmulders Maarten Mulders
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: