Skip to content

Commit 026ec82

Browse files
committed
revise pom, add dependency jar
1 parent a79b591 commit 026ec82

File tree

1 file changed

+89
-1
lines changed

1 file changed

+89
-1
lines changed

pom.xml

Lines changed: 89 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,23 @@
66

77
<groupId>cc.shanruifeng</groupId>
88
<artifactId>hive-third-functions</artifactId>
9-
<version>1.0-SNAPSHOT</version>
9+
<version>2.0.0</version>
1010

1111
<properties>
12+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13+
<project.build.targetJdk>1.6</project.build.targetJdk>
14+
<project.report.outputEncoding>UTF-8</project.report.outputEncoding>
15+
<project.report.inputEncoding>UTF-8</project.report.inputEncoding>
16+
1217
<hive.version>0.11.0</hive.version>
1318
<joda.time.version>2.7</joda.time.version>
1419
<hadoop.version>2.2.0</hadoop.version>
1520
<pinyin4j.version>2.5.0</pinyin4j.version>
21+
<guava.version>18.0</guava.version>
22+
<commons-codec.version>1.10</commons-codec.version>
23+
<dep.airlift.version>0.131</dep.airlift.version>
24+
<dep.jackson.version>2.4.4</dep.jackson.version>
25+
<dep.jmh.version>1.9.3</dep.jmh.version>
1626
</properties>
1727

1828
<dependencyManagement>
@@ -40,6 +50,36 @@
4050
<artifactId>pinyin4j</artifactId>
4151
<version>${pinyin4j.version}</version>
4252
</dependency>
53+
54+
<dependency>
55+
<groupId>com.google.guava</groupId>
56+
<artifactId>guava</artifactId>
57+
<version>${guava.version}</version>
58+
</dependency>
59+
60+
<dependency>
61+
<groupId>commons-codec</groupId>
62+
<artifactId>commons-codec</artifactId>
63+
<version>${commons-codec.version}</version>
64+
</dependency>
65+
66+
<dependency>
67+
<groupId>io.airlift</groupId>
68+
<artifactId>json</artifactId>
69+
<version>${dep.airlift.version}</version>
70+
</dependency>
71+
72+
<dependency>
73+
<groupId>com.fasterxml.jackson.core</groupId>
74+
<artifactId>jackson-core</artifactId>
75+
<version>${dep.jackson.version}</version>
76+
</dependency>
77+
78+
<dependency>
79+
<groupId>com.fasterxml.jackson.core</groupId>
80+
<artifactId>jackson-databind</artifactId>
81+
<version>${dep.jackson.version}</version>
82+
</dependency>
4383
</dependencies>
4484
</dependencyManagement>
4585

@@ -63,6 +103,31 @@
63103
<groupId>com.belerweb</groupId>
64104
<artifactId>pinyin4j</artifactId>
65105
</dependency>
106+
107+
<dependency>
108+
<groupId>com.google.guava</groupId>
109+
<artifactId>guava</artifactId>
110+
</dependency>
111+
112+
<dependency>
113+
<groupId>commons-codec</groupId>
114+
<artifactId>commons-codec</artifactId>
115+
</dependency>
116+
117+
<dependency>
118+
<groupId>io.airlift</groupId>
119+
<artifactId>json</artifactId>
120+
</dependency>
121+
122+
<dependency>
123+
<groupId>com.fasterxml.jackson.core</groupId>
124+
<artifactId>jackson-core</artifactId>
125+
</dependency>
126+
127+
<dependency>
128+
<groupId>com.fasterxml.jackson.core</groupId>
129+
<artifactId>jackson-databind</artifactId>
130+
</dependency>
66131
</dependencies>
67132

68133
<build>
@@ -89,6 +154,29 @@
89154
</execution>
90155
</executions>
91156
</plugin>
157+
158+
<!-- Tweak the compiler to use more memory and use UTF-8 for the source code. -->
159+
<plugin>
160+
<groupId>org.apache.maven.plugins</groupId>
161+
<artifactId>maven-compiler-plugin</artifactId>
162+
<version>3.1</version>
163+
<configuration>
164+
<source>${project.build.targetJdk}</source>
165+
<target>${project.build.targetJdk}</target>
166+
<encoding>${project.build.sourceEncoding}</encoding>
167+
<showWarnings>true</showWarnings>
168+
</configuration>
169+
</plugin>
170+
171+
<!-- Resource plugins should always use UTF-8 -->
172+
<plugin>
173+
<groupId>org.apache.maven.plugins</groupId>
174+
<artifactId>maven-resources-plugin</artifactId>
175+
<version>2.6</version>
176+
<configuration>
177+
<encoding>${project.build.sourceEncoding}</encoding>
178+
</configuration>
179+
</plugin>
92180
</plugins>
93181
</build>
94182

0 commit comments

Comments
 (0)