use another sub pom project for that purpose. No way out

-D


On 9/29/06, Morgovsky, Alexander (US - Glen Mills) <[EMAIL PROTECTED]>
wrote:

I would like to have a pom.xml serve both as the parent POM for other
modules and have a <build> body which calls several plugins.  The
problem is that when I build applications which have this as a parent
but are not its modules, the execution of the pom get's performed.
Thus, the question is:  Is it possible to have a pom.xml serve as a
parent and have its execution perform when called from its basedir, but
when extended, the execution part would not run?  I worked around this
by creating another pom.xml without any executions with a submodule, but
I would like to know if there is an alternative.  Thanks.


This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law.  If
you are not the intended recipient, you should delete this message.


Any disclosure, copying, or distribution of this message, or the taking of
any action based on it, is strictly prohibited. [v.E.1]


Reply via email to