Package org.eclipse.aether.artifact
Class ArtifactProperties
java.lang.Object
org.eclipse.aether.artifact.ArtifactProperties
The keys for common properties of artifacts.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated.static final String
The URL to a web page from which the artifact can be manually downloaded.static final String
Deprecated.since 2.0, the semantic carried by this property should be defined in a customDependencyTraverser
implementation provided by the resolver consumerstatic final String
The programming language this artifact is relevant for, e.g.static final String
Deprecated.since 2.0, the semantic carried by this property and the fact this property is coupled to Resolver 1.x "system" scope (that was delegated to consumer application) implies this property should not be used anymore, instead, theScopeManager
exposed via methodRepositorySystemSession.getScopeManager()
should be used.static final String
A high-level characterization of the artifact, e.g. -
Method Summary
-
Field Details
-
TYPE
A high-level characterization of the artifact, e.g. "maven-plugin" or "test-jar".- See Also:
-
LANGUAGE
The programming language this artifact is relevant for, e.g. "java" or "none".- See Also:
-
LOCAL_PATH
Deprecated.since 2.0, the semantic carried by this property and the fact this property is coupled to Resolver 1.x "system" scope (that was delegated to consumer application) implies this property should not be used anymore, instead, theScopeManager
exposed via methodRepositorySystemSession.getScopeManager()
should be used.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:
-
INCLUDES_DEPENDENCIES
Deprecated.since 2.0, the semantic carried by this property should be defined in a customDependencyTraverser
implementation provided by the resolver consumerA boolean flag indicating whether the artifact presents some kind of bundle that physically includes its dependencies, e.g. a fat WAR.- See Also:
-
CONSTITUTES_BUILD_PATH
Deprecated.since 2.0, this property should be defined by the resolver consumer along with theArtifactType
implementationA boolean flag indicating whether the artifact is meant to be used for the compile/runtime/test build path of a consumer project.Note: This property is about "build path", whatever it means in the scope of the consumer project. It is NOT about Java classpath or anything alike. How artifact is being consumed depends heavily on the consumer project. Resolver is and will remain agnostic of consumer project use cases.
- See Also:
-
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:
-
ArtifactType
implementation