unitxc/build.md

37 lines
764 B
Markdown
Raw Permalink Normal View History

2015-09-08 20:39:28 +00:00
# FF-UnitXC 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/fullsite
And then manual upload.
## Check for dependency-updates
mvn versions:display-plugin-updates|grep ">"|uniq
mvn versions:display-dependency-updates|grep ">"|uniq