Class LicensedArtifact

java.lang.Object
org.codehaus.mojo.license.download.LicensedArtifact

public class LicensedArtifact extends Object
Since:
1.20
Author:
Peter Palaga, Jan-Hendrik Diederich (for the extended information)
  • Method Details

    • builder

      public static LicensedArtifact.Builder builder(org.apache.maven.artifact.Artifact artifact, boolean useNonMavenData)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getGroupId

      public String getGroupId()
    • getArtifactId

      public String getArtifactId()
    • getVersion

      public String getVersion()
    • getLicenses

      public List<License> getLicenses()
    • getErrorMessages

      public List<String> getErrorMessages()
    • getExtendedInfos

      public ExtendedInfo getExtendedInfos()
      Gets the extended information.
      Returns:
      Extended information.
      Since:
      2.1.0