tpquery/build.md
2015-06-19 19:18:16 +02:00

39 lines
840 B
Markdown

# TPQuery Building
## Requirements
* java sdk 1.8 or higher.
* maven 3 or higher.
* Commands are runned in project root folder.
## Tests
### Run tests normal
mvn clean test
### Run tests with jacoco
mvn -Ptpquery-test-jacoco clean test
## Create build artifacts
mvn -Ptpquery-build clean package;
## Change pom.xml versions
mvn versions:set -DnewVersion=2.3.4-SNAPSHOT
## Make release build
mvn -Ptpquery-build clean package;
mvn -B -Dusername=(scm_username) clean install release:clean release:prepare release:perform;
## Make site
mvn -Ptpquery-test-jacoco clean test
mvn -Ptpquery-build-site site:site
Optional add -DstagingDirectory=/tmp/tpquery-build-fullsite
And then manual upload.
## Check for dependency-updates
mvn versions:display-plugin-updates|grep ">"|uniq;
mvn versions:display-dependency-updates|grep ">"|uniq;