Repository: hbase Updated Branches: refs/heads/master 14f0423b5 -> f2731fc24
HBASE-18264 Update pom plugins Update plugins in main and subprojects Unified versions to use variable instead of direct values Affected plugins: - apache-rat-plugin 0.11 -> 0.12 - asciidoctor-maven-plugin 1.5.2.1 -> 1.5.5 - asciidoctorj-pdf 1.5.0-alpha.6 -> 1.5.0-alpha.15 - build-helper-maven-plugin 1.9.1 -> 3.0.0 - buildnumber-maven-plugin 1.3 -> 1.4 - exec-maven-plugin 1.2.1/1.4.0 -> 1.6.0 - extra-enforcer-rules 1.0-beta-3 -> 1.0-beta-6 - findbugs-maven-plugin 3.0.0 -> 3.0.4 - jamon-maven-plugin 2.4.1 -> 2.4.2 - maven-bundle-plugin 2.5.3 -> 3.3.0 - maven-compiler-plugin 3.2/3.5.1 -> 3.6.1 - maven-eclipse-plugin 2.9 -> 2.10 - maven-shade-plugin 2.4.1 -> 3.0.0 - maven-surefire-plugin 2.18.1 -> 2.20 - maven-surefire-report-plugin 2.7.2 -> 2.20 - scala-maven-plugin 3.2.0 -> 3.2.2 - spotbugs 3.1.0-RC1 -> 3.1.0-RC3 - wagon-ssh 2.2 -> 2.12 - xml-maven-plugin 1.0 -> 1.0.1 - maven-assembly-plugin 2.4 -> 2.6(inherited) - maven-dependency-plugin 2.4 -> 2.10 (inherited) - maven-enforcer-plugin 1.3.1 -> 1.4.1 (inherited) - maven-javadoc-plugin 2.10.3 -> 2.10.4 (inherited) - maven-resources-plugin 2.7 (inherited) - maven-site-plugin 3.4 -> 3.5.1 (inherited) Change-Id: I84539f555be498dff18caed1e3eea1e1aeb2143a Signed-off-by: Michael Stack <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f2731fc2 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f2731fc2 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f2731fc2 Branch: refs/heads/master Commit: f2731fc2419ed929029f41bb897e57fbc02fe072 Parents: 14f0423 Author: Peter Somogyi <[email protected]> Authored: Thu Jun 29 15:37:22 2017 +0200 Committer: Michael Stack <[email protected]> Committed: Mon Jul 3 19:42:46 2017 -0700 ---------------------------------------------------------------------- .../hbase-archetype-builder/pom.xml | 4 +- hbase-assembly/pom.xml | 4 +- hbase-client/pom.xml | 2 - hbase-common/pom.xml | 1 - hbase-endpoint/pom.xml | 2 - hbase-examples/pom.xml | 2 - hbase-external-blockcache/pom.xml | 1 - hbase-hadoop-compat/pom.xml | 2 - hbase-hadoop2-compat/pom.xml | 3 - hbase-it/pom.xml | 4 +- hbase-metrics-api/pom.xml | 1 - hbase-metrics/pom.xml | 1 - hbase-prefix-tree/pom.xml | 2 - hbase-procedure/pom.xml | 1 - hbase-protocol-shaded/pom.xml | 11 +-- hbase-protocol/pom.xml | 2 - hbase-rest/pom.xml | 2 - hbase-rsgroup/pom.xml | 2 - hbase-server/pom.xml | 1 - hbase-shaded/pom.xml | 1 - hbase-shell/pom.xml | 1 - hbase-spark/pom.xml | 4 +- hbase-thrift/pom.xml | 5 +- pom.xml | 82 ++++++++++++-------- 24 files changed, 59 insertions(+), 82 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/f2731fc2/hbase-archetypes/hbase-archetype-builder/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-archetypes/hbase-archetype-builder/pom.xml b/hbase-archetypes/hbase-archetype-builder/pom.xml index 6d79374..39f5363 100644 --- a/hbase-archetypes/hbase-archetype-builder/pom.xml +++ b/hbase-archetypes/hbase-archetype-builder/pom.xml @@ -50,7 +50,6 @@ <plugins> <plugin> <artifactId>maven-resources-plugin</artifactId> - <version>2.7</version> <executions> <!-- maven-resources-plugin copies each exemplar project's src directory to ${build.archetype.subdir} subdirectory, and copies each project's pom.xml file @@ -179,7 +178,6 @@ <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>xml-maven-plugin</artifactId> - <version>1.0.1</version> <executions> <!-- xml-maven-plugin modifies each exemplar project's pom.xml file to convert to standalone project. --> <execution> @@ -246,7 +244,7 @@ <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> - <version>1.4.0</version> + <version>${exec.maven.version}</version> <executions> <!-- exec-maven-plugin executes chmod to make scripts executable --> <execution> http://git-wip-us.apache.org/repos/asf/hbase/blob/f2731fc2/hbase-assembly/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-assembly/pom.xml b/hbase-assembly/pom.xml index b0e6fb8..eda54cb 100644 --- a/hbase-assembly/pom.xml +++ b/hbase-assembly/pom.xml @@ -57,7 +57,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-remote-resources-plugin</artifactId> - <version>1.5</version> <executions> <execution> <id>aggregate-licenses</id> @@ -88,7 +87,6 @@ </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> - <version>${maven.assembly.version}</version> <configuration> <!--Else will use hbase-assembly as final name.--> <finalName>hbase-${project.version}</finalName> @@ -160,7 +158,7 @@ <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> - <version>1.4.0</version> + <version>${exec.maven.version}</version> <executions> <execution> <id>concat-NOTICE-files</id> http://git-wip-us.apache.org/repos/asf/hbase/blob/f2731fc2/hbase-client/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-client/pom.xml b/hbase-client/pom.xml index 4c51625..cc1143d 100644 --- a/hbase-client/pom.xml +++ b/hbase-client/pom.xml @@ -45,7 +45,6 @@ <plugin> <!--Make it so assembly:single does nothing in here--> <artifactId>maven-assembly-plugin</artifactId> - <version>${maven.assembly.version}</version> <configuration> <skipAssembly>true</skipAssembly> </configuration> @@ -63,7 +62,6 @@ <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> - <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> http://git-wip-us.apache.org/repos/asf/hbase/blob/f2731fc2/hbase-common/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-common/pom.xml b/hbase-common/pom.xml index 6e14b02..ae0f692 100644 --- a/hbase-common/pom.xml +++ b/hbase-common/pom.xml @@ -152,7 +152,6 @@ <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> - <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> http://git-wip-us.apache.org/repos/asf/hbase/blob/f2731fc2/hbase-endpoint/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-endpoint/pom.xml b/hbase-endpoint/pom.xml index fd16654..c45e953 100644 --- a/hbase-endpoint/pom.xml +++ b/hbase-endpoint/pom.xml @@ -53,7 +53,6 @@ <plugin> <!--Make it so assembly:single does nothing in here--> <artifactId>maven-assembly-plugin</artifactId> - <version>${maven.assembly.version}</version> <configuration> <skipAssembly>true</skipAssembly> </configuration> @@ -65,7 +64,6 @@ <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> - <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> http://git-wip-us.apache.org/repos/asf/hbase/blob/f2731fc2/hbase-examples/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-examples/pom.xml b/hbase-examples/pom.xml index 0da0f74..3a30add 100644 --- a/hbase-examples/pom.xml +++ b/hbase-examples/pom.xml @@ -42,7 +42,6 @@ <plugin> <!--Make it so assembly:single does nothing in here--> <artifactId>maven-assembly-plugin</artifactId> - <version>${maven.assembly.version}</version> <configuration> <skipAssembly>true</skipAssembly> </configuration> @@ -69,7 +68,6 @@ <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> - <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> http://git-wip-us.apache.org/repos/asf/hbase/blob/f2731fc2/hbase-external-blockcache/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-external-blockcache/pom.xml b/hbase-external-blockcache/pom.xml index 12083fe..e750653 100644 --- a/hbase-external-blockcache/pom.xml +++ b/hbase-external-blockcache/pom.xml @@ -103,7 +103,6 @@ <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> - <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> http://git-wip-us.apache.org/repos/asf/hbase/blob/f2731fc2/hbase-hadoop-compat/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-hadoop-compat/pom.xml b/hbase-hadoop-compat/pom.xml index 121998d..9899336 100644 --- a/hbase-hadoop-compat/pom.xml +++ b/hbase-hadoop-compat/pom.xml @@ -47,7 +47,6 @@ <plugin> <!--Make it so assembly:single does nothing in here--> <artifactId>maven-assembly-plugin</artifactId> - <version>${maven.assembly.version}</version> <configuration> <skipAssembly>true</skipAssembly> </configuration> @@ -65,7 +64,6 @@ <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> - <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> http://git-wip-us.apache.org/repos/asf/hbase/blob/f2731fc2/hbase-hadoop2-compat/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-hadoop2-compat/pom.xml b/hbase-hadoop2-compat/pom.xml index a905966..e52db17 100644 --- a/hbase-hadoop2-compat/pom.xml +++ b/hbase-hadoop2-compat/pom.xml @@ -50,7 +50,6 @@ limitations under the License. <plugin> <!--Make it so assembly:single does nothing in here--> <artifactId>maven-assembly-plugin</artifactId> - <version>${maven.assembly.version}</version> <configuration> <skipAssembly>true</skipAssembly> </configuration> @@ -58,7 +57,6 @@ limitations under the License. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> - <version>2.4</version> <executions> <execution> <id>create-mrapp-generated-classpath</id> @@ -85,7 +83,6 @@ limitations under the License. <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> - <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> http://git-wip-us.apache.org/repos/asf/hbase/blob/f2731fc2/hbase-it/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-it/pom.xml b/hbase-it/pom.xml index a867fbb..ae8c790 100644 --- a/hbase-it/pom.xml +++ b/hbase-it/pom.xml @@ -68,7 +68,6 @@ <plugin> <!--Make it so assembly:single does nothing in here--> <artifactId>maven-assembly-plugin</artifactId> - <version>${maven.assembly.version}</version> <configuration> <skipAssembly>true</skipAssembly> </configuration> @@ -123,7 +122,6 @@ <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> - <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> @@ -398,7 +396,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> - <version>2.7.2</version> + <version>${surefire.version}</version> <reportSets> <reportSet> <id>integration-tests</id> http://git-wip-us.apache.org/repos/asf/hbase/blob/f2731fc2/hbase-metrics-api/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-metrics-api/pom.xml b/hbase-metrics-api/pom.xml index 9add123..1205082 100644 --- a/hbase-metrics-api/pom.xml +++ b/hbase-metrics-api/pom.xml @@ -48,7 +48,6 @@ <plugin> <!--Make it so assembly:single does nothing in here--> <artifactId>maven-assembly-plugin</artifactId> - <version>${maven.assembly.version}</version> <configuration> <skipAssembly>true</skipAssembly> </configuration> http://git-wip-us.apache.org/repos/asf/hbase/blob/f2731fc2/hbase-metrics/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-metrics/pom.xml b/hbase-metrics/pom.xml index fe40346..6ff8e3a 100644 --- a/hbase-metrics/pom.xml +++ b/hbase-metrics/pom.xml @@ -48,7 +48,6 @@ <plugin> <!--Make it so assembly:single does nothing in here--> <artifactId>maven-assembly-plugin</artifactId> - <version>${maven.assembly.version}</version> <configuration> <skipAssembly>true</skipAssembly> </configuration> http://git-wip-us.apache.org/repos/asf/hbase/blob/f2731fc2/hbase-prefix-tree/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-prefix-tree/pom.xml b/hbase-prefix-tree/pom.xml index 4c6dc7b..a13584a 100644 --- a/hbase-prefix-tree/pom.xml +++ b/hbase-prefix-tree/pom.xml @@ -49,7 +49,6 @@ <plugin> <!--Make it so assembly:single does nothing in here--> <artifactId>maven-assembly-plugin</artifactId> - <version>${maven.assembly.version}</version> <configuration> <skipAssembly>true</skipAssembly> </configuration> @@ -62,7 +61,6 @@ <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> - <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> http://git-wip-us.apache.org/repos/asf/hbase/blob/f2731fc2/hbase-procedure/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-procedure/pom.xml b/hbase-procedure/pom.xml index 089124a..2fa01a1 100644 --- a/hbase-procedure/pom.xml +++ b/hbase-procedure/pom.xml @@ -49,7 +49,6 @@ <plugin> <!--Make it so assembly:single does nothing in here--> <artifactId>maven-assembly-plugin</artifactId> - <version>${maven.assembly.version}</version> <configuration> <skipAssembly>true</skipAssembly> </configuration> http://git-wip-us.apache.org/repos/asf/hbase/blob/f2731fc2/hbase-protocol-shaded/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-protocol-shaded/pom.xml b/hbase-protocol-shaded/pom.xml index 48c6430..d5953b6 100644 --- a/hbase-protocol-shaded/pom.xml +++ b/hbase-protocol-shaded/pom.xml @@ -60,7 +60,6 @@ <plugin> <!--Make it so assembly:single does nothing in here--> <artifactId>maven-assembly-plugin</artifactId> - <version>${maven.assembly.version}</version> <configuration> <skipAssembly>true</skipAssembly> </configuration> @@ -88,7 +87,6 @@ <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> - <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> @@ -244,7 +242,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> - <version>3.0.2</version> + <version>${maven.jar.version}</version> <configuration> <finalName>${jar.finalName}</finalName> </configuration> @@ -252,7 +250,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> - <version>2.4.3</version> + <version>${maven.shade.version}</version> <executions> <execution> <phase>package</phase> @@ -301,7 +299,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> - <version>2.10</version> <executions> <execution> <id>unpack</id> @@ -329,7 +326,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-patch-plugin</artifactId> - <version>1.2</version> + <version>${maven.patch.version}</version> <configuration> <!--Patches are made at top-level--> <targetDirectory>${basedir}/..</targetDirectory> @@ -355,7 +352,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId> - <version>2.5.2</version> + <version>${maven.install.version}</version> <configuration> <skip>true</skip> </configuration> http://git-wip-us.apache.org/repos/asf/hbase/blob/f2731fc2/hbase-protocol/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-protocol/pom.xml b/hbase-protocol/pom.xml index 6fecf38..f3296ac 100644 --- a/hbase-protocol/pom.xml +++ b/hbase-protocol/pom.xml @@ -52,7 +52,6 @@ <plugin> <!--Make it so assembly:single does nothing in here--> <artifactId>maven-assembly-plugin</artifactId> - <version>${maven.assembly.version}</version> <configuration> <skipAssembly>true</skipAssembly> </configuration> @@ -80,7 +79,6 @@ <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> - <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> http://git-wip-us.apache.org/repos/asf/hbase/blob/f2731fc2/hbase-rest/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-rest/pom.xml b/hbase-rest/pom.xml index 1714b51..5b4d209 100644 --- a/hbase-rest/pom.xml +++ b/hbase-rest/pom.xml @@ -63,7 +63,6 @@ <plugin> <!--Make it so assembly:single does nothing in here--> <artifactId>maven-assembly-plugin</artifactId> - <version>${maven.assembly.version}</version> <configuration> <skipAssembly>true</skipAssembly> </configuration> @@ -154,7 +153,6 @@ <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> - <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> http://git-wip-us.apache.org/repos/asf/hbase/blob/f2731fc2/hbase-rsgroup/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-rsgroup/pom.xml b/hbase-rsgroup/pom.xml index c8220be..486a573 100644 --- a/hbase-rsgroup/pom.xml +++ b/hbase-rsgroup/pom.xml @@ -45,7 +45,6 @@ <plugin> <!--Make it so assembly:single does nothing in here--> <artifactId>maven-assembly-plugin</artifactId> - <version>${maven.assembly.version}</version> <configuration> <skipAssembly>true</skipAssembly> </configuration> @@ -63,7 +62,6 @@ <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> - <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> http://git-wip-us.apache.org/repos/asf/hbase/blob/f2731fc2/hbase-server/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml index c4c6f1d..fb0a1ca 100644 --- a/hbase-server/pom.xml +++ b/hbase-server/pom.xml @@ -277,7 +277,6 @@ <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> - <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> http://git-wip-us.apache.org/repos/asf/hbase/blob/f2731fc2/hbase-shaded/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-shaded/pom.xml b/hbase-shaded/pom.xml index b2f503f..3f9a317 100644 --- a/hbase-shaded/pom.xml +++ b/hbase-shaded/pom.xml @@ -69,7 +69,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-remote-resources-plugin</artifactId> - <version>1.5</version> <executions> <execution> <id>aggregate-licenses</id> http://git-wip-us.apache.org/repos/asf/hbase/blob/f2731fc2/hbase-shell/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-shell/pom.xml b/hbase-shell/pom.xml index d9347d2..cfe0312 100644 --- a/hbase-shell/pom.xml +++ b/hbase-shell/pom.xml @@ -153,7 +153,6 @@ <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> - <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> http://git-wip-us.apache.org/repos/asf/hbase/blob/f2731fc2/hbase-spark/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-spark/pom.xml b/hbase-spark/pom.xml index b57e59a..3920342 100644 --- a/hbase-spark/pom.xml +++ b/hbase-spark/pom.xml @@ -538,7 +538,7 @@ <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>scala-maven-plugin</artifactId> - <version>3.2.0</version> + <version>${scala.maven.version}</version> <configuration> <charset>${project.build.sourceEncoding}</charset> <scalaVersion>${scala.version}</scalaVersion> @@ -568,7 +568,7 @@ <plugin> <groupId>org.scalatest</groupId> <artifactId>scalatest-maven-plugin</artifactId> - <version>1.0</version> + <version>${scalatest.maven.version}</version> <configuration> <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory> <junitxml>.</junitxml> http://git-wip-us.apache.org/repos/asf/hbase/blob/f2731fc2/hbase-thrift/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-thrift/pom.xml b/hbase-thrift/pom.xml index b625386..814801c 100644 --- a/hbase-thrift/pom.xml +++ b/hbase-thrift/pom.xml @@ -73,7 +73,6 @@ <plugin> <!--Make it so assembly:single does nothing in here--> <artifactId>maven-assembly-plugin</artifactId> - <version>${maven.assembly.version}</version> <configuration> <skipAssembly>true</skipAssembly> </configuration> @@ -148,7 +147,6 @@ <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> - <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> @@ -351,7 +349,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> - <version>1.3.1</version> <executions> <execution> <id>enforce-thrift-version</id> @@ -384,7 +381,7 @@ <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> - <version>1.2.1</version> + <version>${exec.maven.version}</version> <executions> <execution> <id>check-thrift-version</id> http://git-wip-us.apache.org/repos/asf/hbase/blob/f2731fc2/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index c64033c..6f18e27 100644 --- a/pom.xml +++ b/pom.xml @@ -529,25 +529,26 @@ <extension> <groupId>kr.motd.maven</groupId> <artifactId>os-maven-plugin</artifactId> - <version>1.5.0.Final</version> + <version>${os.maven.version}</version> </extension> </extensions> + <!-- Plugin versions are inherited from ASF parent pom: https://maven.apache.org/pom/asf/ + For specific version use a property and define it in the parent pom. + --> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>${javadoc.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-remote-resources-plugin</artifactId> - <version>1.5</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> - <version>2.4.1</version> + <version>${maven.shade.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -569,7 +570,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.2</version> + <version>${maven.compiler.version}</version> <configuration> <source>${compileSource}</source> <target>${compileSource}</target> @@ -654,12 +655,12 @@ <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>buildnumber-maven-plugin</artifactId> - <version>1.3</version> + <version>${buildnumber.maven.version}</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> - <version>3.0.0</version> + <version>${findbugs.maven.version}</version> <!--NOTE: Findbugs 3.0.0 requires jdk7--> <configuration> <excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile> @@ -671,7 +672,7 @@ <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> - <version>1.9.1</version> + <version>${build.helper.maven.version}</version> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> @@ -731,7 +732,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-eclipse-plugin</artifactId> - <version>2.9</version> + <version>${maven.eclipse.version}</version> </plugin> <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. m2e does not @@ -744,7 +745,7 @@ <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> - <version>1.0.0</version> + <version>${lifecycle.mapping.version}</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> @@ -812,7 +813,7 @@ <!-- excludes are inherited --> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> - <version>0.11</version> + <version>${apache.rat.version}</version> <configuration> <excludes> <exclude>**/*.versionsBackup</exclude> @@ -862,7 +863,6 @@ </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> - <version>${maven.assembly.version}</version> <configuration> <!--Defer to the hbase-assembly sub-module. It does all assembly--> @@ -884,7 +884,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> - <version>2.17</version> + <version>${maven.checkstyle.version}</version> <dependencies> <dependency> <groupId>org.apache.hbase</groupId> @@ -926,7 +926,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> - <version>1.4</version> <dependencies> <dependency> <groupId>org.codehaus.mojo</groupId> @@ -1061,7 +1060,7 @@ <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>xml-maven-plugin</artifactId> - <version>1.0</version> + <version>${xml.maven.version}</version> <inherited>false</inherited> <executions> <execution> @@ -1133,14 +1132,13 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> - <version>3.4</version> <inherited>false</inherited> <dependencies> <dependency> <!-- add support for ssh/scp --> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-ssh</artifactId> - <version>2.2</version> + <version>${wagon.ssh.version}</version> </dependency> </dependencies> <configuration> @@ -1160,7 +1158,7 @@ <dependency> <groupId>org.asciidoctor</groupId> <artifactId>asciidoctorj-pdf</artifactId> - <version>1.5.0-alpha.6</version> + <version>${asciidoctorj.pdf.version}</version> </dependency> </dependencies> <configuration> @@ -1293,14 +1291,14 @@ <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> - <version>2.5.3</version> + <version>${maven.bundle.version}</version> <inherited>true</inherited> <extensions>true</extensions> </plugin> <plugin> <groupId>org.scala-tools</groupId> <artifactId>maven-scala-plugin</artifactId> - <version>2.15.2</version> + <version>${maven.scala.version}</version> </plugin> </plugins> </build> @@ -1390,14 +1388,34 @@ <commons-crypto.version>1.0.0</commons-crypto.version> <curator.version>2.12.0</curator.version> <!-- Plugin Dependencies --> - <maven.assembly.version>2.4</maven.assembly.version> - <maven.antrun.version>1.8</maven.antrun.version> - <jamon.plugin.version>2.4.1</jamon.plugin.version> - <findbugs-annotations>1.3.9-1</findbugs-annotations> + <apache.rat.version>0.12</apache.rat.version> + <asciidoctor.plugin.version>1.5.5</asciidoctor.plugin.version> + <asciidoctorj.pdf.version>1.5.0-alpha.15</asciidoctorj.pdf.version> + <build.helper.maven.version>3.0.0</build.helper.maven.version> + <buildnumber.maven.version>1.4</buildnumber.maven.version> <checkstyle.version>6.18</checkstyle.version> - <javadoc.version>2.10.3</javadoc.version> - <asciidoctor.plugin.version>1.5.2.1</asciidoctor.plugin.version> - <spotbugs.version>3.1.0-RC1</spotbugs.version> + <exec.maven.version>1.6.0</exec.maven.version> + <findbugs-annotations>1.3.9-1</findbugs-annotations> + <findbugs.maven.version>3.0.4</findbugs.maven.version> + <jamon.plugin.version>2.4.2</jamon.plugin.version> + <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version> + <maven.antrun.version>1.8</maven.antrun.version> + <maven.bundle.version>3.3.0</maven.bundle.version> + <maven.checkstyle.version>2.17</maven.checkstyle.version> + <maven.compiler.version>3.6.1</maven.compiler.version> + <maven.eclipse.version>2.10</maven.eclipse.version> + <maven.install.version>2.5.2</maven.install.version> + <maven.jar.version>3.0.2</maven.jar.version> + <maven.patch.version>1.2</maven.patch.version> + <maven.scala.version>2.15.2</maven.scala.version> + <maven.shade.version>3.0.0</maven.shade.version> + <maven.source.version>3.0.1</maven.source.version> + <os.maven.version>1.5.0.Final</os.maven.version> + <scala.maven.version>3.2.2</scala.maven.version> + <scalatest.maven.version>1.0</scalatest.maven.version> + <spotbugs.version>3.1.0-RC3</spotbugs.version> + <wagon.ssh.version>2.12</wagon.ssh.version> + <xml.maven.version>1.0.1</xml.maven.version> <!-- General Packaging --> <package.prefix>/usr</package.prefix> <package.conf.dir>/etc/hbase</package.conf.dir> @@ -1414,7 +1432,7 @@ <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar> <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar> <rsgroup.test.jar>hbase-rsgroup-${project.version}-tests.jar</rsgroup.test.jar> - <surefire.version>2.18.1</surefire.version> + <surefire.version>2.20</surefire.version> <surefire.provider>surefire-junit47</surefire.provider> <!-- default: run small & medium, medium with 2 threads --> <surefire.skipFirstPart>false</surefire.skipFirstPart> @@ -1443,7 +1461,7 @@ <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile --> <argLine>${hbase-surefire.argLine}</argLine> <jacoco.version>0.7.5.201505241946</jacoco.version> - <extra.enforcer.version>1.0-beta-3</extra.enforcer.version> + <extra.enforcer.version>1.0-beta-6</extra.enforcer.version> <!-- Location of test resources --> <test.build.classes>${project.build.directory}/test-classes</test.build.classes> <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format> @@ -3067,7 +3085,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.5.1</version> + <version>${maven.compiler.version}</version> <configuration> <compilerId>javac-with-errorprone</compilerId> <forceJavacCompilerUse>true</forceJavacCompilerUse> @@ -3089,7 +3107,6 @@ <plugins> <plugin> <artifactId>maven-project-info-reports-plugin</artifactId> - <version>2.7</version> <reportSets> <reportSet> <reports> @@ -3119,7 +3136,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>${javadoc.version}</version> <reportSets> <!-- Dev API --> <reportSet> @@ -3329,7 +3345,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> - <version>2.17</version> + <version>${maven.checkstyle.version}</version> <configuration> <excludes>target/**</excludes> <configLocation>hbase/checkstyle.xml</configLocation>
