Skip to content

Maven Artifacts and Profiles

James McLeod edited this page Jul 23, 2020 · 1 revision

Notes on Maven profiles and targets available in the project.

Profiles

default

  • Active by default
  • Includes all sub-projects

jdk-8

  • Not active by default
  • Builds project using JDK 8 toolchain

dev-doc

  • Not active by default
  • Includes all sub-projects
  • Used to create Javadoc for private and package-private entities mvn -Pdev-doc javadoc:javadoc

deploy-ossrh

  • Not active by default
  • Excludes localebean and pstExtractor projects
  • Makes jars available to Maven Central via OSSRH
  • Requires developer private key mvn -Pdeploy-ossrh deploy

Artifacts

compile

  • Includes linting code and google errorprone

spotbugs

  • Static code analysis

test

  • Only implemented for pst library, not for other sub-projects
Clone this wiki locally