Uses of Class
org.apache.maven.api.metadata.Metadata
Packages that use Metadata
Package
Description
Maven Repository Metadata model.
Maven Resolver extensions for utilizing the Maven POM and Maven
repository metadata.
-
Uses of Metadata in org.apache.maven.api.metadata
Fields in org.apache.maven.api.metadata declared as MetadataMethods in org.apache.maven.api.metadata that return MetadataModifier and TypeMethodDescriptionMetadata.Builder.build()
static Metadata
Metadata.newInstance()
Creates a newMetadata
instance.static Metadata
Metadata.newInstance
(boolean withDefaults) Creates a newMetadata
instance using default values or not.Metadata.withArtifactId
(String artifactId) Creates a newMetadata
instance using the specified artifactId.Metadata.withGroupId
(String groupId) Creates a newMetadata
instance using the specified groupId.Metadata.withModelVersion
(String modelVersion) Creates a newMetadata
instance using the specified modelVersion.Metadata.withPlugins
(Collection<Plugin> plugins) Creates a newMetadata
instance using the specified plugins.Metadata.withVersion
(String version) Creates a newMetadata
instance using the specified version.Metadata.withVersioning
(Versioning versioning) Creates a newMetadata
instance using the specified versioning.Methods in org.apache.maven.api.metadata with parameters of type MetadataModifier and TypeMethodDescriptionstatic Metadata.Builder
Metadata.newBuilder
(Metadata from) Creates a newMetadata
builder instance using the specified object as a basis.static Metadata.Builder
Metadata.newBuilder
(Metadata from, boolean forceCopy) Creates a newMetadata
builder instance using the specified object as a basis.Constructors in org.apache.maven.api.metadata with parameters of type Metadata -
Uses of Metadata in org.apache.maven.artifact.repository.metadata
Methods in org.apache.maven.artifact.repository.metadata that return MetadataMethods in org.apache.maven.artifact.repository.metadata that return types with arguments of type MetadataMethod parameters in org.apache.maven.artifact.repository.metadata with type arguments of type MetadataConstructors in org.apache.maven.artifact.repository.metadata with parameters of type Metadata -
Uses of Metadata in org.apache.maven.internal.impl.resolver
Fields in org.apache.maven.internal.impl.resolver declared as MetadataMethods in org.apache.maven.internal.impl.resolver that return MetadataModifier and TypeMethodDescriptionprivate static Metadata
LocalSnapshotMetadata.createMetadata
(org.eclipse.aether.artifact.Artifact artifact) protected static Metadata
MavenSnapshotMetadata.createRepositoryMetadata
(org.eclipse.aether.artifact.Artifact artifact) private static Metadata
PluginsMetadata.createRepositoryMetadata
(PluginsMetadata.PluginInfo pluginInfo) private static Metadata
VersionsMetadata.createRepositoryMetadata
(org.eclipse.aether.artifact.Artifact artifact) (package private) static Metadata
Methods in org.apache.maven.internal.impl.resolver with parameters of type MetadataModifier and TypeMethodDescriptionprivate static int
RemoteSnapshotMetadata.getBuildNumber
(Metadata metadata) protected void
protected abstract void
protected void
protected void
protected void
private void
Constructors in org.apache.maven.internal.impl.resolver with parameters of type MetadataModifierConstructorDescription(package private)
LocalSnapshotMetadata
(Metadata metadata, Path path, Instant timestamp) protected
MavenMetadata
(Metadata metadata, File file, Instant timestamp) Deprecated.protected
MavenMetadata
(Metadata metadata, Path path, Instant timestamp) protected
MavenSnapshotMetadata
(Metadata metadata, Path path, Instant timestamp) private
RemoteSnapshotMetadata
(Metadata metadata, Path path, Instant timestamp, Integer buildNumber) -
Uses of Metadata in org.apache.maven.metadata.v4
Methods in org.apache.maven.metadata.v4 that return MetadataModifier and TypeMethodDescriptionprivate Metadata
MetadataStaxReader.parseMetadata
(XMLStreamReader parser, boolean strict) MetadataStaxReader.read
(InputStream in) MetadataStaxReader.read
(InputStream in, boolean strict) Method read.MetadataStaxReader.read
(XMLStreamReader parser, boolean strict) Method read.Methods in org.apache.maven.metadata.v4 with parameters of type MetadataModifier and TypeMethodDescriptionvoid
MetadataStaxWriter.write
(OutputStream stream, Metadata metadata) Method write.void
Method write.private void
MetadataStaxWriter.writeMetadata
(String tagName, Metadata metadata, XMLStreamWriter serializer)