I would just write a standalone mojo and invoke maven in a forked
process as needed.

Justin

On Mar 17, 2010, at 8:02 PM, Brad Jarvinen
<[email protected]> wrote:

> Another possibility is that I'm using the wrong tool for the job.
> So I should explain what I'm trying to do.
>
> From my mojo, I'm trying to invoke other mojos and goals. My mojo
> invokes many "sub" goals, i.e.
> - generate 4 projects with archetype:generate
> - add some files to each of the projects
> - change some pom.xml settings
>
> A custom lifecycle seems to allow me to invoke the
> archetype:generate 4 times to create 4 projects.  I then could
> invoke other goals to populate files into those projects.  Would a
> custom archetype be better?  Or would some other method I'm unaware
> of be better?
>
> Any suggestions extremely welcome.
>
>
>
>
> The information transmitted herewith is sensitive      information
> of Chordiant Software or its customers and is intended only for use
> to the individual or entity to which it is addressed. If the reader
> of this message is not the intended recipient, you are hereby
> notified that any review, retransmission, dissemination,
> distribution, copying or other use of, or taking of any action in
> reliance upon, this information is strictly prohibited. If you have
> received this communication in error, please contact the sender and
> delete the material from your computer.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to