Hi
all,
I have tried to
follow the instructions to build Acegi Security with maven 1.0.2 as well as
2.0.2, but without success. I have used the CVS snapshot of March 6th.
What I am
missing for maven 1 is a list of repositories to use. Could one of you give the
list that is used to build to code?
Especially the ldap related jars are difficult to find:
org.apache.ldap.server.core-0.9.4-20060201.032106-7.jar
org.apache.ldap.server.shared-0.9.4-20060201.032106-8.jar
directory-asn1-0.3.4-20060201.032106-8.jar
org.apache.ldap.common-0.9.4-20060201.032106-10.jar
org.apache.ldap.server.shared-0.9.4-20060201.032106-8.jar
directory-asn1-0.3.4-20060201.032106-8.jar
org.apache.ldap.common-0.9.4-20060201.032106-10.jar
Probably these dependencies are not really needed to
build the core, but just for testing?
The dependency on spring 2-m2 was also
unresolved due to the change of repository layout on ibiblio & mirrors
(springframework --> org.springframework) in the switch to spring
2.
With maven2 I was able to build the core (using command
mvn package), but the test failed with
Caused by: java.lang.NoClassDefFoundError:
org/springframework/beans/factory/InitializingBean
This was caused by a missing depencencies to several
spring modules.
Afterr fixing, this one
remained:
Caused by: java.lang.NoClassDefFoundError:
org/apache/log4j/LogManager
at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:64)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:99)
at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:64)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:99)
I remember seeing that before on this mailing
list. Is it still unresolved?
On the top level I get errors on the CAS
stuff.
So:
- What is the preferred maven version? I think maven2
is easier to tame
- Which repos are to be
used?
- Could I expect the build from CVS to fail or am I
doing something wrong?
Kind regards,
Jaap
Reitsma
