Re: [M2] Testing a m2 plugin

2005-04-17 Thread Brett Porter
Vincent Massol wrote: >>Also requires the hooks to remove the files beforehand. But sounds good >> >> > >Yes, I still don't understand how you do this in m2... Is this goal >aliasing? > > I just meant extra configuration for the plugin. >I could give it a try. I'd rather name is something l

RE: [M2] Testing a m2 plugin

2005-04-17 Thread Vincent Massol
> -Original Message- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: dimanche 17 avril 2005 15:33 > To: Maven Developers List > Subject: Re: [M2] Testing a m2 plugin > > Vincent Massol wrote: > > >I think a verifier plugin that simply verifies exis

Re: [M2] Testing a m2 plugin

2005-04-17 Thread Brett Porter
Vincent Massol wrote: >I think a verifier plugin that simply verifies existence/nonexistence of >files/dir and their contents would be a good first step. > >It could be configured with: > > > > > ${basedir}/target/clover/clover.db > [enter a regexp here - This is optional] > e

RE: [M2] Testing a m2 plugin

2005-04-17 Thread Vincent Massol
ing a directory structure of: mypluginroot/ |_ plugin/ |_ tests/ |_ test01/ [_ testNN/ Thanks -Vincent > -Original Message- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: dimanche 17 avril 2005 01:52 > To: Maven Developers List > Subject: Re: [M2] Testing a m2

RE: [M2] Testing a m2 plugin

2005-04-17 Thread Vincent Massol
e top level and type "m2 install" and it will run the integration tests too. What do you think? Thanks -Vincent > -Original Message- > From: Vincent Massol [mailto:[EMAIL PROTECTED] > Sent: dimanche 17 avril 2005 10:20 > To: 'Maven Developers List' &g

RE: [M2] Testing a m2 plugin

2005-04-17 Thread Vincent Massol
> -Original Message- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: dimanche 17 avril 2005 01:52 > To: Maven Developers List > Subject: Re: [M2] Testing a m2 plugin > > Yes, I have a JIRA in to turn that into an m2 plugin itself. > > Not sure that

Re: [M2] Testing a m2 plugin

2005-04-16 Thread Brett Porter
Yes, I have a JIRA in to turn that into an m2 plugin itself. Not sure that's exactly what you want, as it forks m2 to run the goals. Really, an integration test should not be needed - if the plugin is in Java, you should be able to test with junit. At least up until the point that multiple goals