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
Attach a POM to an artifact.
- Author:
- Brett Porter
-
Field Summary
Fields inherited from class org.apache.maven.repository.legacy.metadata.AbstractArtifactMetadata
artifact
-
Constructor Summary
ConstructorDescriptionProjectArtifactMetadata
(Artifact artifact) ProjectArtifactMetadata
(Artifact artifact, File file) -
Method Summary
Modifier and TypeMethodDescriptiongetFile()
getKey()
getLocalFilename
(ArtifactRepository repository) void
merge
(ArtifactMetadata metadata) void
merge
(ArtifactMetadata metadata) boolean
void
storeInLocalRepository
(ArtifactRepository localRepository, ArtifactRepository remoteRepository) toString()
Methods inherited from class org.apache.maven.repository.legacy.metadata.AbstractArtifactMetadata
extendedToString, getArtifactId, getGroupId, storedInGroupDirectory
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.maven.repository.legacy.metadata.ArtifactMetadata
extendedToString, getArtifactId, getGroupId, storedInGroupDirectory
-
Constructor Details
-
ProjectArtifactMetadata
-
ProjectArtifactMetadata
-
-
Method Details
-
getFile
-
getRemoteFilename
-
getLocalFilename
-
storeInLocalRepository
public void storeInLocalRepository(ArtifactRepository localRepository, ArtifactRepository remoteRepository) throws RepositoryMetadataStoreException - Throws:
RepositoryMetadataStoreException
-
toString
-
storedInArtifactVersionDirectory
public boolean storedInArtifactVersionDirectory() -
getBaseVersion
-
getKey
-
merge
-
merge
-