Class MavenArtifact

java.lang.Object
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).
  • Field Details

    • pom

      private final org.apache.maven.model.Model pom
    • coordinates

      private final ArtifactCoordinates coordinates
    • artifactFile

      private final File 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

      protected ArtifactCoordinates getCoordinates()
    • getArtifactFile

      public File getArtifactFile()