Joakim, You can create a custom rule and get access to nearly anything a plugin could. You either return peacefully or throw an exception when the rule fails, what occurs inside there is completely open.
In theory, you could fail the rule if you don't like the username ;-) http://maven.apache.org/shared/maven-enforcer-rule-api/writing-a-custom- rule.html -----Original Message----- From: Joakim Erdfelt [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 04, 2007 2:53 PM To: Maven Developers List Subject: Re: [VOTE] release maven-enforcer-plugin 1.0-alpha-1 and maven-enforcer-rule-api 1.0-alpha-1 +1 btw, what is the scope of this plugin? Does it exist to only check the environment of the user before executing the build? Can it also perform some multi-module sanity checks, or is that out of scope? (I've wanted to add 2 multi-module convergence checks, on dependencies and parent references) - Joakim Jesse McConnell wrote: > +1 > > On 4/4/07, John Casey <[EMAIL PROTECTED]> wrote: >> +1 >> >> On 4/3/07, Brian E. Fox <[EMAIL PROTECTED]> wrote: >> > >> > Only 1? I figured you'd be +1000 at least by now ;-) >> > >> > -----Original Message----- >> > From: Jason Dillon [mailto:[EMAIL PROTECTED] On Behalf Of >> > Jason Dillon >> > Sent: Tuesday, April 03, 2007 11:13 PM >> > To: Maven Developers List >> > Subject: Re: [VOTE] release maven-enforcer-plugin 1.0-alpha-1 and >> > maven-enforcer-rule-api 1.0-alpha-1 >> > >> > +1 >> > >> > --jason >> > >> > >> > On Apr 3, 2007, at 7:54 PM, Brian E. Fox wrote: >> > >> > > The maven-enforcer-plugin picks up where <prerequisites> leaves >> > > off and allows control over the maven, jdk and os versions of a >> > > build, as >> well >> > > as injection of custom rules. >> > > >> > > The deployments are staged here: >> > > http://people.apache.org/~brianf/staging-repository >> > > >> > > The sites are deployed here: >> > > http://maven.apache.org/plugins/maven-enforcer-plugin/ >> > > http://maven.apache.org/shared/maven-enforcer-rule-api/index.html >> > > >> > > As this is an initial release, there are no changes, but a Jira >> > > project does exist: >> > > http://jira.codehaus.org/browse/MENFORCER >> > > >> > > This plugin was initially conceived here: >> > > http://www.nabble.com/Control-of-maven-using-prerequisites- >> > > tf3231437s177 >> > > .html#a8979318 >> > > >> > > And here: >> > > http://www.nabble.com/Why-is-prerequisites-not-inherited-- >> > > tf3236197s177. >> > > html#a9016296 >> > > >> > > Vote is open for 72hrs. >> > > >> > > +1 >> > > >> > > >> --------------------------------------------------------------------- >> > > To unsubscribe, e-mail: [EMAIL PROTECTED] For >> > > additional commands, e-mail: [EMAIL PROTECTED] >> > > >> > >> > >> > ------------------------------------------------------------------- >> > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For >> > additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > ------------------------------------------------------------------- >> > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For >> > additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
