Stefan Oehme created MNG-8298: --------------------------------- Summary: 4.x nightly breaks maven-resources plugin (and possibly others) Key: MNG-8298 URL: https://issues.apache.org/jira/browse/MNG-8298 Project: Maven Issue Type: Bug Components: Core Affects Versions: 4.0.x-candidate Reporter: Stefan Oehme
The latest Maven 4.x nightlies no longer work with the latest nightlies of core Maven plugins like the maven-resources plugin. It looks like this was caused by this classloading change: [https://github.com/apache/maven/pull/1336] Example stacktrace when using the latest maven-resources-plugin: {code:java} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:4.0.0-beta-2-SNAPSHOT:resources (default-resources) on project a: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:4.0.0-beta-2-SNAPSHOT:resources failed: Unable to lookup Mojo: Error while initializing binding BindingToConstructor[@Named("org.apache.maven.plugins:maven-resources-plugin:4.0.0-beta-2-SNAPSHOT:resources") ResourcesMojoFactory][]: Error while initializing binding BindingToConstructor[@Named DefaultMavenResourcesFiltering][Dependency[key=BuildContext, optional=false], Dependency[key=MavenFileFilter, optional=false]]: Error while initializing binding BindingToConstructor[@Named DefaultMavenFileFilter][Dependency[key=BuildContext, optional=false]]: Failed to call method static org.sonatype.plexus.build.incremental.BuildContext org.apache.maven.plugins.resources.Providers.buildContext(): org/codehaus/plexus/logging/AbstractLogEnabled: org.codehaus.plexus.logging.AbstractLogEnabled -> [Help 1] {code} Is there a timeline for getting these plugins working again? We'd love to run our tests against the latest of everything to make sure our Maven extension works correctly when 4.0 is released. -- This message was sent by Atlassian Jira (v8.20.10#820010)