Class MavenArtifact


  • public class MavenArtifact
    extends java.lang.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 Detail

      • MavenArtifact

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

      • getPom

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

        public java.io.File getArtifactFile()