You need to execute Maven on a project not on the root directory of your
computer.  Cd to cas-server-3.2.1

-Scott

On Tue, Apr 29, 2008 at 2:12 PM, Edward Chen <[EMAIL PROTECTED]> wrote:

> I am experiencing problem when I installed CAS 3.2.1. I cannot generate
> cas.war under C:\cas-server-3.2.1\cas-server-webapp
> Can you help me what happen?
>
> C:\>mvn package install
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [package, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Cannot execute mojo: resources. It requires a project with an
> existing po
> m.xml, but the build is not using one.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Tue Apr 29 13:09:17 CDT 2008
> [INFO] Final Memory: 3M/6M
> [INFO]
> ------------------------------------------------------------------------
>
> C:\>
>
> Scott Battaglia wrote:
> > Edward,
> >
> > That's an extremely old version of CAS you're using. I would recommend
> > upgrading to CAS 3.2.1, which would have those pom.xml files that
> > you're asking about (they are a Maven2 thing).
> >
> > -Scott
> >
> > On Mon, Apr 28, 2008 at 11:59 AM, Edward Chen <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> >     first, I have my CAS 3.0.7 up and running for mysql server.
> >
> >     I am using CAS 3.0.7. <http://3.0.7.> I plan to configure CAS
> >     3.0.7 with LDAP. I have LDAP server.
> >     Now when I refer to page
> >     http://www.ja-sig.org/wiki/display/CASUM/LDAP to help me configure
> >     and I find something missing in my CAS 3.0.7. <http://3.0.7.> I
> >     have few questions
> >     1. Can CAS 3.0.7 configure LDAP or I have to upgrade to the most
> >     recent version?
> >
> >     2. If I want to configure CAS 3.0.7 to LDAP, I don't find porn.xml
> >     in webapps. How do I add porn.xml portion into it? Can I just copy
> >     porn.xml file into my CAS     3.0.7's webapps folder? if not,
> >     where do I add the following piece
> >
> >     <dependency>
> >        <groupId>${project.groupId}</groupId>
> >        <artifactId>cas-server-support-ldap</artifactId>
> >        <version>${project.version}</version>
> >     </dependency>
> >
> >
> >
> >     3. where should I put the following code in
> >     deployerConfigCpntext.xml? I attached my
> >     deployerConfigCpntext.xml.for you to take a look if it's right I
> >     put that piece. Also, when I add the ldap part into
> >     deployerConfigCpntext.xml, do I need to comment out my  mysql
> >     connection bean?
> >
> >     4. I don't understand the following piece code from ldap
> >
> >     <property name="userName" value="{bind_username_goes_here}"/>
> >                       <property name="password"
> >     value="{bind_user_password_goes_here}"/>
> >
> >     Do I need to change anything above?
> >
> >
> >     Edward
> >
> >     _______________________________________________
> >     cas-dev mailing list
> >     [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> >     http://tp.its.yale.edu/mailman/listinfo/cas-dev
> >
> >
> >
> >
> > --
> > -Scott Battaglia
> > PGP Public Key Id: 0x383733AA
> > LinkedIn: http://www.linkedin.com/in/scottbattaglia
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Yale CAS mailing list
> > [email protected]
> > http://tp.its.yale.edu/mailman/listinfo/cas
> >
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>



-- 
-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to