tpquery/build.md
2015-06-19 20:30:26 +02:00

39 lines
800 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 clean package;
mvn -B -Dusername=(scm_username) clean install release:clean release:prepare release:perform;
## Make site
mvn -Ptest-jacoco clean test
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;