This is an automated email from the ASF dual-hosted git repository.

kturner pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-testing.git


The following commit(s) were added to refs/heads/main by this push:
     new 28c7ede  fixes build issue by supplying Accumulo version (#257)
28c7ede is described below

commit 28c7ede5b69e55d525cbd2c177fa31436f64a506
Author: Keith Turner <ktur...@apache.org>
AuthorDate: Sun Nov 20 17:30:07 2022 +0000

    fixes build issue by supplying Accumulo version (#257)
    
    Tried to run bin/build against accumulo 2.1.1-SNAPSHOT and it
    failed looking for 2.1.0-SNAPSHOT resources.  This was because
    script was not passing the runtime Accumulo version.  Modified
    the script to pass the runtime version.
---
 conf/env.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/env.sh b/conf/env.sh
index d2d8d67..5907d7f 100644
--- a/conf/env.sh
+++ b/conf/env.sh
@@ -82,7 +82,7 @@ fi
 export HADOOP_API_JAR="${at_home}"/target/dependency/hadoop-client-api.jar
 export 
HADOOP_RUNTIME_JAR="${at_home}"/target/dependency/hadoop-client-runtime.jar
 if [[ ! -f $HADOOP_API_JAR || ! -f $HADOOP_RUNTIME_JAR ]]; then
-  mvn dependency:copy-dependencies -Dmdep.stripVersion=true 
-DincludeArtifactIds=hadoop-client-api,hadoop-client-runtime 
-Dhadoop.version="$HADOOP_VERSION"
+  mvn dependency:copy-dependencies -Dmdep.stripVersion=true 
-DincludeArtifactIds=hadoop-client-api,hadoop-client-runtime 
-Dhadoop.version="$HADOOP_VERSION" -D accumulo.version="$ACCUMULO_VERSION"
 fi
 
 # Agitator

Reply via email to