> -----Original Message----- > From: Kenney Westerhof [mailto:[EMAIL PROTECTED] > Sent: vendredi 11 août 2006 13:05 > To: Maven Developers List > Subject: Re: Integration testing plugins > > > > Vincent Massol wrote: > > > Also, Kenney do you know if the it plugin can now be used to test a > plugin > > that is being built for the first time? I remember that I didn't > activate it > > on the clover plugin because it would work only if the clover plugin was > > installed in the local repository and this came after integration > testing. > > Thus you would always run it tests on the previous version of the plugin > > (looked up from the local repo). I think I had a jira issue for this. > I'm > > offline now but I'll try to dig it up if need be. > > The following issue [1] should provide that: it was blocking the use of > the it plugin; once fixed, it worked fine. If the local repository > version of the plugin is used instead, then I suggest we re-open the > issue. > > [1] http://jira.codehaus.org/browse/MNG-870
Thanks Kenney for your answer. I've tried it and I have 3 problems: 1) It seems the it plugin is not available on ibiblio and thus the build failed when I added it to the clover plugin: <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-it-plugin</artifactId> <configuration> <goals>clean,install,clean,site</goals> </configuration> <executions> <execution> <phase>integration-test</phase> <goals> <goal>test</goal> </goals> </execution> </executions> </plugin> </plugins> </build> 2) My directory structure is as follows in the clover plugin: src/it/ |_ multiproject/ |_ jar1/ |_ ear1/ |_ [...] |_ pom.xml |_ simple/ |_ [...] |_ pom.xml When I ran the test goal of the it plugin it only executed the top level multiproject/pom.xm but not the modules defined in it. 3) When I removed the clover plugin from my local repo and then ran "mvn clean install" on the clover plugin it looked up the clover plugin from the remote repo (ibiblio) for running the tests. This is not the right behavior as the it plugin would need to use the clover plugin just built rather than the latest version available in the remot repo. Should I open JIRA issues for these? Thanks -Vincent p5.vert.ukl.yahoo.com uncompressed Wed Aug 23 12:27:00 GMT 2006 ___________________________________________________________________________ Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. http://fr.answers.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]