[ http://jira.codehaus.org/browse/MNG-4923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-4923. ---------------------------------- Resolution: Fixed Fix Version/s: 3.0.2 Assignee: Benjamin Bentmann Fixed in [r1041800|http://svn.apache.org/viewvc?view=revision&revision=1041800]. > [regression] java.lang.ClassNotFoundException: > org.apache.maven.artifact.ArtifactStatus > --------------------------------------------------------------------------------------- > > Key: MNG-4923 > URL: http://jira.codehaus.org/browse/MNG-4923 > Project: Maven 2 & 3 > Issue Type: Bug > Affects Versions: 3.0, 3.0.1 > Environment: Fedora 14, 64bit > JDK 1.6.0_22 > Reporter: Simon Goodall > Assignee: Benjamin Bentmann > Fix For: 3.0.2 > > Attachments: import-bundle-error.log > > > When attempting to run pax:import-bundle I get the following exception; > java.lang.ClassNotFoundException: org.apache.maven.artifact.ArtifactStatus > I only get this in maven 3, maven 2.2.1 works as expected. > To reproduce, I followed the example in > http://www.sonatype.com/books/mhandbook-stage/reference/sect-osgi-generate-project.html > Namely; > 1) mvn org.ops4j:maven-pax-plugin:create-project > -DgroupId=org.sonatype.mcookbook -DartifactId=osgi-project > -Dversion=1.0-SNAPSHOT > 2) cd osgi-project > 3) mvn pax:import-bundle -DgroupId=org.apache.felix > -DartifactId=org.apache.felix.webconsole -Dversion=1.2.8 > Step three fails. See attached for the output when run with -X > I would expect maven 3 to handle this as I understand it is meant to be > backwards compatible with all maven 2 plugins. -- 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