public class MavenITmng1895ScopeConflictResolutionTest extends AbstractMavenIntegrationTestCase
ALL_MAVEN_VERSIONS| Constructor and Description |
|---|
MavenITmng1895ScopeConflictResolutionTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testitCompileVsProvided()
Verify that for a dependency being referenced in compile and in provided scope, compile scope wins.
|
void |
testitCompileVsRuntime()
Verify that for a dependency being referenced in compile and in runtime scope, compile scope wins.
|
void |
testitCompileVsTest()
Verify that for a dependency being referenced in compile and in test scope, compile scope wins.
|
void |
testitDirectVsIndirect()
Verify that for a dependency being referenced in two different scopes, the scope given directly in the POM
always wins, even if weaker than the scope of the transitive dependency.
|
void |
testitProvidedVsTest()
Verify that for a dependency being referenced in provided and in test scope, provided scope wins.
|
void |
testitRuntimeVsProvided()
Verify that for a dependency being referenced in runtime and in provided scope, runtime scope wins.
|
void |
testitRuntimeVsTest()
Verify that for a dependency being referenced in runtime and in test scope, runtime scope wins.
|
assertCanonicalFileEquals, assertCanonicalFileEquals, assertCanonicalFileEquals, assertCanonicalFileEquals, failingMavenVersions, getMavenVersion, isSkipped, matchesVersionRange, newVerifier, newVerifier, newVerifier, newVerifier, requiresJavaVersion, requiresMavenVersion, runTest, setupLocalRepoassertEquals, 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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, setUp, tearDown, toStringpublic MavenITmng1895ScopeConflictResolutionTest()
public void testitDirectVsIndirect()
throws Exception
Exception - in case of failurepublic void testitCompileVsRuntime()
throws Exception
Exception - in case of failurepublic void testitCompileVsTest()
throws Exception
Exception - in case of failurepublic void testitCompileVsProvided()
throws Exception
Exception - in case of failurepublic void testitRuntimeVsTest()
throws Exception
Exception - in case of failurepublic void testitRuntimeVsProvided()
throws Exception
Exception - in case of failureCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.