This is an automated email from the ASF dual-hosted git repository.
ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-access.git
The following commit(s) were added to refs/heads/main by this push:
new ab05908 Put benchmark config inside its execution (#79)
ab05908 is described below
commit ab05908f4069620575a626c911fae514da7a48ad
Author: Christopher Tubbs <[email protected]>
AuthorDate: Tue Jul 23 23:33:31 2024 -0400
Put benchmark config inside its execution (#79)
* Configuration outside of the execution will apply to all executions of
exec-maven-plugin when the profile is active, even executions that
have nothing to do with the benchmark, so the benchmark-specific
configuration should be contained inside the execution element
* Remove extra character from README
---
README.md | 3 ++-
pom.xml | 18 +++++++++---------
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
index 5c24fb6..4572b01 100644
--- a/README.md
+++ b/README.md
@@ -73,8 +73,9 @@ For an ANTLRv4 example, see antlr-example integration test's
This project includes a JMH Benchmark. To run it:
```
-mvn clean verify -Pbenchmark"
+mvn clean verify -Pbenchmark
```
+
[1]:
https://github.com/apache/accumulo/blob/rel/2.1.2/core/src/main/java/org/apache/accumulo/core/security/ColumnVisibility.java
[2]:
https://github.com/apache/accumulo/blob/rel/2.1.2/core/src/main/java/org/apache/accumulo/core/security/VisibilityEvaluator.java
diff --git a/pom.xml b/pom.xml
index 32884e9..4649a9d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -765,21 +765,21 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.3.0</version>
- <configuration>
- <classpathScope>test</classpathScope>
- <executable>java</executable>
- <arguments>
- <argument>-classpath</argument>
- <classpath />
-
<argument>org.apache.accumulo.access.AccessExpressionBenchmark</argument>
- </arguments>
- </configuration>
<executions>
<execution>
<goals>
<goal>exec</goal>
</goals>
<phase>verify</phase>
+ <configuration>
+ <classpathScope>test</classpathScope>
+ <executable>java</executable>
+ <arguments>
+ <argument>-classpath</argument>
+ <classpath />
+
<argument>org.apache.accumulo.access.AccessExpressionBenchmark</argument>
+ </arguments>
+ </configuration>
</execution>
</executions>
</plugin>