Skip to main content
Version: 2.8 (deprecated)

jvm_artifact


Represents a third-party JVM artifact as identified by its Maven-compatible coordinate, that is, its group, artifact, and version components.

Backend: ``


artifact

str
required

The 'artifact' part of a Maven-compatible coordinate to a third-party jar artifact. For the jar coordinate com.google.guava:guava:30.1.1-jre, the artifact is 'guava'.

group

str
required

The 'group' part of a Maven-compatible coordinate to a third-party jar artifact. For the jar coordinate com.google.guava:guava:30.1.1-jre, the group is 'com.google.guava'.

version

str
required

The 'version' part of a Maven-compatible coordinate to a third-party jar artifact. For the jar coordinate com.google.guava:guava:30.1.1-jre, the version is '30.1.1-jre'.

description

str | None
default: None

A human-readable description of the target.

Use ./pants list --documented :: to see all targets with descriptions.

tags

Iterable[str] | None
default: None

Arbitrary strings to describe a target.

For example, you may tag some test targets with 'integration_test' so that you could run ./pants --tag='integration_test' test :: to only run on targets with that tag.