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


Reply via email to