unitxc/build.md
2015-09-08 22:39:28 +02:00

764 B

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