public interface MavenPluginManagerHelper
MavenPluginManager helper to deal with API changes between Maven 3.0.x and 3.1.x, ie
switch from Sonatype Aether (in org.sonatype.aether package) to Eclipse Aether (in
org.eclipse.aether package) for some parameters.| Modifier and Type | Method and Description |
|---|---|
PluginDescriptor |
getPluginDescriptor(Plugin plugin,
MavenSession session)
|
void |
setupPluginRealm(PluginDescriptor pluginDescriptor,
MavenSession session,
ClassLoader parent,
List<String> imports,
List<String> excludeArtifactIds)
|
PluginDescriptor getPluginDescriptor(Plugin plugin, MavenSession session) throws PluginResolutionException, PluginDescriptorParsingException, InvalidPluginDescriptorException
plugin - session - PluginResolutionExceptionPluginDescriptorParsingExceptionInvalidPluginDescriptorExceptionvoid setupPluginRealm(PluginDescriptor pluginDescriptor, MavenSession session, ClassLoader parent, List<String> imports, List<String> excludeArtifactIds) throws PluginResolutionException, PluginContainerException
MavenPluginManager#setupPluginRealm(PluginDescriptor, ..., List, xxx.aether.graph.DependencyFilter)pluginDescriptor - session - parent - imports - excludeArtifactIds - PluginResolutionExceptionPluginContainerExceptionCopyright © 2002–2020 The Apache Software Foundation. All rights reserved.