I am running maven from this directory: $ pwd /u/dpbw/cas/cas-server-3.3.2 $ ls INSTALL.txt cas-server-support-generic cas-server-support-x509 README.txt cas-server-support-jdbc cas-server-webapp assembly.xml cas-server-support-ldap license.txt cas-server-core cas-server-support-legacy modules cas-server-integration-berkeleydb cas-server-support-openid notice.txt cas-server-integration-jboss cas-server-support-radius pom.xml cas-server-integration-memcached cas-server-support-spnego cas-server-integration-restlet cas-server-support-trusted
I also have these settings: JAVA_HOME=/usr/java CAS_HOME=/u/dpbw/cas/cas-server-3.3.2 MAVEN_HOME=/usr/local/maven-2.1.0 I run this: cliff-->mvn package install [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] JA-SIG Central Authentication Service [INFO] JA-SIG CAS Core [INFO] JA-SIG CAS Generic Support [INFO] JA-SIG CAS JDBC Support [INFO] JA-SIG CAS LDAP Support [INFO] JA-SIG CAS Legacy Support [INFO] JA-SIG CAS OpenId Support [INFO] JA-SIG CAS RADIUS Support [INFO] JA-SIG CAS SPNEGO/NTLM Support [INFO] JA-SIG CAS Trusted User Support [INFO] JA-SIG CAS X.509 Client Certificate Support [INFO] JA-SIG CAS JBoss Cache Integration [INFO] JA-SIG CAS BerkeleyDB Integration [INFO] JA-SIG CAS Memcached Integration [INFO] JA-SIG CAS Restlet Integration [INFO] JA-SIG CAS Web Application [INFO] ------------------------------------------------------------------------ [INFO] Building JA-SIG Central Authentication Service [INFO] task-segment: [package, install] [INFO] ------------------------------------------------------------------------ [INFO] [enforcer:enforce {execution: enforce-versions}] [INFO] [site:attach-descriptor] [INFO] Preparing source:jar [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [INFO] [enforcer:enforce {execution: enforce-versions}] [INFO] [source:jar {execution: attach-sources}] [INFO] [enforcer:enforce {execution: enforce-versions}] [INFO] [site:attach-descriptor] [INFO] Preparing source:jar [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [INFO] [enforcer:enforce {execution: enforce-versions}] [INFO] [source:jar {execution: attach-sources}] [INFO] [install:install] [INFO] Installing /u/dpbw/cas/cas-server-3.3.2/target/pom-transformed.xml to /u/dpbw/.m2/repository/org/jasig/cas/cas-server/3.3.2/cas-server-3.3.2.pom [INFO] ------------------------------------------------------------------------ [INFO] Building JA-SIG CAS Core [INFO] task-segment: [package, install] [INFO] ------------------------------------------------------------------------ Downloading: http://developer.ja-sig.org/maven2/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository jasig-repository (http://developer.ja-sig.org/maven2) Downloading: http://repo1.maven.org/maven2/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://developer.ja-sig.org/maven2/org/opensaml/opensaml/1.1b/opensaml-1.1b.pom [INFO] Unable to find resource 'org.opensaml:opensaml:pom:1.1b' in repository jasig-repository (http://developer.ja-sig.org/maven2) Downloading: http://repo1.maven.org/maven2/org/opensaml/opensaml/1.1b/opensaml-1.1b.pom [INFO] Unable to find resource 'org.opensaml:opensaml:pom:1.1b' in repository central (http://repo1.maven.org/maven2) [INFO] [enforcer:enforce {execution: enforce-versions}] [INFO] [resources:resources] [WARNING] Using platform encoding (ISO646-US actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 1 resource [INFO] [compiler:compile] [INFO] Compiling 62 source files to /u/dpbw/cas/cas-server-3.3.2/cas-server-core/target/classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure /u/dpbw/cas/cas-server-3.3.2/cas-server-core/src/main/java/org/jasig/cas/web/ProxyController.java:[14,46] cannot find symbol symbol : class SimpleWebApplicationServiceImpl location: package org.jasig.cas.authentication.principal From: Scott Battaglia [mailto:scott.battag...@gmail.com] Sent: Saturday, June 20, 2009 12:55 PM To: cas-dev@lists.jasig.org Subject: Re: [cas-dev] New to CAS, need some help >From which directory are you executing Maven2? Also, make sure there is >nothing else on your classpath accidentally. Cheers, Scott On Fri, Jun 19, 2009 at 11:26 AM, Bryan Wooten <bwoo...@acs.utah.edu<mailto:bwoo...@acs.utah.edu>> wrote: Ok, those were the first errors and I thought those led to all the following errors. I re-ran mvn package install and get errors like this now: INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure /u/dpbw/cas/cas-server-3.3.2/cas-server-core/src/main/java/org/jasig/cas/web/ProxyController.java:[14,46] cannot find symbol symbol : class SimpleWebApplicationServiceImpl location: package org.jasig.cas.authentication.principal /u/dpbw/cas/cas-server-3.3.2/cas-server-core/src/main/java/org/jasig/cas/CentralAuthenticationService.java:[8,46] cannot find symbol symbol : class Credentials location: package org.jasig.cas.authentication.principal /u/dpbw/cas/cas-server-3.3.2/cas-server-core/src/main/java/org/jasig/cas/CentralAuthenticationService.java:[44,38] cannot find symbol symbol : class Credentials location: interface org.jasig.cas.CentralAuthenticationService etc.... From: Scott Battaglia [mailto:scott.battag...@gmail.com<mailto:scott.battag...@gmail.com>] Sent: Friday, June 19, 2009 8:52 AM To: cas-dev@lists.jasig.org<mailto:cas-dev@lists.jasig.org> Subject: Re: [cas-dev] New to CAS, need some help Those errors aren't stopping your build. There should be a final error at the end if you build is failing. On Fri, Jun 19, 2009 at 10:10 AM, Bryan Wooten <bwoo...@acs.utah.edu<mailto:bwoo...@acs.utah.edu>> wrote: Thanks for the feedback, but I am still have some problems after install maven 2. I've set my CAS_HOME to /cas/ cas-server-3.3.2. Following the instructions on the wiki page I entered "mvn package install". Unfortunately the build fails with many errors. Downloading: http://developer.ja-sig.org/maven2/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.pom [INFO] Unable to find resource 'asm:asm-attrs:pom:1.5.3' in repository jasig-repository (http://developer.ja-sig.org/maven2) Downloading: http://repo1.maven.org/maven2/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.pom 821b downloaded (asm-attrs-1.5.3.pom) Downloading: http://developer.ja-sig.org/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.pom [INFO] Unable to find resource 'dom4j:dom4j:pom:1.6.1' in repository jasig-repository (http://developer.ja-sig.org/maven2) Downloading: http://repo1.maven.org/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.pom These type of errors continue for a long time. My server is not behind a proxy. Any ideas for my next step? Thanks, Bryan From: Scott Battaglia [mailto:scott.battag...@gmail.com<mailto:scott.battag...@gmail.com>] Sent: Thursday, June 18, 2009 2:47 PM To: cas-dev@lists.jasig.org<mailto:cas-dev@lists.jasig.org> Subject: Re: [cas-dev] New to CAS, need some help You should follow the instructions in the wiki and use Maven2 to build. We use probably remove that old documentation (I wasn't aware it was copied over). If you use the demonstration WAR file that comes with the release, its great for demonstrations, not so great for integrating with your existing Identity Management System. -Scott On Thu, Jun 18, 2009 at 4:29 PM, Bryan Wooten <bwoo...@acs.utah.edu<mailto:bwoo...@acs.utah.edu>> wrote: Hi all, I am just trying to get started with CAS and need some guidance and clarifications. I have downloaded cas-server-3.3.2 to my Solaris server. And went to this URL: http://www.jasig.org/cas/using-maven and read this: CAS currently only supports the Maven 1.x releases. You can download the latest version of Maven from the Maven download site<http://maven.apache.org/maven-1.x/start/download.html>. After installing Maven, be sure to define your MAVEN_HOME environment variable and add Maven to the required path (so it can be run from any directory). So we download and installed Maven 1.x. I could not get any of the goals on the page to build. So I go here: http://www.ja-sig.org/wiki/display/CASUM/Building+and+Deploying And read this: As of CAS 3.1, CAS builds exclusively with the Maven 2 Build Management System. This system provides a common build and directory structure across all projects that use Maven 2 and defines common goals that can be applied to any project type (JAR, WAR, EAR, etc.). So now I guess I need to install Maven 2? Lastly can I just deploy modules/cas-server-webapp-3.3.2.war from the tar file on a Glassfish server or must I actually build the code and use the War file in cas-server-webapp folder as describe on the wiki page: "If you've built CAS as above, you will find a WAR file in the cas-server-webapp folder that you can use to deploy CAS. That's the simple demo case." Thanks in advance for any help / advice, Bryan -- You are currently subscribed to cas-dev@lists.jasig.org<mailto:cas-dev@lists.jasig.org> as: scott.battag...@gmail.com<mailto:scott.battag...@gmail.com> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev -- You are currently subscribed to cas-dev@lists.jasig.org<mailto:cas-dev@lists.jasig.org> as: bwoo...@acs.utah.edu<mailto:bwoo...@acs.utah.edu> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev -- You are currently subscribed to cas-dev@lists.jasig.org<mailto:cas-dev@lists.jasig.org> as: scott.battag...@gmail.com<mailto:scott.battag...@gmail.com> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev -- You are currently subscribed to cas-dev@lists.jasig.org<mailto:cas-dev@lists.jasig.org> as: bwoo...@acs.utah.edu<mailto:bwoo...@acs.utah.edu> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev -- You are currently subscribed to cas-dev@lists.jasig.org<mailto:cas-dev@lists.jasig.org> as: scott.battag...@gmail.com<mailto:scott.battag...@gmail.com> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev -- You are currently subscribed to cas-dev@lists.jasig.org<mailto:cas-dev@lists.jasig.org> as: bwoo...@acs.utah.edu To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev -- You are currently subscribed to cas-dev@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev