org.apache.maven.it
Class MavenITmng5006VersionRangeDependencyParentResolutionTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.it.AbstractMavenIntegrationTestCase
              extended by org.apache.maven.it.MavenITmng5006VersionRangeDependencyParentResolutionTest
All Implemented Interfaces:
Test

public class MavenITmng5006VersionRangeDependencyParentResolutionTest
extends AbstractMavenIntegrationTestCase

This is a test set for MNG-5006.

Author:
Benjamin Bentmann

Field Summary
 
Fields inherited from class org.apache.maven.it.AbstractMavenIntegrationTestCase
ALL_MAVEN_VERSIONS
 
Constructor Summary
MavenITmng5006VersionRangeDependencyParentResolutionTest()
           
 
Method Summary
 void testit()
          Verify that resolution of parent POMs of dependencies that use a version range is not restricted to the repository from which the specific dependency version was picked.
 
Methods inherited from class org.apache.maven.it.AbstractMavenIntegrationTestCase
matchesVersionRange, newVerifier, newVerifier, newVerifier, newVerifier, requiresJavaVersion, requiresMavenVersion, runTest, setupLocalRepo
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MavenITmng5006VersionRangeDependencyParentResolutionTest

public MavenITmng5006VersionRangeDependencyParentResolutionTest()
Method Detail

testit

public void testit()
            throws Exception
Verify that resolution of parent POMs of dependencies that use a version range is not restricted to the repository from which the specific dependency version was picked. Or put differently, the fact that a:0.1 was found in repo-1 does not mean parents/dependencies of a:0.1 are also located in that same repo, they could be in any of the originally declared repos.

Throws:
Exception


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.