org.apache.maven.project.artifact
Class ProjectArtifactMetadata
java.lang.Object
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 745955 2009-02-19 18:39:09Z jdcasey $
- Author:
- Brett Porter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ProjectArtifactMetadata
public ProjectArtifactMetadata(Artifact artifact)
ProjectArtifactMetadata
public ProjectArtifactMetadata(Artifact artifact,
java.io.File file)
getRemoteFilename
public java.lang.String getRemoteFilename()
getLocalFilename
public java.lang.String getLocalFilename(ArtifactRepository repository)
storeInLocalRepository
public void storeInLocalRepository(ArtifactRepository localRepository,
ArtifactRepository remoteRepository)
throws RepositoryMetadataStoreException
- Throws:
RepositoryMetadataStoreException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
storedInArtifactVersionDirectory
public boolean storedInArtifactVersionDirectory()
getBaseVersion
public java.lang.String getBaseVersion()
getKey
public java.lang.Object getKey()
merge
public void merge(ArtifactMetadata metadata)
isVersionExpressionsResolved
public boolean isVersionExpressionsResolved()
setVersionExpressionsResolved
public void setVersionExpressionsResolved(boolean versionExpressionsResolved)
setFile
public void setFile(java.io.File file)
getFile
public java.io.File getFile()
Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.