public class MavenITmng6240PluginExtensionAetherProvider extends AbstractMavenIntegrationTestCase
ALL_MAVEN_VERSIONS
Constructor and Description |
---|
MavenITmng6240PluginExtensionAetherProvider() |
Modifier and Type | Method and Description |
---|---|
void |
testPluginExtensionDependingOnMavenAetherProvider()
Checks that there are no duplicate classes from maven-aether-provider on the classpath, when the build has a
plugin extension that depends on the former maven-aether-provider, renamed to maven-resolver-provider.
|
assertCanonicalFileEquals, assertCanonicalFileEquals, assertCanonicalFileEquals, assertCanonicalFileEquals, failingMavenVersions, getMavenVersion, isSkipped, matchesVersionRange, newVerifier, newVerifier, newVerifier, newVerifier, requiresJavaVersion, requiresMavenVersion, runTest, setupLocalRepo
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, setUp, tearDown, toString
public MavenITmng6240PluginExtensionAetherProvider()
public void testPluginExtensionDependingOnMavenAetherProvider() throws Exception
Checks that there are no duplicate classes from maven-aether-provider on the classpath, when the build has a plugin extension that depends on the former maven-aether-provider, renamed to maven-resolver-provider.
One way to do this is to look at MetadataGeneratorFactory, which is a class of this module: there should only be two instances (one of SnapshotMetadataGeneratorFactory and VersionsMetadataGeneratorFactory). When there are more, the Deploy Plugin will perform the download / upload of artifact metadata multiple times. This can be verified easily from the logs.
Exception
- in case of failureCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.