RE: Surefire plugin: aggregator project - aggregate test results from all children?
Sending this just one more time as I am still stuck on this. Anyone have any ideas? We have the following project layout parent/pom.xml child1/pom.xml src/test/java TestOne.java TestTwo.java child2/pom.xml src/test/java TestMore.java TestAgain.java Building the parent project goes off and builds all of the child modules, invokes each child's test cases, and reports that they have succeeded at that level. The aggregator project does not have or need any test cases itself. child1/ Results : Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 BUILD SUCCESSFUL child2/ Results : Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 BUILD SUCCESSFUL BUILD SUCCESSFUL That's fine so far - that's the way I'd like it to work. We are using TFS team build to invoke nightly builds of the aggregator, and the thing is just saying no tests, no test results, since it's building the aggregator project and not the child modules individually. If i change it to build the children one at a time, I get those test results right on the dashboard. My question is, is there a way to have the aggregator project collect and aggregate the test results from the children, such as: child1/ Results : Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 BUILD SUCCESSFUL child2/ Results : Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 BUILD SUCCESSFUL Tests run: 4, Failures: 0, Errors: 0, Skipped: 0 BUILD SUCCESSFUL $ ls ~/parent/target/surefire-reports TestOne.txt TestOne.xml TestTwo.txt TestTwo.xml TestMore.txt TestMore.xml TestAgain.txt TestAgain.xml In searching online I'm seeing things like -Daggregate=true but it doesn't seem to do anything. Is there any way to accomplish this with the surefire plugin? Latest version. Thanks! John John W. Newman Programmer [Description: C:\Users\newmjw\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.Outlook\TKMGHKML\d3via_logo (2).gif] 5750 Centre Avenue, Suite 500 Pittsburgh, PA 15206 Tel 412-204-0116 newma...@d3onc.commailto:newma...@d3onc.com www.d3onc.comhttp://www.d3onc.com/ Fax 412-365-0749 This e-mail may contain confidential information of the sending organization. Any unauthorized or improper disclosure, copying, distribution, or use of the contents of this e-mail and attached document(s) is prohibited. The information contained in this e-mail and attached document(s) is intended only for the personal and confidential use of the recipient(s) named above. If you have received this communication in error, please notify the sender immediately by e-mail and delete the original e-mail and attached document(s).
Surefire plugin: aggregator project - aggregate test results from all children?
All, We have the following project layout parent/pom.xml child1/pom.xml src/test/java TestOne.java TestTwo.java child2/pom.xml src/test/java TestMore.java TestAgain.java Building the parent project goes off and builds all of the child modules, invokes each child's test cases, and reports that they have succeeded at that level. The aggregator project does not have or need any test cases itself. child1/ Results : Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 BUILD SUCCESSFUL child2/ Results : Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 BUILD SUCCESSFUL BUILD SUCCESSFUL That's fine so far - that's the way I'd like it to work. We are using TFS team build to invoke nightly builds of the aggregator, and the thing is just saying no tests, no test results, since it's building the aggregator project and not the child modules individually. If i change it to build the children one at a time, I get those test results right on the dashboard. My question is, is there a way to have the aggregator project collect and aggregate the test results from the children, such as: child1/ Results : Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 BUILD SUCCESSFUL child2/ Results : Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 BUILD SUCCESSFUL Tests run: 4, Failures: 0, Errors: 0, Skipped: 0 BUILD SUCCESSFUL $ ls ~/parent/target/surefire-reports TestOne.txt TestOne.xml TestTwo.txt TestTwo.xml TestMore.txt TestMore.xml TestAgain.txt TestAgain.xml In searching online I'm seeing things like -Daggregate=true but it doesn't seem to do anything. Is there any way to accomplish this with the surefire plugin? Latest version. Thanks! John John W. Newman Programmer [Description: C:\Users\newmjw\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.Outlook\TKMGHKML\d3via_logo (2).gif] 5750 Centre Avenue, Suite 500 Pittsburgh, PA 15206 Tel 412-204-0116 newma...@d3onc.commailto:newma...@d3onc.com www.d3onc.comhttp://www.d3onc.com/ Fax 412-365-0749 This e-mail may contain confidential information of the sending organization. Any unauthorized or improper disclosure, copying, distribution, or use of the contents of this e-mail and attached document(s) is prohibited. The information contained in this e-mail and attached document(s) is intended only for the personal and confidential use of the recipient(s) named above. If you have received this communication in error, please notify the sender immediately by e-mail and delete the original e-mail and attached document(s).
RE: codehaus.org
I've had connectivity problems with that site pretty regularly going on for a couple years now. Sometimes it works, sometimes it doesn't. :-DRight now at the moment it does work, but earlier today it did not. -Original Message- From: Hilco Wijbenga [mailto:hilco.wijbe...@gmail.com] Sent: Wednesday, August 17, 2011 5:31 PM To: Maven Users List Subject: Re: codehaus.org On 17 August 2011 11:16, Robert Scholte rfscho...@codehaus.org wrote: It looks like the site is kind of unstable http://www.downforeveryoneorjustme.com/mojo.codehaus.org right now it's down for me too (the Netherlands) It's up for me right now (Canada) but it was down for several hours a few weeks ago. So unstable seems to describe it well. :-) - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org