Skip to content

Commit

Permalink
Add dependency management section in top-level pom and also sort prop…
Browse files Browse the repository at this point in the history
…erties section
  • Loading branch information
apc999 committed May 4, 2015
1 parent 39fe4cf commit 4f26a6f
Showing 1 changed file with 69 additions and 13 deletions.
82 changes: 69 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,23 +121,23 @@
</pluginRepositories>

<properties>
<test.output.redirect>true</test.output.redirect>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.6</java.version>
<hadoop.version>1.0.4</hadoop.version>
<glusterfs-hadoop.version>2.3.13</glusterfs-hadoop.version>
<libthrift.version>0.9.1</libthrift.version>
<apache.curator.version>2.1.0-incubating</apache.curator.version>
<checkstyle.path>build/checkstyle/</checkstyle.path>
<cxf.version>2.7.0</cxf.version>
<metrics.version>3.1.0</metrics.version>
<findbugs.path>build/findbugs/</findbugs.path>
<glusterfs-hadoop.version>2.3.13</glusterfs-hadoop.version>
<hadoop.version>1.0.4</hadoop.version>
<java.version>1.6</java.version>
<jetty.version>7.6.15.v20140411</jetty.version>
<slf4j.version>1.7.2</slf4j.version>
<powermock.version>1.6.1</powermock.version>
<log4j.version>1.2.17</log4j.version>
<apache.curator.version>2.1.0-incubating</apache.curator.version>
<junit.version>4.12</junit.version>
<libthrift.version>0.9.1</libthrift.version>
<license.header.path>build/license/</license.header.path>
<checkstyle.path>build/checkstyle/</checkstyle.path>
<findbugs.path>build/findbugs/</findbugs.path>
<log4j.version>1.2.17</log4j.version>
<metrics.version>3.1.0</metrics.version>
<powermock.version>1.6.1</powermock.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<slf4j.version>1.7.2</slf4j.version>
<test.output.redirect>true</test.output.redirect>
</properties>

<modules>
Expand All @@ -150,6 +150,62 @@
<module>assembly</module>
</modules>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-client</artifactId>
<version>${hadoop.version}</version>
<exclusions>
<exclusion>
<groupId>asm</groupId>
<artifactId>asm</artifactId>
</exclusion>
<exclusion>
<groupId>org.jboss.netty</groupId>
<artifactId>netty</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-minicluster</artifactId>
<version>${hadoop.version}</version>
<exclusions>
<exclusion>
<groupId>asm</groupId>
<artifactId>asm</artifactId>
</exclusion>
<exclusion>
<groupId>org.jboss.netty</groupId>
<artifactId>netty</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.thrift</groupId>
<artifactId>libthrift</artifactId>
<version>${libthrift.version}</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
</dependency>

</dependencies>
</dependencyManagement>

<build>
<plugins>
<!--
Expand Down

0 comments on commit 4f26a6f

Please sign in to comment.