-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
bugSomething isn't workingSomething isn't workingpriority:majorMajor loss of functionMajor loss of function
Description
Stefan Oehme opened MNG-8298 and commented
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: #1336
Example stacktrace when using the latest maven-resources-plugin:
[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]
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.
Affects: 4.0.x-candidate
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpriority:majorMajor loss of functionMajor loss of function