I'm looking for a possibility to call within a maven plugin a goal of
another plugin (within the same maven project).
For example I want to be able to write a Maven2 Plugin that calls the
Maven-SCM-Plugin to check out a certain revision of the source code and
then calls a Metrics Plugin to do some measurement on the checked out
sources.
Last week I already asked about this problem, but I think I was not
fully unterstood.
Dan Tran suggested to use the maven-embedder. But this seems to be some
overkill. As far as I have unterstood, the maven embedder should be used
to use the Maven functionality from "outside" of Maven.
Within the mail archive I found out that there must exist a construct
called "aggregator" to call other goals. But how do you do that?
The org.apache.maven.lifecycle.DefaultLifecycleExecutor also seems to
call plugin goals but I don't know how to use it.
Thanks for any hints!
Bernhard
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]