org.apache.maven.it
Class MavenITmng4269BadReactorResolutionFromOutDirTest

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

public class MavenITmng4269BadReactorResolutionFromOutDirTest
extends AbstractMavenIntegrationTestCase

This is a test set for MNG-4269.

Author:
Brian Fox

Field Summary
 
Fields inherited from class org.apache.maven.it.AbstractMavenIntegrationTestCase
ALL_MAVEN_VERSIONS
 
Constructor Summary
MavenITmng4269BadReactorResolutionFromOutDirTest()
           
 
Method Summary
 void testit()
          Test that dependency resolution from the reactor is not too eager and does not resolve plugin artifacts from the build directory of their plugin project when the plugin project hasn't been built yet.
 
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

MavenITmng4269BadReactorResolutionFromOutDirTest

public MavenITmng4269BadReactorResolutionFromOutDirTest()
Method Detail

testit

public void testit()
            throws Exception
Test that dependency resolution from the reactor is not too eager and does not resolve plugin artifacts from the build directory of their plugin project when the plugin project hasn't been built yet. The technical problem is that the mere existence of a project output directory like target/classes is no sufficient indicator that we can use that for artifact resolution. The project's output directory might just be a left over from a previous build and could be in any state, e.g. incomplete.

Throws:
Exception


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