org.apache.maven.it
Class MavenITmng2068ReactorRelativeParentsTest

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

public class MavenITmng2068ReactorRelativeParentsTest
extends AbstractMavenIntegrationTestCase

This is a test set for MNG-2068. Verify that a multimodule build, built from the middle node in an inheritance hierarchy, can find all parent POMs necessary to build each project in the reactor using ONLY the relativePath from the parent specification (in this case, the implied one of '../pom.xml').

Author:
jdcasey

Field Summary
 
Fields inherited from class org.apache.maven.it.AbstractMavenIntegrationTestCase
ALL_MAVEN_VERSIONS
 
Constructor Summary
MavenITmng2068ReactorRelativeParentsTest()
           
 
Method Summary
 void testitComplex()
          Test that the implied relative path for the parent POM works, even two levels deep.
 void testitExplicitIdFields()
          Test successful lineage construction when parent specifies groupId+version itself.
 void testitInheritedIdFields()
          Test successful lineage construction when parent inherits groupId+version from grand-parent.
 
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

MavenITmng2068ReactorRelativeParentsTest

public MavenITmng2068ReactorRelativeParentsTest()
Method Detail

testitInheritedIdFields

public void testitInheritedIdFields()
                             throws Exception
Test successful lineage construction when parent inherits groupId+version from grand-parent.

Throws:
Exception

testitExplicitIdFields

public void testitExplicitIdFields()
                            throws Exception
Test successful lineage construction when parent specifies groupId+version itself.

Throws:
Exception

testitComplex

public void testitComplex()
                   throws Exception
Test that the implied relative path for the parent POM works, even two levels deep.

Throws:
Exception


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