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