Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Command line

Invvk edited this page Aug 13, 2021 · 1 revision

Arguments

There is a couple of options to use with the command line in maven

  • -Daip.gitDir=DIRECTORY: This will define the current git directory.
  • aip.pump: This argument is related to <pump> configuration, if false it won't update .properties file
  • aip.disableGit: This argument is related to <disableGit> configuration, if true, it will disable all git properties generated by this operation.

Combined Example

  • mvn clean package -Daip.pump=false -Daip.disableGit=true -Daip.gitDir="~/project/example/.git"
    This will generate a clean package without updating the version, and it will run without any git operations so git properties will be disabled. with git directory located at ~/project/example/.git

Clone this wiki locally