org.apache.maven.artifact.metadata
public interface ArtifactMetadata
Version: $Id: ArtifactMetadata.java 320683 2005-10-13 08:04:27Z brett $
UNKNOWN: merge with artifactmetadatasource retrieval exception not appropriate for store
| Method Summary | |
|---|---|
| String | extendedToString() |
| String | getArtifactId() |
| String | getBaseVersion() |
| String | getGroupId() |
| Object | getKey() |
| String | getLocalFilename(ArtifactRepository repository)
Get the filename of this metadata on the local repository.
|
| String | getRemoteFilename()
Get the filename of this metadata on the remote repository.
|
| void | merge(ArtifactMetadata metadata)
Merge a new metadata set into this piece of metadata.
|
| boolean | storedInArtifactVersionDirectory()
Whether this metadata should be stored alongside the artifact. |
| boolean | storedInGroupDirectory()
Whether this metadata should be stored alongside the group. |
| void | storeInLocalRepository(ArtifactRepository localRepository, ArtifactRepository remoteRepository)
Store the metadata in the local repository.
|
Parameters: repository the remote repository it came from
Returns: the filename
Returns: the filename
Parameters: metadata the new metadata
UNKNOWN: this should only be needed on the repository metadata
Parameters: localRepository the local repository remoteRepository the remote repository it came from
UNKNOWN: this should only be needed on the repository metadata