You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Office Ra <rm...@gmail.com> on 2014/08/16 01:39:01 UTC
Re: How might I "enforce" the use of snapshot versions for non-release plugin builds?
Mmo
On Jul 17, 2014, at 9:24 AM, "Zerbe, John W" <jo...@bnymellon.com> wrote:
> 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.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org