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 AbstractArtifactMetadata
artifact -
Constructor Summary
ConstructorsConstructorDescriptionProjectArtifactMetadata(Artifact artifact) ProjectArtifactMetadata(Artifact artifact, File file) -
Method Summary
Modifier and TypeMethodDescriptiongetFile()getKey()getLocalFilename(ArtifactRepository repository) voidmerge(ArtifactMetadata metadata) voidmerge(ArtifactMetadata metadata) booleanvoidstoreInLocalRepository(ArtifactRepository localRepository, ArtifactRepository remoteRepository) toString()Methods inherited from class AbstractArtifactMetadata
extendedToString, getArtifactId, getGroupId, storedInGroupDirectoryMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface 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
-