I've removed the version and the report got generate in the same way as before, without finding any tests (tests that I see run while running site, BTW)
So I specified version 2.0-SNAPSHOT and got this GroupId: org.codehaus.mojo ArtifactId: surefire-report-maven-plugin Version: 2.0-SNAPSHOT Reason: Unable to download the artifact from any repository org.codehaus.mojo:surefire-report-maven-plugin:pom:2.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), tech-1 (http://localhost:9090/testux/maven2/), wife.repo (http://wife.sf.net/m2-snapshots/), wire.repo2 (http://wife.sf.net/m2-repository/) probably because I haven't installed a snapshot of the plugin locally I specified version 2.0-beta-4 but it wasn't found (I've already checked and defined that dep by seeing the only deployed version at http://www.ibiblio.org/maven2/org/codehaus/mojo/surefire-report-maven-plugin/ ) so my guess is, did you compile the plugin locally? or: do you have another repository defined? thank you all so much On 3/11/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > I agree. You shoudn't specify a plugin version unless you really need > to (for instance you want to use a snapshot version). This way Maven > will tell you when there is a new version released and ask you if you > want to install it and use it from now on. > > On 3/11/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > > Sorry about the /src/tests mistake -- you're right, the correct > > directory is /src/test. > > > > I'm not specifying the version number as you are... > > Mine > > <plugin> > > <groupId>org.codehaus.mojo</groupId> > > <artifactId>surefire-report-maven-plugin</artifactId> > > </plugin> > > > > Yours: > > <plugin> > > <groupId>org.codehaus.mojo</groupId> > > <artifactId>surefire-report-maven-plugin</artifactId> > > <version>2.0-beta-1</version> > > </plugin> > > > > > > Perhaps this is causing your issue? I'm not sure what the most recent > > release is but according to my local user repo I've got: > > 2.0-20060106.225541-3 > > 2.0-alpha-2 > > 2.0-beta-4 > > 2.0-SNAPSHOT > > > > Without specifying a version, I'm getting > > maven-site-plugin:2.0-beta-4. I'd assume there are updates between > > beta-1 and beta-4 that you are missing, which is leading to some of > > your troubles. > > > > Wayne > > > > > > On 3/10/06, Miguel Griffa <[EMAIL PROTECTED]> wrote: > > > I alsgo have all test classes named FooTest > > > but the dir is src/test/java (note singluar test, not plural) > > > > > > however, if I run mvn test, it will take 20' to run all tests, but > when I > > > run site, tests are run, but report says 0 tests. > > > I noticed there are not TESTfoo.xml in the generated reports dir, but > I > > > guess that should be automatic, shouldn't it? > > > you didn't have to set anything special, did you? > > > > > > plugin is defined like this > > > > > > <reporting> > > > <plugins> > > > <plugin> > > > <groupId>org.codehaus.mojo</groupId> > > > <artifactId>surefire-report-maven-plugin</artifactId> > > > <version>2.0-beta-1</version> > > > </plugin> > > > > > > > > > > > > On 3/10/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > > > > > > > > I also use it with zero issues. Tests are in src/tests/java and > named > > > > BlahVOTest.java with methods setUp, tearDown, and testBlah1, > > > > testBlah2, etc. > > > > > > > > I can only think you are doing something strange, Miguel. ;-) > > > > > > > > Wayne > > > > > > > > > > > > On 3/10/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > > > > I use it without any problems. What are you test methods names ? > > > > > textXXX ? Or you prefer to use test suites? > > > > > > > > > > On 3/10/06, Miguel Griffa <[EMAIL PROTECTED]> wrote: > > > > > > anyone being able to use surfire test report in m2? > > > > > > I have a project with 2000+ tests, with m2 dir layout and test > report > > > > says > > > > > > all zero... > > > > > > any ideas? > > > > > > > > > > > > -- > > > > > > Miguel Griffa > > > > > > Skype: miguel.griffa > > > > > > Y!: m_griffa > > > > > > MSN: [EMAIL PROTECTED] > > > > > > Cell: 15-62519355 > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Alexandre Poitras > > > > > Québec, Canada > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Miguel Griffa > > > Skype: miguel.griffa > > > Y!: m_griffa > > > MSN: [EMAIL PROTECTED] > > > Cell: 15-62519355 > > > > > > > > > > > -- > Alexandre Poitras > Québec, Canada > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Miguel Griffa Skype: miguel.griffa Y!: m_griffa MSN: [EMAIL PROTECTED] Cell: 15-62519355
