Skip to content

Commit dcb0454

Browse files
tamaashuGabor Bota
authored andcommitted
HADOOP-16729. Extract version numbers to head of pom.xml (#1732). Contributed by Tamas Penzes.
1 parent f0c1403 commit dcb0454

File tree

1 file changed

+23
-11
lines changed

1 file changed

+23
-11
lines changed

hadoop-project/pom.xml

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,9 @@
7676
<httpclient.version>4.5.6</httpclient.version>
7777
<httpcore.version>4.4.10</httpcore.version>
7878

79-
<!-- SLF4J version -->
79+
<!-- SLF4J/LOG4J version -->
8080
<slf4j.version>1.7.25</slf4j.version>
81+
<log4j.version>1.2.17</log4j.version>
8182

8283
<!-- com.google.re2j version -->
8384
<re2j.version>1.1</re2j.version>
@@ -103,13 +104,24 @@
103104
<apacheds.version>2.0.0-M21</apacheds.version>
104105
<ldap-api.version>1.0.0-M33</ldap-api.version>
105106

107+
<!-- Apache Commons dependencies -->
108+
<commons-beanutils.version>1.9.4</commons-beanutils.version>
109+
<commons-cli.version>1.2</commons-cli.version>
110+
<commons-collections.version>3.2.2</commons-collections.version>
111+
<commons-io.version>2.5</commons-io.version>
112+
<commons-lang3.version>3.7</commons-lang3.version>
113+
<commons-math3.version>3.1.1</commons-math3.version>
114+
106115
<!-- Apache Ratis version -->
107116
<ratis.version>0.3.0-eca3531-SNAPSHOT</ratis.version>
108117
<jcache.version>1.0-alpha-1</jcache.version>
109118
<ehcache.version>3.3.1</ehcache.version>
110119
<hikari.version>2.4.12</hikari.version>
111120
<mssql.version>6.2.1.jre7</mssql.version>
112121
<okhttp.version>2.7.5</okhttp.version>
122+
<gson.version>2.2.4</gson.version>
123+
<netty3.version>3.10.6.Final</netty3.version>
124+
<netty4.version>4.0.52.Final</netty4.version>
113125

114126
<!-- Maven protoc compiler -->
115127
<protobuf-maven-plugin.version>0.5.1</protobuf-maven-plugin.version>
@@ -610,17 +622,17 @@
610622
<dependency>
611623
<groupId>com.google.code.gson</groupId>
612624
<artifactId>gson</artifactId>
613-
<version>2.2.4</version>
625+
<version>${gson.version}</version>
614626
</dependency>
615627
<dependency>
616628
<groupId>commons-cli</groupId>
617629
<artifactId>commons-cli</artifactId>
618-
<version>1.2</version>
630+
<version>${commons-cli.version}</version>
619631
</dependency>
620632
<dependency>
621633
<groupId>org.apache.commons</groupId>
622634
<artifactId>commons-math3</artifactId>
623-
<version>3.1.1</version>
635+
<version>${commons-math3.version}</version>
624636
</dependency>
625637
<dependency>
626638
<groupId>org.apache.commons</groupId>
@@ -834,19 +846,19 @@
834846
<dependency>
835847
<groupId>io.netty</groupId>
836848
<artifactId>netty</artifactId>
837-
<version>3.10.6.Final</version>
849+
<version>${netty3.version}</version>
838850
</dependency>
839851

840852
<dependency>
841853
<groupId>io.netty</groupId>
842854
<artifactId>netty-all</artifactId>
843-
<version>4.0.52.Final</version>
855+
<version>${netty4.version}</version>
844856
</dependency>
845857

846858
<dependency>
847859
<groupId>commons-io</groupId>
848860
<artifactId>commons-io</artifactId>
849-
<version>2.5</version>
861+
<version>${commons-io.version}</version>
850862
</dependency>
851863

852864
<dependency>
@@ -881,7 +893,7 @@
881893
<dependency>
882894
<groupId>log4j</groupId>
883895
<artifactId>log4j</artifactId>
884-
<version>1.2.17</version>
896+
<version>${log4j.version}</version>
885897
<exclusions>
886898
<exclusion>
887899
<groupId>com.sun.jdmk</groupId>
@@ -949,12 +961,12 @@
949961
<dependency>
950962
<groupId>commons-collections</groupId>
951963
<artifactId>commons-collections</artifactId>
952-
<version>3.2.2</version>
964+
<version>${commons-collections.version}</version>
953965
</dependency>
954966
<dependency>
955967
<groupId>commons-beanutils</groupId>
956968
<artifactId>commons-beanutils</artifactId>
957-
<version>1.9.4</version>
969+
<version>${commons-beanutils.version}</version>
958970
</dependency>
959971
<dependency>
960972
<groupId>org.apache.commons</groupId>
@@ -970,7 +982,7 @@
970982
<dependency>
971983
<groupId>org.apache.commons</groupId>
972984
<artifactId>commons-lang3</artifactId>
973-
<version>3.7</version>
985+
<version>${commons-lang3.version}</version>
974986
</dependency>
975987
<dependency>
976988
<groupId>org.apache.commons</groupId>

0 commit comments

Comments
 (0)