[cas-dev] building CAS 3.2.1 failure

Edward Chen edwardc at wolfram.com
Tue Apr 29 16:25:24 EDT 2008


Good. I got it installed.

Scott Battaglia wrote:
> Your firewall is most likely blocking outgoing LDAP requests that are 
> used for that test.  If you only need to build the war file, execute 
> "mvn package" in the cas-server-3.2.1\cas-server-webapp directory 
> which should pull in the required jars from the repository.
>
> -Scott
>
> On Tue, Apr 29, 2008 at 2:53 PM, Edward Chen <edwardc at wolfram.com 
> <mailto:edwardc at wolfram.com>> wrote:
>
>     I want to generate cas.war from CAS  3.2.1. <http://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>
>
>     _______________________________________________
>     cas-dev mailing list
>     cas-dev at tp.its.yale.edu <mailto:cas-dev at tp.its.yale.edu>
>     http://tp.its.yale.edu/mailman/listinfo/cas-dev
>
>
>
>
> -- 
> -Scott Battaglia
> PGP Public Key Id: 0x383733AA
> LinkedIn: http://www.linkedin.com/in/scottbattaglia
> ------------------------------------------------------------------------
>
> _______________________________________________
> cas-dev mailing list
> cas-dev at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas-dev
>   



More information about the cas-dev mailing list