Class MavenArtifactProperties
java.lang.Object
org.apache.maven.internal.impl.resolver.artifact.MavenArtifactProperties
The keys for Maven specific properties of artifacts. These properties "extend" (or supplement) the Resolver
core properties defined in
ArtifactProperties
.- Since:
- 4.0.0
- See Also:
-
ArtifactProperties
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
A boolean flag indicating whether the artifact is meant to be used for the compile/runtime/test build path of a consumer project.static final String
A boolean flag indicating whether the artifact presents some kind of bundle that physically includes its dependencies, e.g.static final String
The (expected) path to the artifact on the local filesystem. -
Method Summary
-
Field Details
-
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:
-
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.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:
-
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:
-