Class ProjectArtifactMetadata
java.lang.Object
org.apache.maven.repository.legacy.metadata.AbstractArtifactMetadata
org.apache.maven.artifact.metadata.AbstractArtifactMetadata
org.apache.maven.project.artifact.ProjectArtifactMetadata
- All Implemented Interfaces:
- ArtifactMetadata,- ArtifactMetadata
Deprecated.
Attach a POM to an artifact.
- 
Field SummaryFields inherited from class org.apache.maven.repository.legacy.metadata.AbstractArtifactMetadataartifact
- 
Constructor SummaryConstructorsConstructorDescriptionProjectArtifactMetadata(Artifact artifact) Deprecated.ProjectArtifactMetadata(Artifact artifact, File file) Deprecated.
- 
Method SummaryModifier and TypeMethodDescriptionDeprecated.getFile()Deprecated.getKey()Deprecated.getLocalFilename(ArtifactRepository repository) Deprecated.Get the filename of this metadata on the local repository.Deprecated.Get the filename of this metadata on the remote repository.voidmerge(ArtifactMetadata metadata) Deprecated.voidmerge(ArtifactMetadata metadata) Deprecated.Merge a new metadata set into this piece of metadata.booleanDeprecated.Whether this metadata should be stored alongside the artifact.voidstoreInLocalRepository(ArtifactRepository localRepository, ArtifactRepository remoteRepository) Deprecated.Store the metadata in the local repository.toString()Deprecated.Methods inherited from class org.apache.maven.repository.legacy.metadata.AbstractArtifactMetadataextendedToString, getArtifactId, getGroupId, storedInGroupDirectoryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.maven.repository.legacy.metadata.ArtifactMetadataextendedToString, getArtifactId, getGroupId, storedInGroupDirectory
- 
Constructor Details- 
ProjectArtifactMetadataDeprecated.
- 
ProjectArtifactMetadataDeprecated.
 
- 
- 
Method Details- 
getFileDeprecated.
- 
getRemoteFilenameDeprecated.Description copied from interface:ArtifactMetadataGet the filename of this metadata on the remote repository.- Returns:
- the filename
 
- 
getLocalFilenameDeprecated.Description copied from interface:ArtifactMetadataGet the filename of this metadata on the local repository.- Parameters:
- repository- the remote repository it came from
- Returns:
- the filename
 
- 
storeInLocalRepositorypublic void storeInLocalRepository(ArtifactRepository localRepository, ArtifactRepository remoteRepository) throws RepositoryMetadataStoreException Deprecated.Description copied from interface:ArtifactMetadataStore the metadata in the local repository. TODO this should only be needed on the repository metadataArtifactMetadata- Parameters:
- localRepository- the local repository
- remoteRepository- the remote repository it came from
- Throws:
- RepositoryMetadataStoreException- in case of issue
 
- 
toStringDeprecated.
- 
storedInArtifactVersionDirectorypublic boolean storedInArtifactVersionDirectory()Deprecated.Description copied from interface:ArtifactMetadataWhether this metadata should be stored alongside the artifact.- Returns:
- whether this metadata should be stored alongside the artifact
 
- 
getBaseVersionDeprecated.
- 
getKeyDeprecated.
- 
mergeDeprecated.
- 
mergeDeprecated.Description copied from interface:ArtifactMetadataMerge a new metadata set into this piece of metadata. TODO this should only be needed on the repository metadataArtifactMetadata- Parameters:
- metadata- the new metadata
 
 
-