-
Improvement
-
Resolution: Won't Fix
-
Major
-
None
-
Platform: All, OS: All
Maven allows for various command line options, which cannot be set explicitly
for a maved based job. I'm especially looking for -U and -fae
The workaround (that works for me in hudson-1.307) is to set the options in as
part of the goals
Goals: -U clean install
------------------------------
usage: mvn [options] [<goal(s)>] [<phase(s)>]
Options:
q,-quiet Quiet output - only show errors
C,-strict-checksums Fail the build if checksums don't match
c,-lax-checksums Warn if checksums don't match
P,-activate-profiles Comma-delimited list of profiles to
activate
ff,-fail-fast Stop at first failure in reactorized builds
fae,-fail-at-end Only fail the build afterwards; allow all
non-impacted builds to continue
B,-batch-mode Run in non-interactive (batch) mode
fn,-fail-never NEVER fail the build, regardless of project
result
up,-update-plugins Synonym for cpu
N,-non-recursive Do not recurse into sub-projects
npr,-no-plugin-registry Don't use ~/.m2/plugin-registry.xml for
plugin versions
U,-update-snapshots Forces a check for updated releases and
snapshots on remote repositories
cpu,-check-plugin-updates Force upToDate check for any relevant
registered plugins
npu,-no-plugin-updates Suppress upToDate check for any relevant
registered plugins
D,-define Define a system property
X,-debug Produce execution debug output
e,-errors Produce execution error messages
f,-file Force the use of an alternate POM file.
h,-help Display help information
o,-offline Work offline
r,-reactor Execute goals for project found in the
reactor
s,-settings Alternate path for the user settings file
v,-version Display version information
- relates to
-
JENKINS-12192 Jenkins Release Plugin does not honor Global MAVEN_OPTS
- Open
-
JENKINS-26861 Invoke top-level Maven targets pre-/post-step should use batch mode
- Open
-
JENKINS-6640 Unable to set MAVEN_OPTS
- Closed
-
JENKINS-5405 Global MAVEN_OPTS doesn't work
- Closed
-
JENKINS-5409 freestyle projects doesn't support global MAVEN_OPTS
- Open