org.apache.maven.it
Class MavenITmng2921ActiveAttachedArtifactsTest

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

public class MavenITmng2921ActiveAttachedArtifactsTest
extends AbstractMavenIntegrationTestCase

This is a test set for MNG-2921. It naturally includes the test for the related issue MNG-2877 whose original test was too weak to prevent this issue.

Version:
$Id: MavenITmng2921ActiveAttachedArtifactsTest.java 981712 2010-08-03 00:36:19Z bentmann $
Author:
Benjamin Bentmann

Field Summary
 
Fields inherited from class org.apache.maven.it.AbstractMavenIntegrationTestCase
ALL_MAVEN_VERSIONS
 
Constructor Summary
MavenITmng2921ActiveAttachedArtifactsTest()
           
 
Method Summary
 void testitMNG2921()
          Verify that attached project artifacts can be resolved from the reactor as active project artifacts for consumption on other module's class paths.
 
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

MavenITmng2921ActiveAttachedArtifactsTest

public MavenITmng2921ActiveAttachedArtifactsTest()
Method Detail

testitMNG2921

public void testitMNG2921()
                   throws Exception
Verify that attached project artifacts can be resolved from the reactor as active project artifacts for consumption on other module's class paths. Note the subtle difference of this test compared to the closely related issue MNG-2871: This test is about *attached* artifacts, i.e. dependencies that have already been packaged. MNG-2871 on the other hand is about dependencies that haven't been packaged yet but merely exist as loose class files in a module's output directory. In other words, this test is concerned with the situation during the lifecycle phase "package" while MNG-2871 is concerned with earlier phases like "test".

Throws:
Exception


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