Canadensys web core library.
Artifacts:
- canadensys-web-core: jar library
- canadensys-webapp-core: webapp folder built as war file
Available on Maven Central.
Freemarker templates including utility functions, Google Analytics support and paging support.
The library 'canadensys-webapp-core' should be used as a WAR overlay since it includes 'webapp' related content.
- Gradle: https://github.com/scalding/gradle-waroverlay-plugin
- Maven: http://maven.apache.org/plugins/maven-war-plugin/overlays.html
mvn clean install
Complete Instructions on Sonatype website.
Make sure you have the settings.xml
file setup with the server <id>ossrh</id>
(see complete instruction).
mvn clean deploy
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