[cas-dev] problems building CAS using maven on command line
Phillip Rhodes
mindcrime at cpphacker.co.uk
Sun May 18 13:24:05 EDT 2008
Hey all, hoping somebody can give me some insight
on a problem I'm having. I've extracted CAS
from SVN, and am trying to build using Maven2
on the command line. Unfortunately I get
a large number of errors, mostly relating to
unresolved dependencies. For example:
[INFO]
------------------------------------------------------------------------
[INFO] Error for project: JA-SIG CAS Generic Support (during install)
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
/development/projects/jasig/cas/cas3/cas-server-support-generic/src/main/java/org/jasig/cas/adaptors/generic/FileAuthenticationHandler.java:[15,34]
package org.springframework.core.io does not exist
/development/projects/jasig/cas/cas3/cas-server-support-generic/src/main/java/org/jasig/cas/adaptors/generic/FileAuthenticationHandler.java:[42,12]
cannot find symbol
symbol : class Resource
location: class org.jasig.cas.adaptors.generic.FileAuthenticationHandler
/development/projects/jasig/cas/cas3/cas-server-support-generic/src/main/java/org/jasig/cas/adaptors/generic/FileAuthenticationHandler.java:[88,40]
cannot find symbol
symbol : class Resource
location: class org.jasig.cas.adaptors.generic.FileAuthenticationHandler
But strangely, if I run the Maven build from inside Eclipse using the M2
plugin, it all builds with no problem. And using the set of dependent
jars specified by the pom.xml, the internal Eclipse incremental
compiler compiles everything with no problem as well.
So... any thoughts on why this doesn't build from the command
line as well as it does from inside Eclipse? Is a very specific
version of M2 required or anything? I have 2.0.4 installed, FWIW.
Any other ideas on what might cause this?
Thanks,
--
Phillip Rhodes
Chief Architect - OpenQabal
https://openqabal.dev.java.net
LinkedIn: http://www.linkedin.com/in/philliprhodes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mindcrime.vcf
Type: text/x-vcard
Size: 224 bytes
Desc: not available
Url : http://tp.its.yale.edu/pipermail/cas-dev/attachments/20080518/66f0392b/attachment.vcf
More information about the cas-dev
mailing list