Skip to content

Commit d8c748f

Browse files
committed
Update Spark Mvn build as well
1 parent 7121ce9 commit d8c748f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spark-k8s/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,14 @@ export JDK_JAVA_OPTIONS="\
107107

108108
# Get the Scala version used by Spark
109109
SCALA_VERSION=$( \
110-
mvn --quiet --non-recursive --file /stackable/spark/pom.xml \
110+
mvn --quiet --non-recursive --no-transfer-progress --batch-mode --file /stackable/spark/pom.xml \
111111
org.apache.maven.plugins:maven-help-plugin:3.5.0:evaluate \
112112
-DforceStdout \
113113
-Dexpression='project.properties(scala.version)')
114114

115115
# Get the Scala binary version used by Spark
116116
SCALA_BINARY_VERSION=$( \
117-
mvn --quiet --non-recursive --file /stackable/spark/pom.xml \
117+
mvn --quiet --non-recursive --no-transfer-progress --batch-mode --file /stackable/spark/pom.xml \
118118
org.apache.maven.plugins:maven-help-plugin:3.5.0:evaluate \
119119
-DforceStdout \
120120
-Dexpression='project.properties(scala.binary.version)')
@@ -149,7 +149,7 @@ ln -s /stackable/hbase-connectors/spark/hbase-spark/target/hbase-spark-${HBASE_C
149149
# Spark contains only log4j-slf4j2-impl-x.x.x.jar but not
150150
# log4j-slf4j-impl-x.x.x.jar. It is okay to have both JARs in the
151151
# classpath as long as they have the same version.
152-
mvn --quiet --non-recursive --file /stackable/spark/pom.xml \
152+
mvn --quiet --non-recursive --no-transfer-progress --batch-mode --file /stackable/spark/pom.xml \
153153
dependency:copy \
154154
-Dartifact=org.apache.logging.log4j:log4j-slf4j-impl:'${log4j.version}' \
155155
-DoutputDirectory=.

0 commit comments

Comments
 (0)