You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2019/02/23 20:20:49 UTC

[commons-rng] branch master updated: Added version property for exec-maven-plugin in JMH benchmark.

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

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git


The following commit(s) were added to refs/heads/master by this push:
     new 85ae97b  Added version property for exec-maven-plugin in JMH benchmark.
85ae97b is described below

commit 85ae97b82ae7a0e92eb74716a7c211ea18aecfcf
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Sat Feb 23 20:20:48 2019 +0000

    Added version property for exec-maven-plugin in JMH benchmark.
    
    Removed control of maven-compiler-plugin from 3.1.0 as commons-parent
    uses 3.7.0.
---
 commons-rng-examples/examples-jmh/pom.xml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/commons-rng-examples/examples-jmh/pom.xml b/commons-rng-examples/examples-jmh/pom.xml
index a7fd662..e935fa7 100644
--- a/commons-rng-examples/examples-jmh/pom.xml
+++ b/commons-rng-examples/examples-jmh/pom.xml
@@ -67,9 +67,10 @@
     <!-- Workaround to avoid duplicating config files. -->
     <rng.parent.dir>${basedir}/../..</rng.parent.dir>
 
-    <!-- JMH Benchmark related properties, version, target compiler and name of the benchmarking uber jar. -->
+    <!-- JMH Benchmark related properties: version, name of the benchmarking uber jar. -->
     <jmh.version>1.13</jmh.version>
     <uberjar.name>benchmarks</uberjar.name>
+    <exec-maven-plugin.version>1.6.0</exec-maven-plugin.version>
   </properties>
 
   <profiles>
@@ -86,7 +87,6 @@
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-compiler-plugin</artifactId>
-            <version>3.1</version>
             <configuration>
               <compilerVersion>${maven.compiler.target}</compilerVersion>
               <source>${maven.compiler.target}</source>
@@ -96,6 +96,7 @@
           <plugin>
             <groupId>org.codehaus.mojo</groupId>
             <artifactId>exec-maven-plugin</artifactId>
+            <version>${exec-maven-plugin.version}</version>
             <executions>
               <execution>
                 <id>benchmark</id>