tpquery/build.md
2015-06-20 17:33:09 +02:00

38 lines
777 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 -Ptest-jacoco clean test
## Create build artifacts
mvn -Pbuild clean package
## Change pom.xml versions
mvn versions:set -DnewVersion=2.3.4-SNAPSHOT
## Make release build
mvn -Pbuild -Dusername=(scm_username) clean install release:clean release:prepare release:perform
## Make site
mvn -Ptest-jacoco clean install
mvn -Pbuild-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