Class ArtifactProperties


  • public final class ArtifactProperties
    extends java.lang.Object
    The keys for common properties of artifacts.
    See Also:
    Artifact.getProperties()
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CONSTITUTES_BUILD_PATH
      A boolean flag indicating whether the artifact is meant to be used for the compile/runtime/test build path of a consumer project.
      static java.lang.String DOWNLOAD_URL
      The URL to a web page from which the artifact can be manually downloaded.
      static java.lang.String INCLUDES_DEPENDENCIES
      A boolean flag indicating whether the artifact presents some kind of bundle that physically includes its dependencies, e.g.
      static java.lang.String LANGUAGE
      The programming language this artifact is relevant for, e.g.
      static java.lang.String LOCAL_PATH
      The (expected) path to the artifact on the local filesystem.
      static java.lang.String TYPE
      A high-level characterization of the artifact, e.g.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ArtifactProperties()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LANGUAGE

        public static final java.lang.String LANGUAGE
        The programming language this artifact is relevant for, e.g. "java" or "none".
        See Also:
        Constant Field Values
      • LOCAL_PATH

        public static final java.lang.String LOCAL_PATH
        The (expected) path to the artifact on the local filesystem. An artifact which has this property set is assumed to be not present in any regular repository and likewise has no artifact descriptor. Artifact resolution will verify the path and resolve the artifact if the path actually denotes an existing file. If the path isn't valid, resolution will fail and no attempts to search local/remote repositories are made.
        See Also:
        Constant Field Values
      • INCLUDES_DEPENDENCIES

        public static final java.lang.String INCLUDES_DEPENDENCIES
        A boolean flag indicating whether the artifact presents some kind of bundle that physically includes its dependencies, e.g. a fat WAR.
        See Also:
        Constant Field Values
      • CONSTITUTES_BUILD_PATH

        public static final java.lang.String CONSTITUTES_BUILD_PATH
        A boolean flag indicating whether the artifact is meant to be used for the compile/runtime/test build path of a consumer project.
        See Also:
        Constant Field Values
      • DOWNLOAD_URL

        public static final java.lang.String DOWNLOAD_URL
        The URL to a web page from which the artifact can be manually downloaded. This URL is not contacted by the repository system but serves as a pointer for the end user to assist in getting artifacts that are not published in a proper repository.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ArtifactProperties

        private ArtifactProperties()