tentackle:versions

Full name:

org.tentackle:tentackle-maven-plugin:21.16.1.0:versions

Description:

Mojo to determine the versions of all 3rd-party dependencies of the current project.
It logs the versions in XML-format ready to use within the properties section of a pom file. The property names are of the form version.groupIdInCamelCase.artifactIdInCamelCase.
If no dependency scope is given, the dependencies of all scopes are listed.

Example:

  mvn -Dscope=compile tentackle:versions
  ...
  [INFO] 
  [INFO] --- tentackle-maven-plugin:11.5.1.0:versions (default-cli) @ myapplic-parent ---
  [INFO] versions of 3rd-party dependencies for scope 'compile':
  <version.orgCodehausGroovy.groovy>2.5.8</version.orgCodehausGroovy.groovy>
  <version.orgOpenjfx.javafxBase>13.0.1</version.orgOpenjfx.javafxBase>
  <version.orgOpenjfx.javafxControls>13.0.1</version.orgOpenjfx.javafxControls>
  <version.orgOpenjfx.javafxFxml>13.0.1</version.orgOpenjfx.javafxFxml>
  <version.orgOpenjfx.javafxGraphics>13.0.1</version.orgOpenjfx.javafxGraphics>
  <version.orgOpenjfx.javafxMedia>13.0.1</version.orgOpenjfx.javafxMedia>
  <version.orgOpenjfx.javafxWeb>13.0.1</version.orgOpenjfx.javafxWeb>
  <version.orgSlf4j.slf4jApi>1.7.28</version.orgSlf4j.slf4jApi>
  <version.orgTentackle.tentackleCommon>11.5.1.0</version.orgTentackle.tentackleCommon>
  <version.orgTentackle.tentackleCore>11.5.1.0</version.orgTentackle.tentackleCore>
  <version.orgTentackle.tentackleDatabase>11.5.1.0</version.orgTentackle.tentackleDatabase>
  <version.orgTentackle.tentackleDomain>11.5.1.0</version.orgTentackle.tentackleDomain>
  <version.orgTentackle.tentackleFx>11.5.1.0</version.orgTentackle.tentackleFx>
  <version.orgTentackle.tentackleFxRdc>11.5.1.0</version.orgTentackle.tentackleFxRdc>
  <version.orgTentackle.tentackleFxRdcPoi>11.5.1.0</version.orgTentackle.tentackleFxRdcPoi>
  <version.orgTentackle.tentackleFxRdcUpdate>11.5.1.0</version.orgTentackle.tentackleFxRdcUpdate>
  <version.orgTentackle.tentackleI18n>11.5.1.0</version.orgTentackle.tentackleI18n>
  <version.orgTentackle.tentackleLogSlf4j>11.5.1.0</version.orgTentackle.tentackleLogSlf4j>
  <version.orgTentackle.tentacklePdo>11.5.1.0</version.orgTentackle.tentacklePdo>
  <version.orgTentackle.tentacklePersistence>11.5.1.0</version.orgTentackle.tentacklePersistence>
  <version.orgTentackle.tentackleScriptGroovy>11.5.1.0</version.orgTentackle.tentackleScriptGroovy>
  <version.orgTentackle.tentackleSession>11.5.1.0</version.orgTentackle.tentackleSession>
  <version.orgTentackle.tentackleSql>11.5.1.0</version.orgTentackle.tentackleSql>
  <version.orgTentackle.tentackleUpdate>11.5.1.0</version.orgTentackle.tentackleUpdate>
  ...
Notice: the whole project must have been successfully built before invoking this goal.

Attributes:

  • Requires a Maven project to be executed.
  • Executes as an aggregator goal.
  • Requires dependency resolution of artifacts in scope: compile.
  • The goal is not marked as thread-safe and thus does not support parallel builds.
  • Binds by default to the lifecycle phase: validate.

Optional Parameters

Name Type Since Description
<charset> String - The encoding to read and write files.
Default: ${project.build.sourceEncoding}
<groupVersions> int - Controls creation of extra group version properties.
  • 0: no group versions (default)
  • >0: create a version property, if at least the given number of artifacts of the same groupId share the same version.
  • <0: create a version property, if less than given number of artifacts of the same groupId don't share the same version, i.e. -1 means all of the same groupId must refer to the same version.

User Property: groupVersions
<jdkToolchain> Map<String,String> - Toolchain for invocation of external tools.
Explicitly specifies the "jdk" toolchain for this plugin only. Overrides the toolchain selected by the maven-toolchain-plugin, if any.

Example:

  <jdkToolchain>
    <version>14</version>
  </jdkToolchain>
To deselect the toolchain configured by the maven-toolchain-plugin:
  <jdkToolchain></jdkToolchain>
<minLogLevel> String - The minimum logging java.util.logging.Level to redirect java.util logging to the maven logger.
Default: WARNING
<outputFile> File - Optional output file.
If the filename ends with .properties, it will be created in properties file format instead of xml.
User Property: outputFile
<scope> String - Optional dependency scope.
User Property: scope
<skip> Boolean - Skips processing.
Defaults to true if packaging is "pom".
<verbosity> String - The verbosity.
One of "default", "info" or "debug". Debug is also turned on (if not set explicitly) by Maven's global debug flag (see command line switch -X).
Default: ${tentackle.verbosity}

Parameter Details

<charset>

The encoding to read and write files.
  • Type: java.lang.String
  • Required: No
  • Default: ${project.build.sourceEncoding}

<groupVersions>

Controls creation of extra group version properties.
  • 0: no group versions (default)
  • >0: create a version property, if at least the given number of artifacts of the same groupId share the same version.
  • <0: create a version property, if less than given number of artifacts of the same groupId don't share the same version, i.e. -1 means all of the same groupId must refer to the same version.
  • Type: int
  • Required: No
  • User Property: groupVersions

<jdkToolchain>

Toolchain for invocation of external tools.
Explicitly specifies the "jdk" toolchain for this plugin only. Overrides the toolchain selected by the maven-toolchain-plugin, if any.

Example:

  <jdkToolchain>
    <version>14</version>
  </jdkToolchain>
To deselect the toolchain configured by the maven-toolchain-plugin:
  <jdkToolchain></jdkToolchain>
  • Type: java.util.Map<java.lang.String, java.lang.String>
  • Required: No

<minLogLevel>

The minimum logging java.util.logging.Level to redirect java.util logging to the maven logger.
  • Type: java.lang.String
  • Required: No
  • Default: WARNING

<outputFile>

Optional output file.
If the filename ends with .properties, it will be created in properties file format instead of xml.
  • Type: java.io.File
  • Required: No
  • User Property: outputFile

<scope>

Optional dependency scope.
  • Type: java.lang.String
  • Required: No
  • User Property: scope

<skip>

Skips processing.
Defaults to true if packaging is "pom".
  • Type: java.lang.Boolean
  • Required: No

<verbosity>

The verbosity.
One of "default", "info" or "debug". Debug is also turned on (if not set explicitly) by Maven's global debug flag (see command line switch -X).
  • Type: java.lang.String
  • Required: No
  • Default: ${tentackle.verbosity}