[cas-dev] building CAS 3.2.1 failure

Edward Chen edwardc at wolfram.com
Tue Apr 29 14:53:40 EDT 2008


I want to generate cas.war from CAS  3.2.1. But I cannot build. Here 
it's what do. Can you help find out what happen??

(1). I download maven 2.0.9 and copy it to C:\Program Files\Apache 
Software Foundation
(2). Create M2_HOME as C:\Program Files\Apache Software 
Foundation\apache-maven-2.0.9
 and set the path as %M2_HOME%\bin
(3). Open command prompt
       C:\>mvn --version
            Maven version: 2.0.9
            Java version: 1.6.0_04
        OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"

      C:\>

(4). C:\cas-server-3.2.1>mvn package install
(5). I have the following failure

Results :

Failed tests:
  
testRuIdFound(org.jasig.cas.authentication.principal.CredentialsToLDAPAttribut
ePrincipalResolverTests)

Tests run: 357, Failures: 1, Errors: 0, Skipped: 0

[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to 
C:\cas-server-3.2.1\cas-server-core\target\surefire-reports for
the individual test results.
[INFO] 
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 1 minute 43 seconds
[INFO] Finished at: Tue Apr 29 13:51:30 CDT 2008
[INFO] Final Memory: 15M/27M
[INFO] 
------------------------------------------------------------------------

C:\cas-server-3.2.1>



More information about the cas-dev mailing list