[ 
http://issues.ops4j.org/browse/PAXEXAM-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13596#action_13596
 ] 

Tim Kettler commented on PAXEXAM-189:
-------------------------------------

This was my first guess, too.

When I remove the exam-plugin from the pom and build against an empty local 
repository, the build is successful. The spring jars contained in the range get 
downloaded and the highest version is included in the classpath of the 
compile-plugin. 

> paxexam-plugin fails to resolve dependencies with a version range
> -----------------------------------------------------------------
>
>                 Key: PAXEXAM-189
>                 URL: http://issues.ops4j.org/browse/PAXEXAM-189
>             Project: Pax Exam
>          Issue Type: Bug
>          Components: Maven Plugin
>    Affects Versions: 1.2.2
>         Environment: Maven 3.0
>            Reporter: Tim Kettler
>            Assignee: Toni Menzel
>         Attachments: pom.xml
>
>
> With a dependency like this in the pom:
>     <dependency>
>       <groupId>org.springframework</groupId>
>       <artifactId>spring-core</artifactId>
>       <version>[3.0.0.RELEASE,3.1.0)</version>
>       <scope>provided</scope>
>     </dependency>
> the build fails with the following error:
>         ...
>       at 
> org.ops4j.pax.exam.mavenplugin.GenerateConfigMojo.execute(GenerateConfigMojo.java:146)
>       at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
>       ... 19 more
> Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: 
> Failure to find org.springframework:spring-core:jar:[3.0.0.RELEASE,3.1.0) in 
> *repourl* was cached in the local repository, resolution will not be 
> reattempted until the update interval of nexus has elapsed or updates are 
> forced
> The attached pom reproduces the problem.

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

        

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to