Creates a class path object that can be used as an input to the saker.java.compile() and similar tasks.
The task creates a class path representation of the input artifacts.
If the build execution is configured to generate IDE configurations, the source artifacts will be retrieved from the repositories and added to the created configurations.
Summary
Artifacts | Required parameter. Specifies the artifact that should be part of the created class path.
|
Configuration | Specifies the configuration to use during the operation. |
Parameters
Collection of ArtifactCoordinates
Aliases:
Artifact
Required parameter.
Specifies the artifact that should be part of the created class path.
The parameter accepts one or more artifact coordinates, or outputs from Maven dependency resolution, localization or artifact download tasks.
The artifact coordinates are expected in the <groupId>:<artifactId>[:<extension>[:<classifier>]]:<version> format.
Specifies the configuration to use during the operation.
The parameter can be used to specify the local repository path, and the configuration for remote repositories.
If no configuration is specified, the task will use the local repository at {user.home}/.m2/repository, and the remote repository from Maven Central: https://repo.maven.apache.org/maven2/