forked from apache/hadoop
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.blazar.yaml
21 lines (18 loc) · 1.03 KB
/
.blazar.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
buildpack:
name: Blazar-Buildpack-Java-single-module
# The build environment requires environment variables to be explicitly defined before they may
# be modified by the `write-build-env-var` utilty script to persist changes to an environment variable
# throughout a build
env:
MAVEN_BUILD_ARGS: "-pl !hadoop-tools/hadoop-benchmark -DdeployAtEnd=true -Dmaven-deploy-plugin.version=3.1.1"
SET_VERSION: ""
PKG_RELEASE: ""
FULL_BUILD_VERSION: ""
# Hadoop build needs -Pdist to generate sources, but that fails on javadoc generation. When we have time to figure out why javadoc generation
# is failing, that would probably be best. For now I've manually added the source plugin to the executions here which seems to work.
MAVEN_PHASE: "org.apache.maven.plugins:maven-source-plugin:2.3:jar-no-fork org.apache.maven.plugins:maven-source-plugin:2.3:test-jar-no-fork package deploy"
before:
- description: "Prepare build environment"
commands:
- $WORKSPACE/build-scripts/prepare_environment.sh
buildTimeoutOverrideMinutes: 60