Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.01 KB

BUILDME.md

File metadata and controls

39 lines (27 loc) · 1.01 KB

Prior to Building

Before you can build Datawave, you must install the read-properties and assert-properties packages. This only needs to be performed once:

# Build ReadProperties
pushd contrib/read-properties
mvn clean install
popd

# Now build AssertProperties
pushd contrib/assert-properties
mvn clean install
popd

Building Datawave

To perform a full (non-release) 'dev' build without unit tests:

mvn -Pdev -Ddeploy -Dtar -DskipTests clean install

This command will produce the following deployment archives:

  1. Web Service: ./web-services/deploy/application/target/datawave-ws-deploy-application-${project.version}-dev.tar.gz
  2. Ingest: ./warehouse/assemble/datawave/target/datawave-dev-${project.version}-dist.tar.gz

Building A Release

In order to build a release, you must also define the dist variable by adding -Ddist to the command-line as follows:

mvn -Pdev -Ddeploy -Dtar -Ddist -DskipTests clean install

Note that this will build javadocs and source jars.