Skip to content

Commit

Permalink
revise pom, add dependency jar
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronshan committed Jul 25, 2016
1 parent a79b591 commit 026ec82
Showing 1 changed file with 89 additions and 1 deletion.
90 changes: 89 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,23 @@

<groupId>cc.shanruifeng</groupId>
<artifactId>hive-third-functions</artifactId>
<version>1.0-SNAPSHOT</version>
<version>2.0.0</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.targetJdk>1.6</project.build.targetJdk>
<project.report.outputEncoding>UTF-8</project.report.outputEncoding>
<project.report.inputEncoding>UTF-8</project.report.inputEncoding>

<hive.version>0.11.0</hive.version>
<joda.time.version>2.7</joda.time.version>
<hadoop.version>2.2.0</hadoop.version>
<pinyin4j.version>2.5.0</pinyin4j.version>
<guava.version>18.0</guava.version>
<commons-codec.version>1.10</commons-codec.version>
<dep.airlift.version>0.131</dep.airlift.version>
<dep.jackson.version>2.4.4</dep.jackson.version>
<dep.jmh.version>1.9.3</dep.jmh.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -40,6 +50,36 @@
<artifactId>pinyin4j</artifactId>
<version>${pinyin4j.version}</version>
</dependency>

<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>

<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>${commons-codec.version}</version>
</dependency>

<dependency>
<groupId>io.airlift</groupId>
<artifactId>json</artifactId>
<version>${dep.airlift.version}</version>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${dep.jackson.version}</version>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${dep.jackson.version}</version>
</dependency>
</dependencies>
</dependencyManagement>

Expand All @@ -63,6 +103,31 @@
<groupId>com.belerweb</groupId>
<artifactId>pinyin4j</artifactId>
</dependency>

<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>

<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</dependency>

<dependency>
<groupId>io.airlift</groupId>
<artifactId>json</artifactId>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
</dependencies>

<build>
Expand All @@ -89,6 +154,29 @@
</execution>
</executions>
</plugin>

<!-- Tweak the compiler to use more memory and use UTF-8 for the source code. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>${project.build.targetJdk}</source>
<target>${project.build.targetJdk}</target>
<encoding>${project.build.sourceEncoding}</encoding>
<showWarnings>true</showWarnings>
</configuration>
</plugin>

<!-- Resource plugins should always use UTF-8 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 026ec82

Please sign in to comment.