Class SignaturesArtifact

java.lang.Object
de.thetaphi.forbiddenapis.maven.SignaturesArtifact

public final class SignaturesArtifact extends Object
Defines coordinates of a Maven artifact that provides signatures files. It may be a plain text file (path is not given) or alternatively refer to a text file inside a JAR file. For that, define the resource path using path.
Since:
2.0
  • Field Details

    • groupId

      public String groupId
      Artifact's group ID (required)
    • artifactId

      public String artifactId
      Artifact's ID (required)
    • version

      public String version
      Version (required)
    • classifier

      public String classifier
      Classifier (optional)
    • type

      public String type
      Type (required; txt or jar). If the artifact refers to a JAR file, the path should be given, that identifies the signatures file inside the JAR.
    • path

      public String path
      Path to resource inside JAR artifacts. If given, the type must be "jar" or "zip".
  • Constructor Details

    • SignaturesArtifact

      public SignaturesArtifact()
  • Method Details

    • createArtifact

      org.eclipse.aether.artifact.Artifact createArtifact()
      Used by the mojo to fetch the artifact