DPML
Opaque Versioning Example
HomeUtilitiesStationMetro
Opaque Versioning Example
Using the version CLI option

We can override the default SNAPSHOT version identifier using the -version command-line option. In the following example we are requesting a listing of the in-scope projects together with the version cli option using the value ABC.

$ build -list -version ABC

Selection: [3]

  [1]   project:org/acme/plugin/clock-api#ABC
  [2]   project:org/acme/plugin/clock-impl#ABC
  [3]   module:org/acme/plugin#ABC

$