Hi,
I would like to use the Maven Enforcer plugin to fail builds on our Jenkins 
server that do not have a -SNAPSHOT version and are not a maven release build.
I've had issues where either through lack of knowledge or as fallout from a 
failed release attempt where a developer tries to build what should be a 
snapshot deploy build but is really a release build. The build may fail because 
the artifact already exists in the release repository giving a rather cryptic 
"operation not allowed" error from our Nexus OSS server or it "works once".  I 
want to be able to use enforcer in our top level "parent" pom to enforce the 
use of release:prepare release:perform via Jenkins maven release plugin while 
also using it to do as many sanity checks as possible prior to an actual 
"release" build.

Thoughts?

Thank you,
John

The information contained in this e-mail, and any attachment, is confidential 
and is intended solely for the use of the intended recipient. Access, copying 
or re-use of the e-mail or any attachment, or any information contained 
therein, by any other person is not authorized. If you are not the intended 
recipient please return the e-mail to the sender and delete it from your 
computer. Although we attempt to sweep e-mail and attachments for viruses, we 
do not guarantee that either are virus-free and accept no liability for any 
damage sustained as a result of viruses. 

Please refer to http://disclaimer.bnymellon.com/eu.htm for certain disclosures 
relating to European legal entities.

Reply via email to