Class PluginsMetadataGenerator
java.lang.Object
org.apache.maven.repository.internal.PluginsMetadataGenerator
- All Implemented Interfaces:
org.eclipse.aether.impl.MetadataGenerator
Maven G level metadata generator.
Plugin metadata contains G level list of "prefix" to A mapping for plugins present under this G.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.slf4j.Logger
private static final String
private final Map
<Object, PluginsMetadata> private final Date
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
PluginsMetadataGenerator
(org.eclipse.aether.RepositorySystemSession session, 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
Modifier and TypeMethodDescriptionprivate PluginsMetadata.PluginInfo
extractPluginInfo
(org.eclipse.aether.artifact.Artifact artifact) Collection
<? extends org.eclipse.aether.metadata.Metadata> finish
(Collection<? extends org.eclipse.aether.artifact.Artifact> artifacts) private static String
mayGetChild
(org.codehaus.plexus.util.xml.Xpp3Dom node, String child) Collection
<? extends org.eclipse.aether.metadata.Metadata> prepare
(Collection<? extends org.eclipse.aether.artifact.Artifact> artifacts) org.eclipse.aether.artifact.Artifact
transformArtifact
(org.eclipse.aether.artifact.Artifact artifact)
-
Field Details
-
PLUGIN_DESCRIPTOR_LOCATION
- See Also:
-
logger
private final org.slf4j.Logger logger -
processedPlugins
-
timestamp
-
-
Constructor Details
-
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, Collection<? extends org.eclipse.aether.metadata.Metadata> metadatas)
-
-
Method Details
-
prepare
public Collection<? extends org.eclipse.aether.metadata.Metadata> prepare(Collection<? extends org.eclipse.aether.artifact.Artifact> artifacts) - Specified by:
prepare
in interfaceorg.eclipse.aether.impl.MetadataGenerator
-
transformArtifact
public org.eclipse.aether.artifact.Artifact transformArtifact(org.eclipse.aether.artifact.Artifact artifact) - Specified by:
transformArtifact
in interfaceorg.eclipse.aether.impl.MetadataGenerator
-
finish
public Collection<? extends org.eclipse.aether.metadata.Metadata> finish(Collection<? extends org.eclipse.aether.artifact.Artifact> artifacts) - Specified by:
finish
in interfaceorg.eclipse.aether.impl.MetadataGenerator
-
extractPluginInfo
-
mayGetChild
-