Class PluginsMetadataGenerator
- java.lang.Object
-
- org.apache.maven.repository.internal.PluginsMetadataGenerator
-
- All Implemented Interfaces:
org.eclipse.aether.impl.MetadataGenerator
class PluginsMetadataGenerator extends java.lang.Object implements org.eclipse.aether.impl.MetadataGeneratorMaven G level metadata generator.Plugin metadata contains G level list of "prefix" to A mapping for plugins present under this G.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.Loggerloggerprivate static java.lang.StringPLUGIN_DESCRIPTOR_LOCATIONprivate java.util.Map<java.lang.Object,PluginsMetadata>processedPluginsprivate java.util.Datetimestamp
-
Constructor Summary
Constructors Modifier Constructor Description privatePluginsMetadataGenerator(org.eclipse.aether.RepositorySystemSession session, java.util.Collection<? extends org.eclipse.aether.metadata.Metadata> metadatas)(package private)PluginsMetadataGenerator(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.deployment.DeployRequest request)(package private)PluginsMetadataGenerator(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.installation.InstallRequest request)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private PluginsMetadata.PluginInfoextractPluginInfo(org.eclipse.aether.artifact.Artifact artifact)java.util.Collection<? extends org.eclipse.aether.metadata.Metadata>finish(java.util.Collection<? extends org.eclipse.aether.artifact.Artifact> artifacts)private static java.lang.StringmayGetChild(org.codehaus.plexus.util.xml.Xpp3Dom node, java.lang.String child)java.util.Collection<? extends org.eclipse.aether.metadata.Metadata>prepare(java.util.Collection<? extends org.eclipse.aether.artifact.Artifact> artifacts)org.eclipse.aether.artifact.ArtifacttransformArtifact(org.eclipse.aether.artifact.Artifact artifact)
-
-
-
Field Detail
-
PLUGIN_DESCRIPTOR_LOCATION
private static final java.lang.String PLUGIN_DESCRIPTOR_LOCATION
- See Also:
- Constant Field Values
-
logger
private final org.slf4j.Logger logger
-
processedPlugins
private final java.util.Map<java.lang.Object,PluginsMetadata> processedPlugins
-
timestamp
private final java.util.Date timestamp
-
-
Constructor Detail
-
PluginsMetadataGenerator
PluginsMetadataGenerator(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.installation.InstallRequest request)
-
PluginsMetadataGenerator
PluginsMetadataGenerator(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.deployment.DeployRequest request)
-
PluginsMetadataGenerator
private PluginsMetadataGenerator(org.eclipse.aether.RepositorySystemSession session, java.util.Collection<? extends org.eclipse.aether.metadata.Metadata> metadatas)
-
-
Method Detail
-
prepare
public java.util.Collection<? extends org.eclipse.aether.metadata.Metadata> prepare(java.util.Collection<? extends org.eclipse.aether.artifact.Artifact> artifacts)
- Specified by:
preparein interfaceorg.eclipse.aether.impl.MetadataGenerator
-
transformArtifact
public org.eclipse.aether.artifact.Artifact transformArtifact(org.eclipse.aether.artifact.Artifact artifact)
- Specified by:
transformArtifactin interfaceorg.eclipse.aether.impl.MetadataGenerator
-
finish
public java.util.Collection<? extends org.eclipse.aether.metadata.Metadata> finish(java.util.Collection<? extends org.eclipse.aether.artifact.Artifact> artifacts)
- Specified by:
finishin interfaceorg.eclipse.aether.impl.MetadataGenerator
-
extractPluginInfo
private PluginsMetadata.PluginInfo extractPluginInfo(org.eclipse.aether.artifact.Artifact artifact)
-
mayGetChild
private static java.lang.String mayGetChild(org.codehaus.plexus.util.xml.Xpp3Dom node, java.lang.String child)
-
-