Re: Testing a plugin using Maven 3.0-alpha-5

2009-12-25 Thread Benjamin Bentmann
Kurt Zettel wrote: I started creating my integration tests modeled after maven's shade plugin's ITs but I have to assert quite a bit. The BeanShell scripts are pretty hairy. Is there a (convenient/standard) way to do this from a junit test? For one, you can use BeanShell or Groovy, whatever

Re: Testing a plugin using Maven 3.0-alpha-5

2009-12-24 Thread Kurt Zettel
I started creating my integration tests modeled after maven's shade plugin's ITs but I have to assert quite a bit. The BeanShell scripts are pretty hairy. Is there a (convenient/standard) way to do this from a junit test? On Sat, Dec 12, 2009 at 12:34 PM, Jason van Zyl wrote: > Look at any of

Re: Testing a plugin using Maven 3.0-alpha-5

2009-12-12 Thread Jason van Zyl
Look at any of the core plugins and the ITs that Benjamin has created there. Most of them have ITs now and they use the invoker plugin which is what we use in the Maven ITs as well. https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-shade-plugin On 2009-12-12, at 10:03 AM, Kurt Zettel w

Testing a plugin using Maven 3.0-alpha-5

2009-12-12 Thread Kurt Zettel
I have a custom build plugin which was tested with MavenEmbedder. In the latest alpha release MavenEmbedder was removed. I am trying to follow best practices for running a full, automated integration test, specifically following the example at the bottom of this page: http://maven.apache.org/plug