maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nigel Magnay (JIRA)" <>
Subject [jira] Created: (MNG-4511) API incompatibility in MavenProjectBuilder (Maven-3)
Date Fri, 01 Jan 2010 16:40:55 GMT
API incompatibility in MavenProjectBuilder (Maven-3)

                 Key: MNG-4511
             Project: Maven 2 & 3
          Issue Type: Bug
          Components: Plugin API
    Affects Versions: 3.0-alpha-5
         Environment: OSX, commandline, HEAD revision from SVN
            Reporter: Nigel Magnay

I have a plugin which bombs out (using a fresh baked M3 from SVN):

[ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.1-DEV-SNAPSHOT:uberwar
(default-uberwar) on project realtime-application: Execution default-uberwar of goal org.codehaus.cargo:cargo-maven2-plugin:1.1-DEV-SNAPSHOT:uberwar
failed: An API incompatibility was encountered while executing org.codehaus.cargo:cargo-maven2-plugin:1.1-DEV-SNAPSHOT:uberwar:
java.lang.NoSuchMethodError: org.apache.maven.project.MavenProjectBuilder.buildWithDependencies(Ljava/io/File;Lorg/apache/maven/artifact/repository/ArtifactRepository;Lorg/apache/maven/profiles/ProfileManager;)Lorg/apache/maven/project/MavenProject;

I believe the MOJO is using 

     * @component
    private MavenProjectBuilder mavenProjectBuilder;


       MavenProject mavenProject2 = mavenProjectBuilder.buildWithDependencies(
                art2.getFile(), localRepository, profileManager);

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message