maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bentmann (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MNG-4510) NoSuchMethodError when using Maven 3
Date Fri, 01 Jan 2010 15:36:55 GMT

     [ http://jira.codehaus.org/browse/MNG-4510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benjamin Bentmann closed MNG-4510.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0-alpha-6
         Assignee: Benjamin Bentmann

Fixed in [r887311|http://svn.apache.org/viewvc?view=revision&revision=887311].

> NoSuchMethodError when using Maven 3
> ------------------------------------
>
>                 Key: MNG-4510
>                 URL: http://jira.codehaus.org/browse/MNG-4510
>             Project: Maven 2 & 3
>          Issue Type: Bug
>    Affects Versions: 3.0-alpha-5
>         Environment: command line (OS X)
>            Reporter: Nigel Magnay
>            Assignee: Benjamin Bentmann
>             Fix For: 3.0-alpha-6
>
>
> see also https://issues.sonatype.org/browse/FLEXMOJOS-238
> I get the following error when using flexmojos from the command line while using maven
3
> [ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:3.5.0:compile-swf
(default-compile-swf) on project flex-swf: Execution default-compile-swf of goal org.sonatype.flexmojos:flexmojos-maven-plugin:3.5.0:compile-swf
failed: An API incompatibility was encountered while executing org.sonatype.flexmojos:flexmojos-maven-plugin:3.5.0:compile-swf:
java.lang.NoSuchMethodError: org.apache.maven.project.MavenProject.replaceWithActiveArtifact(Lorg/apache/maven/artifact/Artifact;)Lorg/apache/maven/artifact/Artifact;
> -----------------------------------------------------
> realm = plugin>org.sonatype.flexmojos:flexmojos-maven-plugin:3.5.0
> strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> urls[0] = file:/Users/solcott/.m2/repository/org/sonatype/flexmojos/flexmojos-maven-plugin/3.5.0/flexmojos-maven-plugin-3.5.0.jar
> urls[1] = file:/Users/solcott/.m2/repository/com/adobe/flex/compiler/3.4.0.9271/compiler-3.4.0.9271.pom
> urls[2] = file:/Users/solcott/.m2/repository/com/adobe/flex/compiler/asc/3.4.0.9271/asc-3.4.0.9271.jar
> urls[3] = file:/Users/solcott/.m2/repository/com/adobe/flex/compiler/asdoc/3.4.0.9271/asdoc-3.4.0.9271.jar
> urls[4] = file:/Users/solcott/.m2/repository/com/adobe/flex/compiler/batik-all-flex/3.4.0.9271/batik-all-flex-3.4.0.9271.jar
> urls[5] = file:/Users/solcott/.m2/repository/com/adobe/flex/compiler/commons-collections/3.4.0.9271/commons-collections-3.4.0.9271.jar
> urls[6] = file:/Users/solcott/.m2/repository/com/adobe/flex/compiler/commons-discovery/3.4.0.9271/commons-discovery-3.4.0.9271.jar
> urls[7] = file:/Users/solcott/.m2/repository/com/adobe/flex/compiler/commons-logging/3.4.0.9271/commons-logging-3.4.0.9271.jar
> urls[8] = file:/Users/solcott/.m2/repository/com/adobe/flex/compiler/compc/3.4.0.9271/compc-3.4.0.9271.jar
> urls[9] = file:/Users/solcott/.m2/repository/com/adobe/flex/compiler/copylocale/3.4.0.9271/copylocale-3.4.0.9271.jar
> urls[10] = file:/Users/solcott/.m2/repository/com/adobe/flex/compiler/digest/3.4.0.9271/digest-3.4.0.9271.jar
> urls[11] = file:/Users/solcott/.m2/repository/com/adobe/flex/compiler/fcsh/3.4.0.9271/fcsh-3.4.0.9271.jar
> urls[12] = file:/Users/solcott/.m2/repository/com/adobe/flex/compiler/fdb/3.4.0.9271/fdb-3.4.0.9271.jar
> urls[13] = file:/Users/solcott/.m2/repository/com/adobe/flex/compiler/flex-compiler-oem/3.4.0.9271/flex-compiler-oem-3.4.0.9271.jar
> urls[14] = file:/Users/solcott/.m2/repository/com/adobe/flex/compiler/flex-messaging-common/3.4.0.9271/flex-messaging-common-3.4.0.9271.jar
> urls[15] = file:/Users/solcott/.m2/repository/com/adobe/flex/compiler/mm-velocity/3.4.0.9271/mm-velocity-3.4.0.9271.jar
> urls[16] = file:/Users/solcott/.m2/repository/com/adobe/flex/compiler/mxmlc/3.4.0.9271/mxmlc-3.4.0.9271.jar
> urls[17] = file:/Users/solcott/.m2/repository/com/adobe/flex/compiler/optimizer/3.4.0.9271/optimizer-3.4.0.9271.jar
> urls[18] = file:/Users/solcott/.m2/repository/com/adobe/flex/compiler/swfutils/3.4.0.9271/swfutils-3.4.0.9271.jar
> urls[19] = file:/Users/solcott/.m2/repository/com/adobe/flex/compiler/xalan/3.4.0.9271/xalan-3.4.0.9271.jar
> urls[20] = file:/Users/solcott/.m2/repository/com/adobe/flex/compiler/xercesImpl/3.4.0.9271/xercesImpl-3.4.0.9271.jar
> urls[21] = file:/Users/solcott/.m2/repository/com/adobe/flex/compiler/xercesPatch/3.4.0.9271/xercesPatch-3.4.0.9271.jar
> urls[22] = file:/Users/solcott/.m2/repository/com/adobe/flex/compiler/xmlParserAPIs/3.4.0.9271/xmlParserAPIs-3.4.0.9271.jar
> urls[23] = file:/Users/solcott/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.jar
> urls[24] = file:/Users/solcott/.m2/repository/org/apache/xbean/xbean-reflect/3.4/xbean-reflect-3.4.jar
> urls[25] = file:/Users/solcott/.m2/repository/log4j/log4j/1.2.12/log4j-1.2.12.jar
> urls[26] = file:/Users/solcott/.m2/repository/commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.jar
> urls[27] = file:/Users/solcott/.m2/repository/com/google/code/google-collections/google-collect/snapshot-20080530/google-collect-snapshot-20080530.jar
> urls[28] = file:/Users/solcott/.m2/repository/org/sonatype/flexmojos/flexmojos-generator-api/3.5.0/flexmojos-generator-api-3.5.0.jar
> urls[29] = file:/Users/solcott/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.0-beta-3.0.6/plexus-component-annotations-1.0-beta-3.0.6.jar
> urls[30] = file:/Users/solcott/.m2/repository/org/sonatype/flexmojos/flexmojos-generator-graniteds-1.1.0/3.5.0/flexmojos-generator-graniteds-1.1.0-3.5.0.jar
> urls[31] = file:/Users/solcott/.m2/repository/org/codehaus/groovy/groovy/1.6.2/groovy-1.6.2.jar
> urls[32] = file:/Users/solcott/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar
> urls[33] = file:/Users/solcott/.m2/repository/asm/asm/2.2/asm-2.2.jar
> urls[34] = file:/Users/solcott/.m2/repository/junit/junit/3.8.2/junit-3.8.2.jar
> urls[35] = file:/Users/solcott/.m2/repository/org/apache/ant/ant/1.7.1/ant-1.7.1.jar
> urls[36] = file:/Users/solcott/.m2/repository/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.jar
> urls[37] = file:/Users/solcott/.m2/repository/asm/asm-util/2.2.3/asm-util-2.2.3.jar
> urls[38] = file:/Users/solcott/.m2/repository/asm/asm-tree/2.2.3/asm-tree-2.2.3.jar
> urls[39] = file:/Users/solcott/.m2/repository/asm/asm-analysis/2.2.3/asm-analysis-2.2.3.jar
> urls[40] = file:/Users/solcott/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar
> urls[41] = file:/Users/solcott/.m2/repository/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar
> urls[42] = file:/Users/solcott/.m2/repository/org/sonatype/flexmojos/flexmojos-generator-graniteds-2.0.0/3.5.0/flexmojos-generator-graniteds-2.0.0-3.5.0.jar
> urls[43] = file:/Users/solcott/.m2/repository/org/graniteds/granite-generator-share/2.0.0.GA/granite-generator-share-2.0.0.GA.jar
> urls[44] = file:/Users/solcott/.m2/repository/org/codehaus/groovy/groovy-all/1.6.2/groovy-all-1.6.2.jar
> urls[45] = file:/Users/solcott/.m2/repository/javax/jdo/jdo2-api/2.3-ea/jdo2-api-2.3-ea.jar
> urls[46] = file:/Users/solcott/.m2/repository/javax/transaction/jta/1.1/jta-1.1.jar
> urls[47] = file:/Users/solcott/.m2/repository/org/sonatype/flexmojos/flexmojos-generator-constraints/3.5.0/flexmojos-generator-constraints-3.5.0.jar
> urls[48] = file:/Users/solcott/.m2/repository/com/adobe/flex/compiler/asdoc/3.2.0.3958/asdoc-3.2.0.3958-template.zip
> urls[49] = file:/Users/solcott/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
> urls[50] = file:/Users/solcott/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
> urls[51] = file:/Users/solcott/.m2/repository/org/apache/maven/wagon/wagon-file/1.0-beta-2/wagon-file-1.0-beta-2.jar
> urls[52] = file:/Users/solcott/.m2/repository/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.jar
> urls[53] = file:/Users/solcott/.m2/repository/slide/slide-webdavlib/2.1/slide-webdavlib-2.1.jar
> urls[54] = file:/Users/solcott/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar
> urls[55] = file:/Users/solcott/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
> urls[56] = file:/Users/solcott/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
> urls[57] = file:/Users/solcott/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
> urls[58] = file:/Users/solcott/.m2/repository/de/zeigermann/xml/xml-im-exporter/1.1/xml-im-exporter-1.1.jar
> urls[59] = file:/Users/solcott/.m2/repository/org/apache/maven/wagon/wagon-http-lightweight/1.0-beta-2/wagon-http-lightweight-1.0-beta-2.jar
> urls[60] = file:/Users/solcott/.m2/repository/org/apache/maven/wagon/wagon-http-shared/1.0-beta-2/wagon-http-shared-1.0-beta-2.jar
> urls[61] = file:/Users/solcott/.m2/repository/jtidy/jtidy/4aug2000r7-dev/jtidy-4aug2000r7-dev.jar
> urls[62] = file:/Users/solcott/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.9/maven-reporting-api-2.0.9.jar
> urls[63] = file:/Users/solcott/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-10/doxia-sink-api-1.0-alpha-10.jar
> urls[64] = file:/Users/solcott/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar
> urls[65] = file:/Users/solcott/.m2/repository/org/apache/maven/wagon/wagon-ssh-external/1.0-beta-2/wagon-ssh-external-1.0-beta-2.jar
> urls[66] = file:/Users/solcott/.m2/repository/org/apache/maven/wagon/wagon-ssh-common/1.0-beta-2/wagon-ssh-common-1.0-beta-2.jar
> urls[67] = file:/Users/solcott/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
> urls[68] = file:/Users/solcott/.m2/repository/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.jar
> urls[69] = file:/Users/solcott/.m2/repository/org/apache/maven/wagon/wagon-ssh/1.0-beta-2/wagon-ssh-1.0-beta-2.jar
> urls[70] = file:/Users/solcott/.m2/repository/com/jcraft/jsch/0.1.27/jsch-0.1.27.jar
> urls[71] = file:/Users/solcott/.m2/repository/jaxen/jaxen/1.1/jaxen-1.1.jar
> urls[72] = file:/Users/solcott/.m2/repository/xerces/xercesImpl/2.6.2/xercesImpl-2.6.2.jar
> urls[73] = file:/Users/solcott/.m2/repository/xom/xom/1.0/xom-1.0.jar
> urls[74] = file:/Users/solcott/.m2/repository/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar
> urls[75] = file:/Users/solcott/.m2/repository/xalan/xalan/2.6.0/xalan-2.6.0.jar
> urls[76] = file:/Users/solcott/.m2/repository/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar
> urls[77] = file:/Users/solcott/.m2/repository/org/graniteds/granite-generator/1.1.0/granite-generator-1.1.0.jar
> urls[78] = file:/Users/solcott/.m2/repository/org/apache/maven/plugins/maven-eclipse-plugin/2.5/maven-eclipse-plugin-2.5.jar
> urls[79] = file:/Users/solcott/.m2/repository/org/codehaus/plexus/plexus-interactivity-jline/1.0-alpha-5/plexus-interactivity-jline-1.0-alpha-5.jar
> urls[80] = file:/Users/solcott/.m2/repository/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.jar
> urls[81] = file:/Users/solcott/.m2/repository/org/codehaus/plexus/plexus-resources/1.0-alpha-4/plexus-resources-1.0-alpha-4.jar
> urls[82] = file:/Users/solcott/.m2/repository/biz/aQute/bndlib/0.0.145/bndlib-0.0.145.jar
> urls[83] = file:/Users/solcott/.m2/repository/org/apache/maven/shared/maven-osgi/0.2.0/maven-osgi-0.2.0.jar
> urls[84] = file:/Users/solcott/.m2/repository/org/eclipse/core/resources/3.3.0-v20070604/resources-3.3.0-v20070604.jar
> urls[85] = file:/Users/solcott/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/2.0.2/maven-reporting-impl-2.0.2.jar
> urls[86] = file:/Users/solcott/.m2/repository/commons-validator/commons-validator/1.1.4/commons-validator-1.1.4.jar
> urls[87] = file:/Users/solcott/.m2/repository/org/apache/maven/doxia/doxia-core/1.0-alpha-7/doxia-core-1.0-alpha-7.jar
> urls[88] = file:/Users/solcott/.m2/repository/oro/oro/2.0.7/oro-2.0.7.jar
> urls[89] = file:/Users/solcott/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-7/doxia-site-renderer-1.0-alpha-7.jar
> urls[90] = file:/Users/solcott/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-6/plexus-i18n-1.0-beta-6.jar
> urls[91] = file:/Users/solcott/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.2/plexus-velocity-1.1.2.jar
> urls[92] = file:/Users/solcott/.m2/repository/commons-collections/commons-collections/2.0/commons-collections-2.0.jar
> urls[93] = file:/Users/solcott/.m2/repository/velocity/velocity/1.4/velocity-1.4.jar
> urls[94] = file:/Users/solcott/.m2/repository/velocity/velocity-dep/1.4/velocity-dep-1.4.jar
> urls[95] = file:/Users/solcott/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-7/doxia-decoration-model-1.0-alpha-7.jar
> urls[96] = file:/Users/solcott/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
> urls[97] = file:/Users/solcott/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar
> urls[98] = file:/Users/solcott/.m2/repository/org/apache/maven/plugins/maven-source-plugin/2.0.4/maven-source-plugin-2.0.4.jar
> urls[99] = file:/Users/solcott/.m2/repository/de/java2html/java2html/5.0/java2html-5.0.jar
> urls[100] = file:/Users/solcott/.m2/repository/org/aspectj/aspectjrt/1.6.5/aspectjrt-1.6.5.jar
> urls[101] = file:/Users/solcott/.m2/repository/eu/cedarsoft/utils/zip/1.1/zip-1.1.jar
> urls[102] = file:/Users/solcott/.m2/repository/eu/cedarsoft/guice-annotations/1.0/guice-annotations-1.0.jar
> urls[103] = file:/Users/solcott/.m2/repository/com/intellij/annotations/6.0.3/annotations-6.0.3.jar
> urls[104] = file:/Users/solcott/.m2/repository/org/jvnet/animal-sniffer-annotation/1.0/animal-sniffer-annotation-1.0.jar
> urls[105] = file:/Users/solcott/.m2/repository/org/sonatype/flexmojos/flexmojos-tester/3.5.0/flexmojos-tester-3.5.0.jar
> urls[106] = file:/Users/solcott/.m2/repository/net/sf/saxon/saxon-dom/9.0/saxon-dom-9.0.jar
> urls[107] = file:/Users/solcott/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.2/maven-common-artifact-filters-1.2.jar
> urls[108] = file:/Users/solcott/.m2/repository/org/apache/maven/shared/maven-plugin-testing-harness/1.1/maven-plugin-testing-harness-1.1.jar
> Number of foreign imports: 4
> import: Entry[import org.codehaus.plexus.util.xml.pull.XmlSerializer from realm ClassRealm[plexus.core,
parent: null]]
> import: Entry[import org.codehaus.plexus.util.xml.pull.XmlPullParserException from realm
ClassRealm[plexus.core, parent: null]]
> import: Entry[import org.codehaus.plexus.util.xml.pull.XmlPullParser from realm ClassRealm[plexus.core,
parent: null]]
> import: Entry[import org.codehaus.plexus.util.xml.Xpp3Dom from realm ClassRealm[plexus.core,
parent: null]]
> realm = project>com.test:flex-swf:1.0-SNAPSHOT
> strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> Number of foreign imports: 1
> import: Entry[import extension>org.sonatype.flexmojos:flexmojos-maven-plugin:3.5.0
from realm ClassRealm[extension>org.sonatype.flexmojos:flexmojos-maven-plugin:3.5.0, parent:
ClassRealm[plexus.core, parent: null]]]
> Number of parent imports: 20
> import: Entry[import org.codehaus.plexus.personality from realm null]
> import: Entry[import org.codehaus.plexus.logging from realm null]
> import: Entry[import org.codehaus.plexus.lifecycle from realm null]
> import: Entry[import org.codehaus.plexus.context from realm null]
> import: Entry[import org.codehaus.plexus.container from realm null]
> import: Entry[import org.codehaus.plexus.configuration from realm null]
> import: Entry[import org.codehaus.plexus.component from realm null]
> import: Entry[import org.codehaus.plexus.classworlds from realm null]
> import: Entry[import org.codehaus.plexus.PlexusContainerException from realm null]
> import: Entry[import org.codehaus.plexus.PlexusContainer from realm null]
> import: Entry[import org.codehaus.plexus.PlexusConstants from realm null]
> import: Entry[import org.codehaus.plexus.MutablePlexusContainer from realm null]
> import: Entry[import org.codehaus.plexus.DuplicateChildContainerException from realm
null]
> import: Entry[import org.codehaus.plexus.DefaultPlexusContainer from realm null]
> import: Entry[import org.codehaus.plexus.DefaultContainerConfiguration from realm null]
> import: Entry[import org.codehaus.plexus.DefaultComponentRegistry from realm null]
> import: Entry[import org.codehaus.plexus.ContainerConfiguration from realm null]
> import: Entry[import org.codehaus.plexus.ComponentRegistry from realm null]
> import: Entry[import org.codehaus.classworlds from realm null]
> import: Entry[import org.apache.maven from realm null]
> realm = plexus.core
> strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> urls[0] = file:/opt/maven/lib/commons-cli-1.2.jar
> urls[1] = file:/opt/maven/lib/google-collect-snapshot-20080530.jar
> urls[2] = file:/opt/maven/lib/maven-artifact-3.0-alpha-5.jar
> urls[3] = file:/opt/maven/lib/maven-compat-3.0-alpha-5.jar
> urls[4] = file:/opt/maven/lib/maven-core-3.0-alpha-5.jar
> urls[5] = file:/opt/maven/lib/maven-embedder-3.0-alpha-5.jar
> urls[6] = file:/opt/maven/lib/maven-model-3.0-alpha-5.jar
> urls[7] = file:/opt/maven/lib/maven-model-builder-3.0-alpha-5.jar
> urls[8] = file:/opt/maven/lib/maven-plugin-api-3.0-alpha-5.jar
> urls[9] = file:/opt/maven/lib/maven-settings-3.0-alpha-5.jar
> urls[10] = file:/opt/maven/lib/nekohtml-1.9.6.2.jar
> urls[11] = file:/opt/maven/lib/plexus-cipher-1.4.jar
> urls[12] = file:/opt/maven/lib/plexus-component-annotations-1.5.1.jar
> urls[13] = file:/opt/maven/lib/plexus-container-default-1.5.1.jar
> urls[14] = file:/opt/maven/lib/plexus-interpolation-1.11.jar
> urls[15] = file:/opt/maven/lib/plexus-sec-dispatcher-1.3.jar
> urls[16] = file:/opt/maven/lib/plexus-utils-2.0.1.jar
> urls[17] = file:/opt/maven/lib/wagon-file-1.0-beta-6.jar
> urls[18] = file:/opt/maven/lib/wagon-http-lightweight-1.0-beta-6.jar
> urls[19] = file:/opt/maven/lib/wagon-http-shared-1.0-beta-6.jar
> urls[20] = file:/opt/maven/lib/wagon-provider-api-1.0-beta-6.jar
> urls[21] = file:/opt/maven/lib/xbean-reflect-3.4.jar
> urls[22] = file:/opt/maven/lib/xercesMinimal-1.9.6.2.jar
> Number of foreign imports: 0
> -----------------------------------------------------
> -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the
following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
> This wouldn't normally be a problem but m2eclipse uses maven 3 for importing projects.
Importing a flex project into m2eclipse fails because of this problem

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message