Not that I know of, no.

What you could do is put it in a profile that is triggered by the
performRelease property (for example) which does this check in the validate
phase for instance. Adapt how to ensure that the profile is being used when
releasing to your procedures.

/Anders

On Fri, Sep 17, 2010 at 07:50, Moser, Christian <c...@metrohm.com> wrote:

> Is it possible to call a custom enforcer rule at first in lifecycle
> phase deploy. I know I could create a custom lifecycle, but this is a
> bit of an overhead for this problem, though..
>
> The rule should prevent changes being deployed to the artifactory if
> there are newer versions in the scm repository. So it's essential that
> the rule checkst he scm before a deploy is executed.
>
>
>
> Thx in advance!
>
>
>
> Chris
>
>

Reply via email to