org.apache.maven.it
Class MavenITmng3394POMPluginVersionDominanceTest

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

public class MavenITmng3394POMPluginVersionDominanceTest
extends AbstractMavenIntegrationTestCase

This is a test set for MNG-3394: it checks that plugin versions in the POM obey the correct order of precedence. Specifically, that mojos in the default lifecycle bindings can find plugin versions in the pluginManagement section when the build/plugins section is missing that plugin, and that plugin versions in build/plugins override those in build/pluginManagement.


Field Summary
 
Fields inherited from class org.apache.maven.it.AbstractMavenIntegrationTestCase
ALL_MAVEN_VERSIONS
 
Constructor Summary
MavenITmng3394POMPluginVersionDominanceTest()
           
 
Method Summary
 void testitMNG3394a()
           
 void testitMNG3394b()
           
 
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

MavenITmng3394POMPluginVersionDominanceTest

public MavenITmng3394POMPluginVersionDominanceTest()
Method Detail

testitMNG3394a

public void testitMNG3394a()
                    throws Exception
Throws:
Exception

testitMNG3394b

public void testitMNG3394b()
                    throws Exception
Throws:
Exception


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