On 10/4/05, Allison, Bob <[EMAIL PROTECTED]> wrote:
> I am starting to look into building a plugin which will allow mock
> objects (and other classes which are used for testing projects which use
> the current project) to be built and packaged.

I thnk John Fallows is already working on this - you might like to
collaborate here.

> My first problem is how do I trigger the new mojo to
> run.  I have been looking at the TestCompilerMojo and the surefire
> plugin and I have not been able to determine what actually causes the
> test classes to be compiled.

See the "build lifecycle" document on the web site.

>
> The second step is to get the classes and resources packaged.  I was
> looking at building a mojo for the jar plugin like TestJarMojo (probably
> called UsageTestJarMojo).  I am thinking that I can cause this to be
> executed in a manner like done in it0077 to execute the TestJarMojo.

Sounds correct.

> I can also try to keep track of what I am doing to make a first cut at
> the Plugin Development Guide.

Thanks!

- Brett

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to