Package de.saumya.mojo.gems
Class MavenArtifact
java.lang.Object
de.saumya.mojo.gems.MavenArtifact
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).
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Fileprivate final ArtifactCoordinatesprivate final org.apache.maven.model.Model -
Constructor Summary
ConstructorsConstructorDescriptionMavenArtifact(org.apache.maven.model.Model pom, ArtifactCoordinates coordinates, File artifact) -
Method Summary
Modifier and TypeMethodDescriptionprotected ArtifactCoordinatesorg.apache.maven.model.ModelgetPom()
-
Field Details
-
pom
private final org.apache.maven.model.Model pom -
coordinates
-
artifactFile
-
-
Constructor Details
-
MavenArtifact
public MavenArtifact(org.apache.maven.model.Model pom, ArtifactCoordinates coordinates, File artifact)
-
-
Method Details
-
getPom
public org.apache.maven.model.Model getPom() -
getCoordinates
-
getArtifactFile
-