Fork me on GitHub

Artifact set configuration

The set of artifacts to be processed by the plugin can be specified as a subset of the project's transitive dependencies or as an explicit list of artifacts.


<artifactSet>
  <dependencySet>
    <scope/>
    <useProjectArtifact/>
    <excludes/>
    <includes/>
  </dependencySet>
  <artifacts>
    <artifact>
      <groupId/>
      <artifactId/>
      <version/>
      <type/>
      <classifier/>
    </artifact>
  </artifacts>
</artifactSet>

artifactSet

No description.

Element Type Description
dependencySet DependencySet Specifies a subset of the project's transitive dependencies.
artifacts/artifact* List<ArtifactItem> (Many) A list of Maven artifacts to process.

dependencySet

Specifies a subset of the project's transitive dependencies.

Element Type Description
scope String Sets the dependency scope for this dependencySet.
Default value is: runtime.
useProjectArtifact boolean Determines whether the artifact produced during the current project's build should be included in this dependency set.
Default value is: false.
excludes/exclude* List<String> (Many) A set of dependency artifact coordinates to exclude. They must be in the form groupId:artifactId:type:classifier; components are optional and wildcards are supported.
includes/include* List<String> (Many) A set of dependency artifact coordinates to include. They must be in the form groupId:artifactId:type:classifier; components are optional and wildcards are supported.

artifact

No description.

Element Type Description
groupId String The artifact's group ID.
artifactId String The artifact ID.
version String The artifact version. If not specified, the plugin will attempt to determine the version from the dependencies of the project.
type String The artifact type.
Default value is: jar.
classifier String The optional artifact classifier.