You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2010/12/03 14:23:03 UTC

[jira] Updated: (MNG-4923) [regression] java.lang.ClassNotFoundException: org.apache.maven.artifact.ArtifactStatus

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

Benjamin Bentmann updated MNG-4923:
-----------------------------------

    Summary: [regression] java.lang.ClassNotFoundException: org.apache.maven.artifact.ArtifactStatus  (was: java.lang.ClassNotFoundException: org.apache.maven.artifact.ArtifactStatus)

> [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
>         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