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.han
dler.support.HttpBasedServiceCredentialsAuthenticationHandlerTests)

 
testAcceptsNonHttpsCredentials(org.jasig.cas.authentication.handler.supp
ort.HttpBasedServiceCredentialsAuthenticationHandlerTests)

  testOkayUrl(org.jasig.cas.util.HttpClientTests)

 
testValidProxyTicketWithoutQueryString(org.jasig.cas.ticket.proxy.suppor
t.Cas20ProxyHandlerTests)

 
testValidProxyTicketWithQueryString(org.jasig.cas.ticket.proxy.support.C
as20ProxyHandlerTests)

 

Tests in error:

 
testResponse(org.jasig.cas.authentication.principal.GoogleAccountsServic
eTests)

 
testNoResolverFound(org.jasig.cas.authentication.AuthenticationManagerIm
plTests)

 
testWithAlternativeRealm(org.jasig.cas.authentication.handler.support.Ja
asAuthenticationHandlerTests)

 
testWithAlternativeRealmAndValidCredentials(org.jasig.cas.authentication
.handler.support.JaasAuthenticationHandlerTests)

 
testWithValidCredenials(org.jasig.cas.authentication.handler.support.Jaa
sAuthenticationHandlerTests)

 
testWithInvalidCredentials(org.jasig.cas.authentication.handler.support.
JaasAuthenticationHandlerTests)

 
testDelegateTicketGrantingTicketWithProperParams(org.jasig.cas.CentralAu
thenticationServiceImplTests)

 
testNoService(org.jasig.cas.web.support.GoogleAccountsArgumentExtractorT
ests)

 
testDelegateTicketGrantingTicketWithValidCredentials(org.jasig.cas.remot
ing.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

Reply via email to