tpquery/build.md

38 lines
754 B
Markdown
Raw Normal View History

2015-06-19 15:26:29 +00:00
# TPQuery Building
## Requirements
* java sdk 1.8 or higher.
* maven 3 or higher.
## Create build artifacts
cd project-root/;
mvn -Ptpquery-build clean package;
## Change pom.xml versions
cd project-root/;
mvn versions:set -DnewVersion=2.3.4-SNAPSHOT
## Make release build
cd project-root/;
mvn -Ptpquery-build clean package;
mvn -B -Dusername=(scm_username) clean install release:clean release:prepare release:perform;
## Make site
cd project-root/;
mvn -Ptpquery-build-site clean install site:site
Optional add -DstagingDirectory=/tmp/tpquery-build-fullsite
And then manual upload.
## Check for dependency-updates
cd project-root/;
mvn versions:display-plugin-updates|grep ">"|uniq;
mvn versions:display-dependency-updates|grep ">"|uniq;