You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: FAQ.adoc
+2-1
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,8 @@ NOTE: Since version 3.0.3
20
20
21
21
Since the version 1.14 of the Docker Pipeline plugin, `withMaven` requires to
22
22
23
-
* Either prepend the `MVN_CMD_DIR` environment variable to the `PATH` environment variable in every `sh` step that invokes `mvn` (e.g. `sh 'export PATH=$MVN_CMD_DIR:$PATH && mvn clean deploy`).
23
+
* Either prepend the `MVN_CMD_DIR` environment variable to the `PATH` environment variable in every `sh` step that invokes `mvn` (e.g. `sh 'export PATH=$MVN_CMD_DIR:$PATH && mvn clean deploy'`).
24
+
* Or call the generated script directly via `MVN_CMD` (e.g. `sh '$MVN_CMD clean deploy'`)
24
25
* Or use Takari's Maven Wrapper (e.g. `sh './mvnw clean deploy'`)
25
26
26
27
If omitted, the Maven settings file and Mven global settings file will not be injected in the Maven execution.
0 commit comments