blob: 0a69e167dba2c02e58a517f8c34d5219f543c12a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
set -e
SOURCE_DIR=/source
NUM_THREADS=4
cd "${SOURCE_DIR}"
export MAVEN_OPTS="-Xms128m -Xmx1g"
source /etc/profile.d/devtoolset-6.sh || true
sh ./bootstrap.sh java
mvn install -nsu -B -T ${NUM_THREADS} -V # Should ideally split out test phase, but some unit tests fails on 'mvn test'
|