org.apache.maven.project.artifact
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
public class ProjectArtifactMetadata
- extends AbstractArtifactMetadata
Attach a POM to an artifact.
- Version:
- $Id: ProjectArtifactMetadata.java 988749 2010-08-24 22:46:07Z bentmann $
- Author:
- Brett Porter
ProjectArtifactMetadata
public ProjectArtifactMetadata(Artifact artifact)
ProjectArtifactMetadata
public ProjectArtifactMetadata(Artifact artifact,
File file)
getFile
public File getFile()
getRemoteFilename
public String getRemoteFilename()
getLocalFilename
public String getLocalFilename(ArtifactRepository repository)
storeInLocalRepository
public void storeInLocalRepository(ArtifactRepository localRepository,
ArtifactRepository remoteRepository)
throws RepositoryMetadataStoreException
- Throws:
RepositoryMetadataStoreException
toString
public String toString()
- Overrides:
toString
in class Object
storedInArtifactVersionDirectory
public boolean storedInArtifactVersionDirectory()
getBaseVersion
public String getBaseVersion()
getKey
public Object getKey()
merge
public void merge(ArtifactMetadata metadata)
merge
public void merge(ArtifactMetadata metadata)
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.