I am new on MAVEN, I am trying to configure the CAS to auth against
LDAP, and I am having the following problems,
please help
--Alex
Directory of C:\cas-server-3.4.2.1\cas-server-support-ldap
08/10/2011 08:44 AM .
08/10/2011 08:44 AM ..
08/10/2011 08:44 AM 1,784 pom.xml
08/10/2011 08:44 AM src
1 File(s) 1,784 bytes
3 Dir(s) 130,738,053,120 bytes free
C:\cas-server-3.4.2.1\cas-server-support-ldap>mvn clean package
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.jasig.cas:cas-se
rver-support-ldap:jar:3.4.2.1
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missi
ng. @ org.jasig.cas:cas-server:3.4.2.1, C:\cas-server-3.4.2.1\pom.xml,
line 107, column 12
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-surefire-plugin is missi
ng. @ line 39, column 15
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-enforcer-plugin is missi
ng. @ org.jasig.cas:cas-server:3.4.2.1, C:\cas-server-3.4.2.1\pom.xml,
line 38, column 12
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-jar-plugin is missing. @
org.jasig.cas:cas-server:3.4.2.1, C:\cas-server-3.4.2.1\pom.xml, line
115, column 12
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-source-plugin is missing
. @ org.jasig:jasig-parent:7,
C:\Users\Administrator\.m2\repository\org\jasig\jasig-parent\7\jasig-p
arent-7.pom, line 78, column 21
[WARNING] The expression ${pom.artifactId} is deprecated. Please use
${project.artifactId} instead.
[WARNING] 'reporting.plugins.plugin.version' for
org.apache.maven.plugins:maven-checkstyle-plugin is
missing. @ org.jasig.cas:cas-server:3.4.2.1,
C:\cas-server-3.4.2.1\pom.xml, line 577, column 12
[WARNING] 'reporting.plugins.plugin.version' for
org.apache.maven.plugins:maven-jxr-plugin is missin
g. @ org.jasig.cas:cas-server:3.4.2.1, C:\cas-server-3.4.2.1\pom.xml,
line 591, column 12
[WARNING] 'reporting.plugins.plugin.version' for
org.apache.maven.plugins:maven-pmd-plugin is missin
g. @ org.jasig.cas:cas-server:3.4.2.1, C:\cas-server-3.4.2.1\pom.xml,
line 595, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your
build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer
support building such malformed pro
jects.
[WARNING]
[INFO]
[INFO]
[INFO] Building JA-SIG CAS LDAP Support 3.4.2.1
[INFO]
Downloading:
http://repository.jboss.com/maven2/org/opensaml/opensaml/1.1b/opensaml-1.1b.pom
[INFO]
[INFO] BUILD FAILURE
[INFO]
[INFO] Total time: 2.031s
[INFO] Finished at: Wed Aug 10 12:00:53 EDT 2011
[INFO] Final Memory: 7M/109M
[INFO]
[ERROR] Failed to execute goal on project cas-server-support-ldap:
Could not resolve dependencies fo
r project org.jasig.cas:cas-server-support-ldap:jar:3.4.2.1: Failed to
collect dependencies for [org
.jasig.cas:cas-server-core:jar:3.4.2.1 (compile),
org.springframework.webflow:spring-webflow:jar:2.0
.8.RELEASE (compile),
org.springframework.ldap:spring-ldap-core:jar:1.3.0.RELEASE (compile),
org.spr
ingframework.ldap:spring-ldap-core-tiger:jar:1.3.0.RELEASE (compile),
junit:junit:jar:4.7 (test), or
g.springframework:spring-test:jar:3.0.1.RELEASE (test),
javax.servlet:servlet-api:jar:2.5 (provided)
, org.aspectj:aspectjrt:jar:1.6.7 (compile),
org.aspectj:aspectjweaver:jar:1.6.7 (compile), javax.va
lidation:validation-api:jar:1.0.0.GA (compile),
org.slf4j:slf4j-api:jar:1.5.8 (compile), org.slf4j:s
lf4j-log4j12:jar:1.5.8 (runtime), org.slf4j:jcl-over-slf4j:jar:1.5.8
(compile)]: Failed to read arti
fact descriptor for org.opensaml:opensaml:jar:1.1b: Could not transfer
artifact org.opensaml:opensam
l:pom:1.1b from/to jboss (http://repository.jboss.com/maven2): Access
denied to: http://repository.j
boss.com/maven2/org/opensaml/opensaml/1.1b/opensaml-1.1b.pom -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following arti
cles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
C:\cas-server-3.4.2.1\cas-server-support-ldap>
C:\cas-server-3.4.2.1\cas-server-support-ldap>
C:\cas-server-3.4.2.1\cas-server-support-ldap>mvan -version
'mvan' is not recognized as an internal or external command,
operab