I just looked at invoker plugin as part of maven-jar-plugin it tests.
Looks very similar to shitty, just two diffs :

- shitty handles installing a test jar in the local repo. Invoker requires
more conf in POM to install the jar in a custom local repo (the way it is
used in MJAR)
- shitty uses groovy for verify scripts, verifier uses beanshell.
Both accept standard Java.

Couldn't those two plugins merge ? They are so similar !


2007/12/14, nicolas de loof <[EMAIL PROTECTED]>:
>
> Not sure to understand, maybe I miss-used testing-harness :
>
> I set a test POM with just the plugin configuration, so that I can run :
>
>         File testPom = new File( getBasedir(),
> "src/test/resources/compile.pom" );
>         Mojo mojo = (Mojo) lookupMojo( "compile", testPom );
>         assertNotNull( "Failed to configure the plugin", mojo );
>         mojo.execute();
>
> Right, but then when my plugin has many plexus @component I have to set
> them in the test POM as configuration elements, using
> implementation="XXXStub". So it seems this NOT to be a real maven build. The
> EclipsePlugin requires a MavenProject with many sub-components, that is
> difficult to setup
>
> Or maybe I missunderstood the use of this plugin ?
>
> Nico.
>
>
> 2007/12/14, Brian E. Fox <[EMAIL PROTECTED]>:
> >
> >
> > >AFAIK, shitty is similar to invoker, but does more : it install the
> > current
> > >artifact in local repo with version "testing" and invoke a maven build.
> >
> > >Seems to be what the invoker it-test do. Shitty alos use groovy scripts
> > to
> > >test the result.
> >
> > This is _exactly_ what the plugin testing harness (currently used by the
> > eclipse plugin) does.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

Reply via email to