If you just need to pull in the already built jars, you should use the Maven overlay method:
http://www.ja-sig.org/wiki/display/CASUM/Maintaining+local+customizations+using+Maven+2 (though you don't need to place your files anywhere in the cas-server directory. The important thing is to create your own project and pull in the CAS components you need and overlay your custom files as necessary). -Scott -Scott Battaglia PGP Public Key Id: 0x383733AA LinkedIn: http://www.linkedin.com/in/scottbattaglia On Wed, Dec 10, 2008 at 11:22 AM, Yitzchak Schaffer <[EMAIL PROTECTED]>wrote: > Greetings: > > I'm trying to build 3.3.1 with LDAP support, using Maven. My CAS_HOME > is /usr/local/lib/cas-server-3.3.1 and maven is in /opt/maven > > When I run > /usr/local/lib/cas-server-3.3.1$ sudo -E /opt/maven/bin/mvn -e > -Dmaven.test.skip=true package install > > the build fails at the point below. I searched using site: in Google > for these servers; I get some results for this directory on the > snapshots.jboss.org server, but the 1.3-SNAPSHOT directory has been > removed since the last Google cache (Dec. 3), and anyway there were no > file jbosscache-common-parent-1.3-SNAPSHOT.pom in that cache. > > I'm unlearned in the ways of Maven and JBoss. Any ideas on how to fix > this? > > Many thanks! > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building JA-SIG CAS JBoss Cache Integration > [INFO] task-segment: [package, install] > [INFO] > ------------------------------------------------------------------------ > [INFO] snapshot org.jboss.cache:jbosscache-common-parent:1.3-SNAPSHOT: > checking for updates from repository.jboss.org > [INFO] snapshot org.jboss.cache:jbosscache-common-parent:1.3-SNAPSHOT: > checking for updates from snapshots.jboss.org > [INFO] snapshot org.jboss.cache:jbosscache-common-parent:1.3-SNAPSHOT: > checking for updates from jboss-maven2 > [INFO] snapshot org.jboss.cache:jbosscache-common-parent:1.3-SNAPSHOT: > checking for updates from jasig-repository > [INFO] snapshot org.jboss.cache:jbosscache-common-parent:1.3-SNAPSHOT: > checking for updates from jasig-snapshot > Downloading: > > http://repository.jboss.org/maven2/org/jboss/cache/jbosscache-common-parent/1.3-SNAPSHOT/jbosscache-common-parent-1.3-SNAPSHOT.pom > Downloading: > > http://snapshots.jboss.org/maven2/org/jboss/cache/jbosscache-common-parent/1.3-SNAPSHOT/jbosscache-common-parent-1.3-SNAPSHOT.pom > Downloading: > > http://repository.jboss.com/maven2/org/jboss/cache/jbosscache-common-parent/1.3-SNAPSHOT/jbosscache-common-parent-1.3-SNAPSHOT.pom > Downloading: > > http://developer.ja-sig.org/maven2/org/jboss/cache/jbosscache-common-parent/1.3-SNAPSHOT/jbosscache-common-parent-1.3-SNAPSHOT.pom > Downloading: > > http://developer.ja-sig.org/maven2-snapshot/org/jboss/cache/jbosscache-common-parent/1.3-SNAPSHOT/jbosscache-common-parent-1.3-SNAPSHOT.pom > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error building POM (may not be this project's POM). > > > Project ID: org.jboss.cache:jbosscache-core:jar:${jbosscache-core-version} > > Reason: Cannot find parent: org.jboss.cache:jbosscache-common-parent for > project: org.jboss.cache:jbosscache-core:jar:${jbosscache-core-version} > for project org.jboss.cache:jbosscache-core:jar:${jbosscache-core-version} > > -- > Yitzchak Schaffer > Systems Librarian > Touro College Libraries > 33 West 23rd Street > New York, NY 10010 > Tel (212) 463-0400 x5230 > Fax (212) 627-3197 > [EMAIL PROTECTED] > _______________________________________________ > Yale CAS mailing list > [email protected] > http://tp.its.yale.edu/mailman/listinfo/cas >
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
