We have a special profile for releasing that sets some extra variables.
-----Original Message-----
From: Julian Wood [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 26, 2006 3:00 PM
To: Maven Users List
Subject: Release question
When releasing an artifact, during release:prepare, I get to this point:
...
[INFO] Executing preparation goals 'clean integration-test'...
[INFO] Executing: mvn clean integration-test --no-plugin-updates -P
deploy-config,deploy-config
[INFO] Scanning for projects...
...
Is there a way to modify the command above:
mvn clean integration-test --no-plugin-updates -P deploy-
config,deploy-config
such that it has additional parameters?
mvn clean integration-test --no-plugin-updates -P deploy-
config,deploy-config -Dmaven.buildNumber.skipCheck=true
or can it automatically inherit said parameters from the original
command?
mvn release:prepare -Dmaven.buildNumber.skipCheck=true
Alternatively, is there a way for my plugin to determine that it is
being executed in the context of a release? I do not want it to
execute certain things at any point during release.
Thanks,
J
--
Julian Wood <[EMAIL PROTECTED]>
Software Engineer
Teaching & Learning Centre
University of Calgary
http://tlc.ucalgary.ca
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]