Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Building

...

CAS using Maven2

Building CAS4 CAS via the Maven2 system is simple. From within the PROJECT_HOME directory, execute the following command:

...

Updating License Information using Maven2

CAS4 CAS uses the Maven License Plugin to manage the licenses on its files. The We inherit the license header is stored in the PROJECT_HOME/src/etc/header.txt filefile and the configuration from the Jasig Parent POM.

To update or add the license , first change the header.txt file then on the individual source files, execute the following command from within PROJECT_HOME:

...

Code Block
mvn license:check

Releasing to the Sonatype Maven Repository (for Syncing with Maven Central)

Warning

You must be an authorized CAS release manager to execute these steps. Failure to be an authorized release manager will not mean that nothing actually happens.

Info

Before executing these steps, please be sure that all pending changes have been committed, otherwise, these steps will fail.

  1. Make sure that your release is XX.XX-SNAPSHOT where X are numbers
  2. Execute "mvn release:prepare" It should prompt you for a bunch of answers about versions. Your versions should be something like X.XX.RC1 or X.XX.GA, etc.
  3. Execute "mvn release:perform" This should do a bunch of commits, uploads, and preparations for the next iteration. It will prompt you for your keypass for your certificates.
Info

Complete details can be found here

Building the Distribution

Info

CAS includes an assembly.xml that works in conjunction with the Maven Assembly Plugin.

  1. Check out the tagged release from Source Code.
  2. Execute "mvn clean package javadoc:jar source:jar assembly:assembly"
  3. Upload to the Jasig Servers.