org.apache.maven.it
Class MavenITmng4842ParentResolutionOfDependencyPomTest

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.MavenITmng4842ParentResolutionOfDependencyPomTest
All Implemented Interfaces:
Test

public class MavenITmng4842ParentResolutionOfDependencyPomTest
extends AbstractMavenIntegrationTestCase

This is a test set for MNG-4842.

Author:
Benjamin Bentmann

Field Summary
 
Fields inherited from class org.apache.maven.it.AbstractMavenIntegrationTestCase
ALL_MAVEN_VERSIONS
 
Constructor Summary
MavenITmng4842ParentResolutionOfDependencyPomTest()
           
 
Method Summary
 void testitCore()
          Verify that resolution of parent POMs for dependency POMs treats the remote repositories of the current resolution request as dominant when merging with any repositories declared in the dependency POM.
 void testitPlugin()
          Verify that resolution of parent POMs for dependency POMs treats the remote repositories of the current resolution request as dominant when merging with any repositories declared in the dependency POM.
 
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

MavenITmng4842ParentResolutionOfDependencyPomTest

public MavenITmng4842ParentResolutionOfDependencyPomTest()
Method Detail

testitCore

public void testitCore()
                throws Exception
Verify that resolution of parent POMs for dependency POMs treats the remote repositories of the current resolution request as dominant when merging with any repositories declared in the dependency POM. This variant of the test checks dependency resolution by the core.

Throws:
Exception

testitPlugin

public void testitPlugin()
                  throws Exception
Verify that resolution of parent POMs for dependency POMs treats the remote repositories of the current resolution request as dominant when merging with any repositories declared in the dependency POM. This variant of the test checks manual dependency resolution by a plugin.

Throws:
Exception


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