You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by mw...@apache.org on 2019/02/15 23:07:58 UTC
[accumulo] branch master updated: Fix #910 - Add setClasspath() to
MiniAccumuloConfig (#963)
This is an automated email from the ASF dual-hosted git repository.
mwalch pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/master by this push:
new 082ea3a Fix #910 - Add setClasspath() to MiniAccumuloConfig (#963)
082ea3a is described below
commit 082ea3a4475f74e18e9fb07988f33c29d712fe23
Author: Mike Walch <mw...@apache.org>
AuthorDate: Fri Feb 15 18:07:54 2019 -0500
Fix #910 - Add setClasspath() to MiniAccumuloConfig (#963)
* This allows accumulo-maven-plugin to only use public API
---
.../org/apache/accumulo/minicluster/MiniAccumuloConfig.java | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloConfig.java b/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloConfig.java
index 04e0a72..4019015 100644
--- a/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloConfig.java
+++ b/minicluster/src/main/java/org/apache/accumulo/minicluster/MiniAccumuloConfig.java
@@ -255,4 +255,17 @@ public class MiniAccumuloConfig {
impl.setNativeLibPaths(nativePathItems);
return this;
}
+
+ /**
+ * Sets the classpath elements to use when spawning processes.
+ *
+ * @param classpathItems
+ * the classpathItems to set
+ * @return the current instance
+ * @since 2.0.0
+ */
+ public MiniAccumuloConfig setClasspath(String... classpathItems) {
+ impl.setClasspathItems(classpathItems);
+ return this;
+ }
}