I think I'm getting a novice error using Maven.
(Suggestions/remarks/clarifications?)

$ !m
mvn -Dmaven.test.skip=true clean package install
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [clean, package, install]
[INFO]
------------------------------------------------------------------------
[INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for
updates from central
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'dec4c8161d6b10f14db869b3d7f84e099b7ca954'; remote = '<!DOCTYPE' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'dec4c8161d6b10f14db869b3d7f84e099b7ca954'; remote = '<!DOCTYPE' - IGNORING
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.plugins:maven-clean-plugin

Reason: Error getting POM for 'org.apache.maven.plugins:maven-clean-plugin'
from the repository: Unable to read local copy of metadata: Cannot read
metadata from 'C:\Documents and
Settings\jhayward\.m2\repository\org\apache\maven\plugin
s\maven-clean-plugin\maven-metadata-central.xml': end tag name </HEAD> must
be the same as start tag <META> from line 1 (position: TEXT seen
...5zL21hdmVuLWNsZWFuLXBsdWdpbi9tYXZlbi1tZXRhZGF0YS54bWw%3d"> </HEAD>...
@1:298)
  org.apache.maven.plugins:maven-clean-plugin:pom:LATEST

 for project org.apache.maven.plugins:maven-clean-plugin


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Tue Dec 04 08:48:51 CST 2007
[INFO] Final Memory: 1M/2M
[INFO]
------------------------------------------------------------------------

On Dec 3, 2007 10:03 PM, Scott Battaglia <[EMAIL PROTECTED]> wrote:

> If you have correctly added the cas-server-support-ldap to the
> cas-server-webapp/pom.xml all you should need to do is run
> mvn -Dmaven.test.skip=true clean package install
>
> Then you'll find the war with the correct jars in
> cas-server-webapp/target/cas.war
>
> You'll want to delete any cas directory in the Tomcat webapps just to make
> sure your new one gets deployed correctly.
>
> -Scott
>
>
> On Dec 3, 2007 5:44 PM, Jonathan Hayward http://JonathansCorner.com <
> [EMAIL PROTECTED]> wrote:
>
> > I had already placed that in the webapp pom.xml, modulo a variable
> > interpolation for the groupId. I tried adding the jar to the CAS WEB-INF/lib
> > directory; I can't tell any improvement in the behaviour.
> >
> > Are there other possibilities?
> >
> > On Dec 3, 2007 4:15 PM, Dale Ogilvie <[EMAIL PROTECTED]> wrote:
> >
> > >  The missing class will be defined in cas-server-support-ldap. Adding
> > > this dependency to the webapp pom.xml should include it in the built
> > > cas.jar
> > >
> > >  *-* <dependency>
> > >  * * <groupId> *org.jasig.cas*</groupId>
> > >  * * <artifactId> *cas-server-support-ldap*</artifactId>
> > >  * * <version> *${project.version}*</version>
> > > </dependency>
> > >
> > > Or, as a quick fix you could copy cas-server-support-ldap-3.1.1.jar to
> > > the cas WEB-INF/lib directory on the app server.
> > >
> > >  ------------------------------
> > > *From:* [EMAIL PROTECTED] [mailto:
> > > [EMAIL PROTECTED] *On Behalf Of *Jonathan Hayward
> > > http://JonathansCorner.com
> > > *Sent:* Tuesday, 4 December 2007 10:30 a.m.
> > > *To:* Yale CAS mailing list
> > > *Subject:* Re: Username/password authentication
> > >
> > > I ran through that and got an error on trying to log in to CAS:
> > >
> > >  CAS is Unavailable
> > >
> > > There was a fatal error initializing the CAS application context. This
> > > is almost always because of an error in the Spring bean configuration 
> > > files.
> > > Are the files valid XML? Do the beans they refer to all exist?
> > >
> > > Before placing CAS in production, you should change this page to
> > > present a UI appropriate for the case where the CAS web application is
> > > fundamentally broken. Perhaps "Sorry, CAS is currently unavailable." with
> > > some links to your user support information.
> > >
> > > The Throwable encountered at context listener initialization was:
> > >
> > > org.springframework.beans.factory.BeanDefinitionStoreException: Error
> > > registering bean with name 'contextSource' defined in ServletContext
> > > resource [/WEB-INF/deployerConfigContext.xml]: Bean class [
> > > org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource] not
> > > found; nested exception is java.lang.ClassNotFoundException:
> > > org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
> > >
> > > The Throwable encountered at dispatcher servlet initialization was:
> > >
> > > org.springframework.beans.factory.BeanDefinitionStoreException: Error
> > > registering bean with name 'contextSource' defined in ServletContext
> > > resource [/WEB-INF/deployerConfigContext.xml]: Bean class [
> > > org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource] not
> > > found; nested exception is java.lang.ClassNotFoundException:
> > > org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource
> > > I built it incorporating changes from 
> > > http://www.ja-sig.org/wiki/display/CAS/Examples+to+Configure+CAS
> > > and http://www.ja-sig.org/wiki/display/CASUM/LDAP .
> > >
> > > _______________________________________________
> > > Yale CAS mailing list
> > > [email protected]
> > > http://tp.its.yale.edu/mailman/listinfo/cas
> > >
> > >
> >
> >
> > --
> > ++ Jonathan Hayward, [EMAIL PROTECTED]
> > ** To see an award-winning website with stories, essays, artwork,
> > ** games, and a four-dimensional maze, why not visit my home page?
> > ** All of this is waiting for you at http://JonathansCorner.com
> >
> > _______________________________________________
> > Yale CAS mailing list
> > [email protected]
> > http://tp.its.yale.edu/mailman/listinfo/cas
> >
> >
>
>
> --
> -Scott Battaglia
>
> LinkedIn: http://www.linkedin.com/in/scottbattaglia
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>


-- 
++ Jonathan Hayward, [EMAIL PROTECTED]
** To see an award-winning website with stories, essays, artwork,
** games, and a four-dimensional maze, why not visit my home page?
** All of this is waiting for you at http://JonathansCorner.com
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to