Those tests call out to the Rutgers home page to complete their tests. My guess is the call is being blocked.
You can disable running the tests by adding: -Dmaven.test.skip=true to your mvn command -Scott -Scott Battaglia PGP Public Key Id: 0x383733AA LinkedIn: http://www.linkedin.com/in/scottbattaglia On Wed, Feb 18, 2009 at 11:20 AM, Vinicius Borges <[email protected]>wrote: > Ok Scott, thanks for the reply... > These are the 4 failures... > > > ------------------------------------------------------------------------------- > Test set: org.jasig.cas.util.HttpClientTests > > ------------------------------------------------------------------------------- > Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.032 > sec <<< FAILURE! > testOkayUrl(org.jasig.cas.util.HttpClientTests) Time elapsed: 1.016 > sec <<< FAILURE! > junit.framework.AssertionFailedError > at junit.framework.Assert.fail(Assert.java:47) > at junit.framework.Assert.assertTrue(Assert.java:20) > at junit.framework.Assert.assertTrue(Assert.java:27) > at > org.jasig.cas.util.HttpClientTests.testOkayUrl(HttpClientTests.java:28) > > > ------------------------------------------------------------------------------- > Test set: org.jasig.cas.ticket.proxy.support.Cas20ProxyHandlerTests > > ------------------------------------------------------------------------------- > Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 15.085 > sec <<< FAILURE! > > testValidProxyTicketWithoutQueryString(org.jasig.cas.ticket.proxy.support.Cas20ProxyHandlerTests) > Time elapsed: 5.049 sec <<< FAILURE! > junit.framework.AssertionFailedError > at junit.framework.Assert.fail(Assert.java:47) > at junit.framework.Assert.assertTrue(Assert.java:20) > at junit.framework.Assert.assertNotNull(Assert.java:220) > at junit.framework.Assert.assertNotNull(Assert.java:213) > at > org.jasig.cas.ticket.proxy.support.Cas20ProxyHandlerTests.testValidProxyTicketWithoutQueryString(Cas20ProxyHandlerTests.java:32) > > > testValidProxyTicketWithQueryString(org.jasig.cas.ticket.proxy.support.Cas20ProxyHandlerTests) > Time elapsed: 5.018 sec <<< FAILURE! > junit.framework.AssertionFailedError > at junit.framework.Assert.fail(Assert.java:47) > at junit.framework.Assert.assertTrue(Assert.java:20) > at junit.framework.Assert.assertNotNull(Assert.java:220) > at junit.framework.Assert.assertNotNull(Assert.java:213) > at > org.jasig.cas.ticket.proxy.support.Cas20ProxyHandlerTests.testValidProxyTicketWithQueryString(Cas20ProxyHandlerTests.java:37) > > > > ------------------------------------------------------------------------------- > Test set: > org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandlerTests > > ------------------------------------------------------------------------------- > Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 8.597 > sec <<< FAILURE! > > testAcceptsNonHttpsCredentials(org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandlerTests) > Time elapsed: 5.002 sec <<< FAILURE! > junit.framework.AssertionFailedError > at junit.framework.Assert.fail(Assert.java:47) > at junit.framework.Assert.assertTrue(Assert.java:20) > at junit.framework.Assert.assertTrue(Assert.java:27) > at > org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandlerTests.testAcceptsNonHttpsCredentials(HttpBasedServiceCredentialsAuthenticationHandlerTests.java:56) > > Take a look now... just say "Time elapsed"... > > Thanks > Vinicius > > 2009/2/18 Scott Battaglia <[email protected]>: > > I don't believe we use Commons HttpClient in 3.3.1. > > > > If you look in the surefire-reports directory you can tell why the tests > are > > failing. They should have a similar name to the tests you referenced > > above. Post them to the list and we can look at them. > > > > -Scott > > > > -Scott Battaglia > > PGP Public Key Id: 0x383733AA > > LinkedIn: http://www.linkedin.com/in/scottbattaglia > > > > > > On Wed, Feb 18, 2009 at 8:45 AM, Vinicius Borges <[email protected]> > > wrote: > >> > >> Ok... I downloaded commons-httpclient.jar and I put into Maven2 > >> repository. Should I put this jar into a specific subfolder of > >> repository? > >> What I have to change in pom.xml of webapp project? > >> > >> Thanks > >> > >> 2009/2/18 Michael A Jones <[email protected]>: > >> > Well for me the tests all seemed to be failing around the lack of an > >> > Http Client jar. I downloaded this from the Http Client website and > >> > placed it in my repository and modified my pom.xml and the war > generated > >> > fine. This could be a place to start. > >> > > >> > -----Original Message----- > >> > From: Vinicius Borges [mailto:[email protected]] > >> > Sent: 18 February 2009 13:07 > >> > To: [email protected] > >> > Subject: Re: [cas-user] Can't deploy CAS Server 3.3.1 using Maven2 > >> > > >> > Hello, > >> > > >> > Which jars can I download? How can I Know this? > >> > I readed the TEST's archives and I don't understand anything... > >> > > >> > Thanks > >> > > >> > 2009/2/18 Michael A Jones <[email protected]>: > >> >> I also had this problem. I think there could be a problem with some > of > >> >> the links to the dependencies, as my repository when I set it up had > >> >> loads of missing jars. When you go to some of the links to where it's > >> >> trying to download the jars they don't exist. I think if you download > >> >> the missing jars into your repository and modify the pom.xml > >> > accordingly > >> >> in CAS_HOME it should compile properly. > >> >> > >> >> -----Original Message----- > >> >> From: Vinicius Borges [mailto:[email protected]] > >> >> Sent: 18 February 2009 12:37 > >> >> To: [email protected] > >> >> Subject: [cas-user] Can't deploy CAS Server 3.3.1 using Maven2 > >> >> > >> >> Hello people, > >> >> > >> >> I'm trying to generate a new war file for cas. I have downloaded > >> >> Maven2, I have installed and eveything was gone ok... > >> >> But when I take "mvn package install" on directory CAS_HOME, I > receive > >> >> 4 failures: > >> >> > >> >> Results : > >> >> > >> >> Failed tests: > >> >> > >> >> > >> > > testValidProxyTicketWithoutQueryString(org.jasig.cas.ticket.proxy.suppor > >> >> t.Cas20ProxyHandlerTests) > >> >> > >> >> > >> > > testValidProxyTicketWithQueryString(org.jasig.cas.ticket.proxy.support.C > >> >> as20ProxyHandlerTests) > >> >> testOkayUrl(org.jasig.cas.util.HttpClientTests) > >> >> > >> >> > >> > > testAcceptsNonHttpsCredentials(org.jasig.cas.authentication.handler.supp > >> >> ort.HttpBasedServiceCredentialsAuthenticationHandlerTests) > >> >> > >> >> I'm not changed anything in the code of cas-server... > >> >> How can I resolve this problem? > >> >> > >> >> Thanks > >> >> Vinicius > >> >> > >> >> -- > >> >> You are currently subscribed to [email protected] as: > >> >> [email protected] > >> >> To unsubscribe, change settings or access archives, see > >> >> http://www.ja-sig.org/wiki/display/JSG/cas-user > >> >> -- > >> >> You are currently subscribed to [email protected] as: > >> > [email protected] > >> >> To unsubscribe, change settings or access archives, see > >> > http://www.ja-sig.org/wiki/display/JSG/cas-user > >> >> > >> > > ************************************************************************ > >> > ***************** > >> >> To view the terms under which this email is distributed, please go to > >> > http://www.hull.ac.uk/legal/email_disclaimer.html > >> >> > >> > > ************************************************************************ > >> > ***************** > >> >> > >> > > >> > -- > >> > You are currently subscribed to [email protected] as: > >> > [email protected] > >> > To unsubscribe, change settings or access archives, see > >> > http://www.ja-sig.org/wiki/display/JSG/cas-user > >> > -- > >> > You are currently subscribed to [email protected] as: > >> > [email protected] > >> > To unsubscribe, change settings or access archives, see > >> > http://www.ja-sig.org/wiki/display/JSG/cas-user > >> > > >> > > ***************************************************************************************** > >> > To view the terms under which this email is distributed, please go to > >> > http://www.hull.ac.uk/legal/email_disclaimer.html > >> > > >> > > ***************************************************************************************** > >> > > >> > >> -- > >> You are currently subscribed to [email protected] as: > >> [email protected] > >> To unsubscribe, change settings or access archives, see > >> http://www.ja-sig.org/wiki/display/JSG/cas-user > > > > -- > > You are currently subscribed to [email protected] as: > > [email protected] > > To unsubscribe, change settings or access archives, see > > http://www.ja-sig.org/wiki/display/JSG/cas-user > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
