Class MavenMetadata
java.lang.Object
org.eclipse.aether.metadata.AbstractMetadata
org.apache.maven.internal.impl.resolver.MavenMetadata
- All Implemented Interfaces:
org.eclipse.aether.metadata.MergeableMetadata
,org.eclipse.aether.metadata.Metadata
- Direct Known Subclasses:
LocalSnapshotMetadata
,MavenSnapshotMetadata
,PluginsMetadata
,VersionsMetadata
abstract class MavenMetadata
extends org.eclipse.aether.metadata.AbstractMetadata
implements org.eclipse.aether.metadata.MergeableMetadata
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.aether.metadata.Metadata
org.eclipse.aether.metadata.Metadata.Nature
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
MavenMetadata
(Metadata metadata, File file, Instant timestamp) Deprecated.protected
MavenMetadata
(Metadata metadata, Path path, Instant timestamp) -
Method Summary
Methods inherited from class org.eclipse.aether.metadata.AbstractMetadata
copyProperties, equals, getProperty, hashCode, setFile, setPath, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.aether.metadata.Metadata
getArtifactId, getGroupId, getNature, getProperty, getVersion, setFile, setPath
-
Field Details
-
MAVEN_METADATA_XML
- See Also:
-
fmt
-
metadata
-
path
-
timestamp
-
merged
private boolean merged
-
-
Constructor Details
-
MavenMetadata
Deprecated. -
MavenMetadata
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceorg.eclipse.aether.metadata.Metadata
-
getFile
Deprecated.- Specified by:
getFile
in interfaceorg.eclipse.aether.metadata.Metadata
-
getPath
- Specified by:
getPath
in interfaceorg.eclipse.aether.metadata.Metadata
-
merge
@Deprecated public void merge(File existing, File result) throws org.eclipse.aether.RepositoryException Deprecated.- Specified by:
merge
in interfaceorg.eclipse.aether.metadata.MergeableMetadata
- Throws:
org.eclipse.aether.RepositoryException
-
merge
- Specified by:
merge
in interfaceorg.eclipse.aether.metadata.MergeableMetadata
- Throws:
org.eclipse.aether.RepositoryException
-
isMerged
public boolean isMerged()- Specified by:
isMerged
in interfaceorg.eclipse.aether.metadata.MergeableMetadata
-
merge
-
read
- Throws:
org.eclipse.aether.RepositoryException
-
write
private void write(Path metadataPath, Metadata metadata) throws org.eclipse.aether.RepositoryException - Throws:
org.eclipse.aether.RepositoryException
-
getProperties
- Specified by:
getProperties
in interfaceorg.eclipse.aether.metadata.Metadata
-
setProperties
- Specified by:
setProperties
in interfaceorg.eclipse.aether.metadata.Metadata
- Overrides:
setProperties
in classorg.eclipse.aether.metadata.AbstractMetadata
-