| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.artifact.metadata.AbstractArtifactMetadata
org.apache.maven.project.artifact.ProjectArtifactMetadata
public class ProjectArtifactMetadata
Attach a POM to an artifact.
| Field Summary | 
|---|
| Fields inherited from class org.apache.maven.artifact.metadata.AbstractArtifactMetadata | 
|---|
artifact | 
| Constructor Summary | |
|---|---|
ProjectArtifactMetadata(Artifact artifact)
 | 
|
ProjectArtifactMetadata(Artifact artifact,
                        File file)
 | 
|
| Method Summary | |
|---|---|
 String | 
getBaseVersion()
 | 
 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.  | 
 void | 
storeInLocalRepository(ArtifactRepository localRepository,
                       ArtifactRepository remoteRepository)
Store the metadata in the local repository.  | 
 String | 
toString()
 | 
| Methods inherited from class org.apache.maven.artifact.metadata.AbstractArtifactMetadata | 
|---|
extendedToString, getArtifactId, getGroupId, storedInGroupDirectory | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public ProjectArtifactMetadata(Artifact artifact)
public ProjectArtifactMetadata(Artifact artifact,
                               File file)
| Method Detail | 
|---|
public String getRemoteFilename()
ArtifactMetadata
public String getLocalFilename(ArtifactRepository repository)
ArtifactMetadata
repository - the remote repository it came from
public void storeInLocalRepository(ArtifactRepository localRepository,
                                   ArtifactRepository remoteRepository)
                            throws RepositoryMetadataStoreException
ArtifactMetadata
localRepository - the local repositoryremoteRepository - the remote repository it came from
RepositoryMetadataStoreExceptionpublic String toString()
toString in class Objectpublic boolean storedInArtifactVersionDirectory()
ArtifactMetadata
public String getBaseVersion()
public Object getKey()
public void merge(ArtifactMetadata metadata)
ArtifactMetadata
metadata - the new metadata
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||