building CAS 3.2.1 failure

View: New views
3 Messages — Rating Filter:   Alert me  

building CAS 3.2.1 failure

by Edward Chen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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>

_______________________________________________
cas-dev mailing list
cas-dev@...
http://tp.its.yale.edu/mailman/listinfo/cas-dev

Re: building CAS 3.2.1 failure

by scott_battaglia :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...> wrote:
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>

_______________________________________________
cas-dev mailing list
cas-dev@...
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@...
http://tp.its.yale.edu/mailman/listinfo/cas-dev

Re: building CAS 3.2.1 failure

by Edward Chen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
> <mailto:edwardc@...>> 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@... <mailto:cas-dev@...>
>     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@...
> http://tp.its.yale.edu/mailman/listinfo/cas-dev
>  

_______________________________________________
cas-dev mailing list
cas-dev@...
http://tp.its.yale.edu/mailman/listinfo/cas-dev