38 lines
754 B
Markdown
38 lines
754 B
Markdown
|
|
# 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;
|
|
|