We just posted about this on the list. Jasig changed its certificate to use GoDaddy. Not all JVM's trust GoDaddy. In trunk we've changed the tests.
You can instead add -Dmaven.tests.skip=true to run it. In general we actually recommend you not build it yourself, but instead use the Maven2 WAR Overlay. Cheers, Scott On Tue, Feb 2, 2010 at 3:22 PM, Nathan Kopp <[email protected]> wrote: > I’m beginning a project to upgrade our CAS server from 3.0.x to the > latest CAS server. > > > > I just downloaded the latest CAS (3.3.5) and attempted to build the vanilla > distribution with “mvn package install” in the root level directory. The > build completed, but I received results (see below) indicating failed > tests. This also did NOT produce a WAR file. > > > > Why are tests failing? How do I get maven to produce a war file? Any > ideas? > > > > -Nathan Kopp > > > > ============= mvn output =============== > > Results : > > > > Failed tests: > > > testAcceptsProperCertificateCredentials(org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandlerTests) > > > testAcceptsNonHttpsCredentials(org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandlerTests) > > testOkayUrl(org.jasig.cas.util.HttpClientTests) > > > testValidProxyTicketWithoutQueryString(org.jasig.cas.ticket.proxy.support.Cas20ProxyHandlerTests) > > > testValidProxyTicketWithQueryString(org.jasig.cas.ticket.proxy.support.Cas20ProxyHandlerTests) > > > > Tests in error: > > > testResponse(org.jasig.cas.authentication.principal.GoogleAccountsServiceTests) > > > testNoResolverFound(org.jasig.cas.authentication.AuthenticationManagerImplTests) > > > testWithAlternativeRealm(org.jasig.cas.authentication.handler.support.JaasAuthenticationHandlerTests) > > > testWithAlternativeRealmAndValidCredentials(org.jasig.cas.authentication.handler.support.JaasAuthenticationHandlerTests) > > > testWithValidCredenials(org.jasig.cas.authentication.handler.support.JaasAuthenticationHandlerTests) > > > testWithInvalidCredentials(org.jasig.cas.authentication.handler.support.JaasAuthenticationHandlerTests) > > > testDelegateTicketGrantingTicketWithProperParams(org.jasig.cas.CentralAuthenticationServiceImplTests) > > > testNoService(org.jasig.cas.web.support.GoogleAccountsArgumentExtractorTests) > > > testDelegateTicketGrantingTicketWithValidCredentials(org.jasig.cas.remoting.server.RemoteCentralAuthenticationServiceTests) > > > > Tests run: 355, Failures: 5, Errors: 9, Skipped: 0 > > > > [INFO] > ------------------------------------------------------------------------ > > [ERROR] BUILD FAILURE > > [INFO] > ------------------------------------------------------------------------ > > [INFO] There are test failures. > > > > > > > > -- > 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-dev > > -- 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-dev
