You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Pankaj Tandon <pa...@gmail.com> on 2008/11/19 19:44:08 UTC

Interjectign a plugin in a life-cycle phase

Hello,
I'd like to interject a plugin in a certain phase (say validate) that is
always executed for all developers who use maven within the enterprise.

To achieve this, should I create a enterprise level POM and have all
developers extend it? 

I have an enterprise-wide setting.xml file. Can I somehow use the
settings.xml file to enforce the use of this enterprise-wide POM that I
created (and in which I have specified my plugin)?

Thanks
Pankaj

-- 
View this message in context: http://www.nabble.com/Interjectign-a-plugin-in-a-life-cycle-phase-tp20586481p20586481.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Interjectign a plugin in a life-cycle phase

Posted by Wayne Fay <wa...@gmail.com>.
> To achieve this, should I create a enterprise level POM and have all
> developers extend it?

Yes, this pom would be the parent for all projects in your organization.

> I have an enterprise-wide setting.xml file. Can I somehow use the
> settings.xml file to enforce the use of this enterprise-wide POM that I
> created (and in which I have specified my plugin)?

No, this is not possible. At least, I'm not aware of any way to do this.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org