README.md 880 Bytes
Newer Older
Misagh Moayyed's avatar
Misagh Moayyed committed
1
CAS4 Overlay Template
Dmitriy Kopylenko's avatar
Dmitriy Kopylenko committed
2
3
============================

Misagh Moayyed's avatar
Misagh Moayyed committed
4
Generic CAS maven war overlay to exercise the latest versions of CAS 4.x line. This overlay could be freely used as a starting template for local CAS maven war overlays.
Dmitriy Kopylenko's avatar
Dmitriy Kopylenko committed
5
6
7

# Versions
```xml
Misagh Moayyed's avatar
Misagh Moayyed committed
8
<cas.version>4.1.0</cas.version>
Dmitriy Kopylenko's avatar
Dmitriy Kopylenko committed
9
10
```

Misagh Moayyed's avatar
Misagh Moayyed committed
11
# Recommended Requirements
Misagh Moayyed's avatar
Misagh Moayyed committed
12
* JDK 1.7+
Dmitriy Kopylenko's avatar
Dmitriy Kopylenko committed
13
14
15
16
* Apache Maven 3+
* Servlet container supporting Servlet 3+ spec (e.g. Apache Tomcat 7+)

# Configuration
17
18
19
The `etc` directory contains the sample configuration files that would need to be copied to an external file system location (`/etc/cas` by default)
and configured to satisfy local CAS installation needs. Current files are:

Misagh Moayyed's avatar
Misagh Moayyed committed
20
* `cas.properties`
Misagh Moayyed's avatar
Misagh Moayyed committed
21
* `log4j2.xml`
22

Dmitriy Kopylenko's avatar
Dmitriy Kopylenko committed
23
24
# Deployment

Misagh Moayyed's avatar
Misagh Moayyed committed
25
## Maven
Dmitriy Kopylenko's avatar
Dmitriy Kopylenko committed
26
* Execute `mvn clean package`
Misagh Moayyed's avatar
Misagh Moayyed committed
27
* Deploy resultant `target/cas.war` to a Servlet container of choice.
Misagh Moayyed's avatar
Misagh Moayyed committed
28
29
30
31
32

## Ant

* Define `CATALINA_HOME` and `MAVEN_HOME`
* Execute `ant deploy`