Kris,

This is exaclty what i was looking for.
Can't believe i never found the entire .xsd for the pom file before!

Thanks!

On 7/13/06, Bravo, Kris <[EMAIL PROTECTED]> wrote:
This may work for you:

http://maven.apache.org/ref/current/maven-model/maven.html#class_plugin

Set inherited to false and give it another try.


kris bravo * Clarify Development * office: 678.893.1288 * mobile:
678.296.8723


-----Original Message-----
From: Toli Kuznets [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 13, 2006 1:23 PM
To: users@maven.apache.org
Subject: Is it possible to setup plugin to execute only in the parent
POM and not descend into sub-modules?

Hi,

This may be a dumb question resulting from my mis-understanding of
Maven.  Pardon me, i'm new.

Anyway, i have an ant task i want to exec from CLI. My project has 4
sub-modules in it.
I want to setup an installer that does this:
1. use assembly to copy all dependencies and jars to one library 2.
generate custom "run" shell scripts that will start my apps 3. package
it all together into a tarball for distribution.

I know i can use assembly plugin to do #1 and #3, but i didn't want to
create static hardcoded "run" files in case the versions change.

So i created an ant task to call out to a shell script to generate some
files.
However, when i call the antrun:run plugin, it runs not only in parent
space but also tries to run it for each child module.

Is there a way to disable that? How do i setup a goal to be only run
from CLI for the parent module and not descend into any children?

thanks

ps: if anybody has a better idea of how to package installers while
generating custom run scripts (w/out creating my own plugin that does
that) please let me know.

---------------------------------------------------------------------
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]

Reply via email to