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
commit 3c60bfa4d5767eccb49c49cca6cfa7675ccbed3f Author: aherbert <[email protected]> AuthorDate: Mon Aug 2 13:04:40 2021 +0100 Specify maven plugin versions --- commons-rng-examples/examples-jmh/pom.xml | 20 ++------------------ commons-rng-examples/examples-sampling/pom.xml | 1 + commons-rng-examples/examples-stress/pom.xml | 4 +++- commons-rng-examples/pom.xml | 5 ++++- 4 files changed, 10 insertions(+), 20 deletions(-) diff --git a/commons-rng-examples/examples-jmh/pom.xml b/commons-rng-examples/examples-jmh/pom.xml index b2e313d..5657678 100644 --- a/commons-rng-examples/examples-jmh/pom.xml +++ b/commons-rng-examples/examples-jmh/pom.xml @@ -88,17 +88,9 @@ <build> <plugins> <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <compilerVersion>${maven.compiler.target}</compilerVersion> - <source>${maven.compiler.target}</source> - <target>${maven.compiler.target}</target> - </configuration> - </plugin> - <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> + <version>${rng.exec.version}</version> <executions> <execution> <id>benchmark</id> @@ -141,16 +133,8 @@ <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <compilerVersion>${maven.compiler.target}</compilerVersion> - <source>${maven.compiler.target}</source> - <target>${maven.compiler.target}</target> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> + <version>${rng.shade.version}</version> <executions> <execution> <phase>package</phase> diff --git a/commons-rng-examples/examples-sampling/pom.xml b/commons-rng-examples/examples-sampling/pom.xml index 235d28c..f15beb2 100644 --- a/commons-rng-examples/examples-sampling/pom.xml +++ b/commons-rng-examples/examples-sampling/pom.xml @@ -71,6 +71,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> + <version>${rng.shade.version}</version> <executions> <execution> <phase>package</phase> diff --git a/commons-rng-examples/examples-stress/pom.xml b/commons-rng-examples/examples-stress/pom.xml index 4407f64..db404aa 100644 --- a/commons-rng-examples/examples-stress/pom.xml +++ b/commons-rng-examples/examples-stress/pom.xml @@ -67,8 +67,9 @@ <plugins> <plugin> <artifactId>maven-checkstyle-plugin</artifactId> + <version>${rng.checkstyle.version}</version> <!-- The custom ApplicationException cannot be loaded by checkstyle unless the source is - compiled. Checkstyle runs in the validate phase so here we switch to verify --> + compiled. Checkstyle runs in the validate phase so here we switch to verify --> <executions> <execution> <phase>verify</phase> @@ -89,6 +90,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> + <version>${rng.shade.version}</version> <executions> <execution> <phase>package</phase> diff --git a/commons-rng-examples/pom.xml b/commons-rng-examples/pom.xml index ccfa97c..262996e 100644 --- a/commons-rng-examples/pom.xml +++ b/commons-rng-examples/pom.xml @@ -47,6 +47,8 @@ <rng.parent.dir>${basedir}/..</rng.parent.dir> <rng.picocli.version>3.9.5</rng.picocli.version> + <rng.exec.version>3.0.0</rng.exec.version> + <rng.shade.version>3.2.4</rng.shade.version> <!-- Disable JApiCmp failures (but keep the report). The examples API is allowed to change. --> <commons.japicmp.breakBuildOnBinaryIncompatibleModifications>false</commons.japicmp.breakBuildOnBinaryIncompatibleModifications> @@ -85,13 +87,14 @@ <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> - <version>1.6.0</version> + <version>${rng.exec.version}</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <artifactId>maven-pmd-plugin</artifactId> + <version>${rng.pmd.version}</version> <configuration> <failOnViolation>false</failOnViolation> </configuration>
