/canadensys-web-core

Core web application related functionalities

Primary LanguageJavaMIT LicenseMIT

canadensys-web-core

Canadensys web core library.

Artifacts:

  • canadensys-web-core: jar library
  • canadensys-webapp-core: webapp folder built as war file

Available on Maven Central.

Code Status

Build Status

Freemaker templates

Freemarker templates including utility functions, Google Analytics support and paging support.

Usage

The library 'canadensys-webapp-core' should be used as a WAR overlay since it includes 'webapp' related content.

Install locally

mvn clean install

Publish artifacts on Maven Central

Complete Instructions on Sonatype website.

Deploy SNAPSHOT version

Make sure you have the settings.xml file setup with the server <id>ossrh</id> (see complete instruction).

mvn clean deploy

Deploy RELEASE version

Change MY_RELEASE_VERSION for the next version number to release. If the current version is 0.8-SNAPSHOT, the next release is 0.8. Be careful, once the RELEASE version is deployed it can not be removed from Maven Central.

mvn versions:set -DnewVersion=MY_RELEASE_VERSION
mvn clean deploy -P release

Ensure to tag the source code on GitHub:

e.g.

git tag canadensys-web-core-MY_RELEASE_VERSION
git push origin canadensys-web-core-MY_RELEASE_VERSION

Prepare next development version:

mvn versions:set -DnewVersion=MY_NEXT_DEV_VERSION
git add all_pom_files
git commit -m'prepare next development version'
git push origin master