Re: skipping surefire-report failure
Thanks Wendy, But seems this isnt working, I tried running "mvn -N -Dtest.failure.ignore=true" and "mvn -N -Dmaven.test.failure.ignore=true" but seems it doesnt work. As for the testFailureIgnore ignore I cant configure that as I have configure tht as the I am not generating a complete surefire-report, just running the unit tests as of now. Wendy Smoak-3 wrote: > > On 4/25/07, monsterkhan <[EMAIL PROTECTED]> wrote: >> >> Some of my unit tests are failing wehn I run a maven builf and this >> results >> in a failed build. Is there a way so tht the build doesnt fail and the >> surefire reports gets generated even when a few tests fail? >> >> tried a few options but nothings seems to work. > > Configure the plugin with testFailureIgnore set to true. > > http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#testFailureIgnore > > I think it also works on the command line with -Dtest.failure.ignore=true > > -- > Wendy > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/skipping-surefire-report-failure-tf3645559s177.html#a10181942 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
skipping surefire-report failure
Some of my unit tests are failing wehn I run a maven builf and this results in a failed build. Is there a way so tht the build doesnt fail and the surefire reports gets generated even when a few tests fail? tried a few options but nothings seems to work. -- View this message in context: http://www.nabble.com/skipping-surefire-report-failure-tf3645559s177.html#a10181405 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Exception: Cannot checkout sources. 7
Yes it does work in the same server for the same user! and exactly the same configuration for maven. Wayne Fay wrote: > > Does it work from Maven on the same server, with the same user? > > Wayne > > On 4/23/07, monsterkhan <[EMAIL PROTECTED]> wrote: >> >> Thanks for the reply Wayne. This works in maven on commandline perfectly, >> its >> only after the maven/mks integration has matured have we moved on to >> Continuum. Any more valuable suggestions are welcome. >> >> >> >> Wayne Fay wrote: >> > >> > I'd make this SCM w/MKS work in Maven first, then worry about making >> > it work in Continuum. Or does it work fine in Maven (stand alone from >> > command line) but not Continuum? >> > >> > Wayne >> > >> > On 4/23/07, monsterkhan <[EMAIL PROTECTED]> wrote: >> >> >> >> That is something that I get in the failed build list on the front-end >> >> and >> >> not in the stack trace :) apologies for not making that clear in the >> >> first >> >> go. >> >> >> >> >> >> >> >> Emmanuel Venisse wrote: >> >> > >> >> > I don't see "Cannot checkout sources" messages in this stacktrace. >> >> > >> >> > Emmanuel >> >> > >> >> > monsterkhan a écrit : >> >> >> Hi Emmanuel, >> >> >>Well the stack trace doesnt look too helpful to me, what >> >> exactly I >> >> >> was looking for was the list of descriptions of different continuum >> >> >> exceptions as that might make it easy to analyse the causes of the >> >> >> exceptions. >> >> >> >> >> >> To the best of my guess theres some issue in the way I am giving >> the >> >> path >> >> >> to >> >> >> the SCM i.e MKS, But what exactly is the reason is beating me. If >> >> someone >> >> >> gets an idea from this please help :) >> >> >> >> >> >> Here is the relevant part of pom.xml config tht I think is causing >> the >> >> >> trouble. >> >> >> test-continuum >> >> >> jar >> >> >> 1.0-SNAPSHOT >> >> >> test-continuum >> >> >> http://maven.apache.org >> >> >> >> >> >> >> >> >> >> >> >> scm:mks|hostname="hostName"|port="1234"|username="XX"|password="something"|project=/repos/XYZ/ABC/test-continuum/project.pj|devpath=|revision= >> >> >> >> >> >> >> >> >> scm:mks|hostname="hostName"|port="1234"|username="XX"|password="something"|project=|devpath=|revision= >> >> >> >> >> hostName:port/repos/ABC/XYZ/test-continuum/project.pj >> >> >> >> >> >> >> >> >> And here is the stack trace... >> >> >> >> >> >> 23 09:09:18,716 [Thread-2] INFO ContinuumScm - >> >> >> Checking >> >> >> out project: 'test-continuum', id: '26' to >> >> >> >> >> >> 'C:\continuum-1.0.3\bin\win32\..\..\apps\continuum\working-directory\26'. >> >> >> INFO | jvm 3| 2007/04/23 09:09:18 | 2007-04-23 09:09:18,746 >> >> >> [SocketListener0-0] WARN SQL- Object >> with >> >> id >> >> >> "0" not found ! >> >> >> INFO | jvm 3| 2007/04/23 09:10:00 | 2007-04-23 09:10:00,536 >> >> >> [SocketListener0-1] WARN SQL- Object >> with >> >> id >> >> >> "0" not found ! >> >> >> INFO | jvm 3| 2007/04/23 09:10:00 | 2007-04-23 09:10:00,536 >> >> >> [SocketListener0-1] WARN ViewContextPopulator - Cannot >> find >> >> a >> >> >> value for the expression getProject(#id)in >> >> >> [EMAIL PROTECTED] >> >> >> INFO | jvm 3| 2007/04/23 09:10:00 | 2007-04-23 09:10:00,546 >> >> >> [SocketListener0-1] WARN SQL- Object >> with >> >> id >> >> >> "0" not found ! >> >> >> INFO | jvm
Re: Exception: Cannot checkout sources. 7
Thanks for the reply Wayne. This works in maven on commandline perfectly, its only after the maven/mks integration has matured have we moved on to Continuum. Any more valuable suggestions are welcome. Wayne Fay wrote: > > I'd make this SCM w/MKS work in Maven first, then worry about making > it work in Continuum. Or does it work fine in Maven (stand alone from > command line) but not Continuum? > > Wayne > > On 4/23/07, monsterkhan <[EMAIL PROTECTED]> wrote: >> >> That is something that I get in the failed build list on the front-end >> and >> not in the stack trace :) apologies for not making that clear in the >> first >> go. >> >> >> >> Emmanuel Venisse wrote: >> > >> > I don't see "Cannot checkout sources" messages in this stacktrace. >> > >> > Emmanuel >> > >> > monsterkhan a écrit : >> >> Hi Emmanuel, >> >>Well the stack trace doesnt look too helpful to me, what >> exactly I >> >> was looking for was the list of descriptions of different continuum >> >> exceptions as that might make it easy to analyse the causes of the >> >> exceptions. >> >> >> >> To the best of my guess theres some issue in the way I am giving the >> path >> >> to >> >> the SCM i.e MKS, But what exactly is the reason is beating me. If >> someone >> >> gets an idea from this please help :) >> >> >> >> Here is the relevant part of pom.xml config tht I think is causing the >> >> trouble. >> >> test-continuum >> >> jar >> >> 1.0-SNAPSHOT >> >> test-continuum >> >> http://maven.apache.org >> >> >> >> >> >> >> scm:mks|hostname="hostName"|port="1234"|username="XX"|password="something"|project=/repos/XYZ/ABC/test-continuum/project.pj|devpath=|revision= >> >> >> >> >> scm:mks|hostname="hostName"|port="1234"|username="XX"|password="something"|project=|devpath=|revision= >> >> >> hostName:port/repos/ABC/XYZ/test-continuum/project.pj >> >> >> >> >> >> And here is the stack trace... >> >> >> >> 23 09:09:18,716 [Thread-2] INFO ContinuumScm - >> >> Checking >> >> out project: 'test-continuum', id: '26' to >> >> >> 'C:\continuum-1.0.3\bin\win32\..\..\apps\continuum\working-directory\26'. >> >> INFO | jvm 3| 2007/04/23 09:09:18 | 2007-04-23 09:09:18,746 >> >> [SocketListener0-0] WARN SQL- Object with >> id >> >> "0" not found ! >> >> INFO | jvm 3| 2007/04/23 09:10:00 | 2007-04-23 09:10:00,536 >> >> [SocketListener0-1] WARN SQL- Object with >> id >> >> "0" not found ! >> >> INFO | jvm 3| 2007/04/23 09:10:00 | 2007-04-23 09:10:00,536 >> >> [SocketListener0-1] WARN ViewContextPopulator - Cannot find >> a >> >> value for the expression getProject(#id)in >> >> [EMAIL PROTECTED] >> >> INFO | jvm 3| 2007/04/23 09:10:00 | 2007-04-23 09:10:00,546 >> >> [SocketListener0-1] WARN SQL- Object with >> id >> >> "0" not found ! >> >> INFO | jvm 3| 2007/04/23 09:10:00 | 2007-04-23 09:10:00,546 >> >> [SocketListener0-1] WARN ViewContextPopulator - Cannot find >> a >> >> value for the expression getBuildResultsForProject(#id)in >> >> [EMAIL PROTECTED] >> >> INFO | jvm 3| 2007/04/23 09:10:00 | 2007-04-23 09:10:00,566 >> >> [SocketListener0-1] ERROR VelocityComponent - Method >> >> addPathInfo threw exception for reference $link in template >> >> screens/ProjectBuilds.vm at [14,26] >> >> INFO | jvm 3| 2007/04/23 09:10:00 | 2007-04-23 09:10:00,566 >> >> [SocketListener0-1] ERROR Renderer:velocity - Error >> >> rendering >> >> template: >> >> INFO | jvm 3| 2007/04/23 09:10:00 | >> java.lang.NullPointerException >> >> INFO | jvm 3| 2007/04/23 09:10:00 |at >> >> >> org.codehaus.plexus.summit.util.UriBuilder.addPathInfo(UriBuilder.java:263) >> >> INFO | jvm 3| 2007/04/23 09:10:00
Exception: Cannot checkout sources. 7
I am getting this exception when try to build my project. I am building it using maven2 with MKS. Does anyone has an idea abou the exact nature of this exception. Thanks in advance. -- View this message in context: http://www.nabble.com/Exception%3A--Cannot-checkout-sources.-7-tf3619280.html#a10105667 Sent from the Continuum - Users mailing list archive at Nabble.com.