de.saumya.mojo.gems
Class MavenArtifact

java.lang.Object
  extended by de.saumya.mojo.gems.MavenArtifact

public class MavenArtifact
extends Object

This bean holds the artifact to be converted. Model should be already loaded up, to support different loading strategies (ie. from pom.xml, from JAR itself, or using something like Maven2 support in Nexus or having real interpolated POM).


Constructor Summary
MavenArtifact(org.apache.maven.model.Model pom, ArtifactCoordinates coordinates, File artifact)
           
 
Method Summary
 File getArtifactFile()
           
protected  ArtifactCoordinates getCoordinates()
           
 org.apache.maven.model.Model getPom()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenArtifact

public MavenArtifact(org.apache.maven.model.Model pom,
                     ArtifactCoordinates coordinates,
                     File artifact)
Method Detail

getPom

public org.apache.maven.model.Model getPom()

getCoordinates

protected ArtifactCoordinates getCoordinates()

getArtifactFile

public File getArtifactFile()


Copyright © 2011. All Rights Reserved.