Deployment of CAS doesn't involve knowledge of Subversion at all.  If you've
decided to check source directly out of Subversion, that would be your
prerogative (should we have used CVS or Git?).  Requiring someone to have
some knowledge of Maven (in fact we tell you about the one Maven command you
would need to know) is no different than saying you need to figure out ant
tasks.  It seems like you just want us to have used the exact same set up
that you have at your company.

I believe we've already sent you a link on how to use the Maven2 overlay
method for constructing your own WAR file.  But in case you didn't see the
previous documentation:

1. Create pom file (most likely similar to the one in the documentation)
2. Make sure it includes the JASIG repository (the example does)
3. Include your dependencies (i.e. the CAS war)
4. Include additional dependencies as specified by the documentation for the
specific item you need (i.e. look at the LDAP documentation)

Once you've done that just execute "mvn package" to generate your WAR.

Maven2 WAR Overlay method:
http://www.ja-sig.org/wiki/display/CASUM/Maintaining+local+customizations+using+Maven+2
http://maven.apache.org/plugins/maven-war-plugin/examples/war-overlay.html

LDAP documentation:
http://www.ja-sig.org/wiki/display/CASUM/LDAP

Maven2 Web Site:
http://maven.apache.org/

Subversion Plugin for Eclipse:
http://subclipse.tigris.org/

m2eclipse Plugin (maven2 support for Eclipse):
http://m2eclipse.codehaus.org/

Thanks
-Scott

On Wed, Feb 11, 2009 at 11:22 AM, Bruno Melloni <[email protected]
> wrote:

> I am trying to do something that should be utterly trivial:  Install
> CAS, configure it for ActiveDirectory, and modify the JSPs for our look
> and feel.
>
> I was able to successfully deploy and run the prebuild WAR.  CAS is
> clearly very powerful and flexible, but the documentation is utterly
> inadequate for anyone who is not already an expert at Subversion and
> Maven.  After more than a day, I couldn't even get a clean build of what
> is supposed to be the current production-quality codebase.
>
> In the end I imported the WAR into Eclipse, and that builds and deploys
> properly, but I get the impression that once I configure for
> ActiveDirectory I'll be missing critical parts of CAS (like possibly
> LDAP support?).
>
> Is there an easier way to do this?  Or should I just forget about CAS
> and look at some alternate single sign on product?
>
> Thanks,
>
> bruno
>
> --
> 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