org.apache.maven.plugins.site
Class SiteDescriptorArtifactMetadata
java.lang.Object
org.apache.maven.repository.legacy.metadata.AbstractArtifactMetadata
org.apache.maven.artifact.metadata.AbstractArtifactMetadata
org.apache.maven.plugins.site.SiteDescriptorArtifactMetadata
- All Implemented Interfaces:
- org.apache.maven.repository.legacy.metadata.ArtifactMetadata
public class SiteDescriptorArtifactMetadata
- extends org.apache.maven.artifact.metadata.AbstractArtifactMetadata
Attach a POM to an artifact.
- Version:
- $Id: SiteDescriptorArtifactMetadata.html 816568 2012-05-08 12:09:38Z hboutemy $
- Author:
- Brett Porter
Fields inherited from class org.apache.maven.repository.legacy.metadata.AbstractArtifactMetadata |
artifact |
Constructor Summary |
SiteDescriptorArtifactMetadata(org.apache.maven.artifact.Artifact artifact,
org.apache.maven.doxia.site.decoration.DecorationModel decoration,
File file)
|
Methods inherited from class org.apache.maven.repository.legacy.metadata.AbstractArtifactMetadata |
extendedToString, getArtifactId, getGroupId, storedInGroupDirectory |
Methods inherited from interface org.apache.maven.repository.legacy.metadata.ArtifactMetadata |
extendedToString, getArtifactId, getGroupId, storedInGroupDirectory |
SiteDescriptorArtifactMetadata
public SiteDescriptorArtifactMetadata(org.apache.maven.artifact.Artifact artifact,
org.apache.maven.doxia.site.decoration.DecorationModel decoration,
File file)
getRemoteFilename
public String getRemoteFilename()
getLocalFilename
public String getLocalFilename(org.apache.maven.artifact.repository.ArtifactRepository repository)
storeInLocalRepository
public void storeInLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository,
org.apache.maven.artifact.repository.ArtifactRepository remoteRepository)
throws org.apache.maven.artifact.repository.metadata.RepositoryMetadataStoreException
- Throws:
org.apache.maven.artifact.repository.metadata.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(org.apache.maven.artifact.metadata.ArtifactMetadata metadata)
merge
public void merge(org.apache.maven.repository.legacy.metadata.ArtifactMetadata metadata)
Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.