Fork me on GitHub

hpi:assemble-dependencies

Full name:

org.jenkins-ci.tools:maven-hpi-plugin:3.55-SNAPSHOT:assemble-dependencies

Description:

Used to assemble transitive dependencies of plugins into one location.

Unlike other similar mojos in this plugin, this one traverses dependencies through its graph.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.

Optional Parameters

Name Type Since Description
<includesOptional> boolean - Do we include optional dependencies?
<jenkinsCoreId> String 1.65 Optional string that represents "groupId:artifactId" of Jenkins core jar. If left unspecified, the default groupId/artifactId pair for Jenkins is looked for.
<jenkinsCoreVersionOverride> String - Optional string that represents the version of Jenkins core to report plugins as requiring. This parameter is only used when unbundling functionality from Jenkins core and the version specified will be ignored if older than the autodetected version.
<outputDirectory> File - Where to copy plugins into.
Default: ${project.build.directory}/plugins/
<scopes> String - Scopes to include.
<useJpiExtension> boolean - Copy files as .jpi instead of .hpi

Parameter Details

<includesOptional>

Do we include optional dependencies?
  • Type: boolean
  • Required: No

<jenkinsCoreId>

Optional string that represents "groupId:artifactId" of Jenkins core jar. If left unspecified, the default groupId/artifactId pair for Jenkins is looked for.
  • Type: java.lang.String
  • Since: 1.65
  • Required: No

<jenkinsCoreVersionOverride>

Optional string that represents the version of Jenkins core to report plugins as requiring. This parameter is only used when unbundling functionality from Jenkins core and the version specified will be ignored if older than the autodetected version.
  • Type: java.lang.String
  • Required: No

<outputDirectory>

Where to copy plugins into.
  • Type: java.io.File
  • Required: No
  • Default: ${project.build.directory}/plugins/

<scopes>

Scopes to include.
  • Type: java.lang.String
  • Required: No

<useJpiExtension>

Copy files as .jpi instead of .hpi
  • Type: boolean
  • Required: No