It didn't like it...

C:\Work\local-cas>mvn clean package
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project  (C:\Work\local-cas\pom.xml) has 1 error
[ERROR]     Non-parseable POM C:\Work\local-cas\pom.xml: expected
START_TAG or END_TAG not TEXT (pos
ition: TEXT seen ...<dependencies>\r\n......\r\n......\r\n</... @18:3)
 @ line 18, column 3 -> [Help
 2]
[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/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException
C:\Work\local-cas>

On Fri, Aug 12, 2011 at 12:51 PM, Zhang, Jonathan <[email protected]> wrote:
> Try to configure this way:
>
> <dependencies>
> ......
> ......
> </dependencies>
>
> <properties>
>                <cas.version>3.4.2.1</cas.version>
> </properties>
>
>
> It Works for our system.
>
>
>
>
> -----Original Message-----
> From: Alexandre Adao [mailto:[email protected]]
> Sent: Thursday, August 11, 2011 4:48 PM
> To: [email protected]
> Subject: Re: [cas-user] Help on configure CAS on Windows 2008
>
> I am using CAS 3.4.2.1 which is supported by SunGardSCT (Banner).
> So part of my Pom.xml file should be configure as such:
>
> <properties>
>        <!-- The Jasig CAS Version to overlay. -->
>        <cas.version>3.4.2.1</cas.version>
>    </properties>
>
> After mvn clean package
> I have the following error:
>
> Build Failure:
> [ERROR] Failed to execute goal on project local-cas: Could not resolve
> dependencies for project edu.
> example.cas:local-cas:war:0.1-SNAPSHOT: Failed to collect dependencies
> for [org.jasig.cas:cas-server
> -webapp:war:3.4.2.1 (runtime),
> org.jasig.cas:cas-server-support-ldap:jar:3.4.2.1 (runtime), log4j:ap
> ache-log4j-extras:jar:1.0 (runtime),
> org.hibernate:hibernate-entitymanager:jar:3.5.6-Final (runtime)
> , org.hibernate:hibernate-annotations:jar:3.5.6-Final (runtime),
> c3p0:c3p0:jar:0.9.1.2 (runtime), my
> sql:mysql-connector-java:jar:5.1.17 (runtime)]: Failed to read
> artifact descriptor for org.opensaml:
> opensaml:jar:1.1b: Could not transfer artifact
> org.opensaml:opensaml:pom:1.1b from/to jboss (http://
> repository.jboss.com/maven2): Access denied to:
> http://repository.jboss.com/maven2/org/opensaml/open
> saml/1.1b/opensaml-1.1b.pom -> [Help 1]
>
>
> if I use diferent version
> <properties>
>        <!-- The Jasig CAS Version to overlay. -->
>        <cas.version>3.4.9</cas.version>
>    </properties>
> I can build with no problem the cas.war file.
>
> I got the pom.xml from https://github.com/wgthom/cas-maven-overlay
>
> How can I fix the error when I try to build the cas.war file for CAS
> 3.4.2.1 to work?
>
>
> Thanks
> --Alex Adao
>
> --
> You are currently subscribed to [email protected] as: 
> [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
> --
> You are currently subscribed to [email protected] as: 
> [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to