On 11/12/2007, Elvy <[EMAIL PROTECTED]> wrote:
>
>
> Sorry, actually the error message is :
>
> __
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.codehaus.plexus:plexus-utils:jar:1.4.9-SNAPSHOT
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.codehaus.plexus
> -DartifactId=plexus-utils -Dversion=1.4.9-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file
>
>   Alternatively, if you host your own repository you can deploy the file
> there:
>       mvn deploy:deploy-file -DgroupId=org.codehaus.plexus
> -DartifactId=plexus-utils -Dversion=1.4.9-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>   Path to dependency:
>         1)
> org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.4-SNAPSHOT
>         2) org.codehaus.plexus:plexus-utils:jar:1.4.9-SNAPSHOT
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>
>
> org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.4-20071211.083739-20
> __
>
> This has nothing to do with Felix. But if you know what is going...


correct, this is an issue with the maven-surefire-plugin - for some reason
you seem to
be picking up a snapshot of this plugin, are you referencing this in your
POM, or do you
have the apache snapshot repository listed as a plugin repository?

( the apache snapshot repo is
http://people.apache.org/repo/m2-snapshot-repository )

adding the apache snapshot repository as a plugin repository is not
recommended, as
it ends up pulling in snapshots of maven plugins - if you just want the
1.1.0-SNAPSHOT
version of the bundle plugin you can use the OPS4J snapshot repository:

    <pluginRepository>
      <id>ops4j-snapshots</id>
      <url>http://repository.ops4j.org/mvn-snapshots</url>
      <releases>
        <enabled>false</enabled>
      </releases>
    </pluginRepository>

you could try using "mvn help:effective-pom" to show the combined POM that
Maven
sees after it's combined it with the parent POM, etc. - or use "mvn -X
install" to trace
where the surefire plugin snapshot is pulled in from...

I'll delete this by the end of the week.
>
> -----
> Tell me something you don't know!
> --
> View this message in context:
> http://www.nabble.com/what-about-plexus-utils-1.4.9-SNAPSHOT--tp14273678p14274356.html
> Sent from the Apache Felix - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
-- 
Cheers, Stuart

Reply via email to