Hello, For a while I have had issues maven-pax-plugin with maven 3.0.x. So I was working with Maven 2.x.x.
I tried the above goal with 3.0.3 yesterday, and I'm getting the following error but I do not get this error with maven 2.x.x. Any help will be appreciated. Thanks in advance! Matt [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.125s [INFO] Finished at: Wed Mar 09 16:44:14 CST 2011 [INFO] Final Memory: 6M/15M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.ops4j:maven-pax-plugin:1.4:compile (default-c ompile) on project com.hcsc.itf.osgi.samples.felixbook.inventory.api: Execution default-compile of goal org.ops4j:maven-pax-plugin:1.4:compile failed: An API in compatibility was encountered while executing org.ops4j:maven-pax-plugin:1.4:com pile: java.lang.NoSuchMethodError: org.apache.maven.project.MavenProject.addPlug in(Lorg/apache/maven/model/Plugin;)V [ERROR] ----------------------------------------------------- [ERROR] realm = plugin>org.ops4j:maven-pax-plugin:1.4-484317914 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/C:/Documents%20and%20Settings/I304326/.m2/repository/org /ops4j/maven-pax-plugin/1.4/maven-pax-plugin-1.4.jar [ERROR] urls[1] = file:/C:/Documents%20and%20Settings/I304326/.m2/repository/org /apache/maven/archetype/maven-archetype-core/1.0-alpha-7/maven-archetype-core-1. 0-alpha-7.jar [ERROR] urls[2] = file:/C:/Documents%20and%20Settings/I304326/.m2/repository/org /codehaus/plexus/plexus-velocity/1.1.2/plexus-velocity-1.1.2.jar [ERROR] urls[3] = file:/C:/Documents%20and%20Settings/I304326/.m2/repository/com mons-collections/commons-collections/2.0/commons-collections-2.0.jar [ERROR] urls[4] = file:/C:/Documents%20and%20Settings/I304326/.m2/repository/com mons-logging/commons-logging-api/1.0.4/commons-logging-api-1.0.4.jar [ERROR] urls[5] = file:/C:/Documents%20and%20Settings/I304326/.m2/repository/vel ocity/velocity/1.4/velocity-1.4.jar [ERROR] urls[6] = file:/C:/Documents%20and%20Settings/I304326/.m2/repository/vel ocity/velocity-dep/1.4/velocity-dep-1.4.jar [ERROR] urls[7] = file:/C:/Documents%20and%20Settings/I304326/.m2/repository/dom 4j/dom4j/1.6.1/dom4j-1.6.1.jar [ERROR] urls[8] = file:/C:/Documents%20and%20Settings/I304326/.m2/repository/xml -apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar [ERROR] urls[9] = file:/C:/Documents%20and%20Settings/I304326/.m2/repository/org /apache/maven/shared/maven-downloader/1.0/maven-downloader-1.0.jar
_______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
