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
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:
- Web Service:
./web-services/deploy/application/target/datawave-ws-deploy-application-${project.version}-dev.tar.gz
- Ingest:
./warehouse/assemble/datawave/target/datawave-dev-${project.version}-dist.tar.gz
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.