|
6 | 6 |
|
7 | 7 | <groupId>cc.shanruifeng</groupId> |
8 | 8 | <artifactId>hive-third-functions</artifactId> |
9 | | - <version>1.0-SNAPSHOT</version> |
| 9 | + <version>2.0.0</version> |
10 | 10 |
|
11 | 11 | <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 | + |
12 | 17 | <hive.version>0.11.0</hive.version> |
13 | 18 | <joda.time.version>2.7</joda.time.version> |
14 | 19 | <hadoop.version>2.2.0</hadoop.version> |
15 | 20 | <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> |
16 | 26 | </properties> |
17 | 27 |
|
18 | 28 | <dependencyManagement> |
|
40 | 50 | <artifactId>pinyin4j</artifactId> |
41 | 51 | <version>${pinyin4j.version}</version> |
42 | 52 | </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> |
43 | 83 | </dependencies> |
44 | 84 | </dependencyManagement> |
45 | 85 |
|
|
63 | 103 | <groupId>com.belerweb</groupId> |
64 | 104 | <artifactId>pinyin4j</artifactId> |
65 | 105 | </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> |
66 | 131 | </dependencies> |
67 | 132 |
|
68 | 133 | <build> |
|
89 | 154 | </execution> |
90 | 155 | </executions> |
91 | 156 | </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> |
92 | 180 | </plugins> |
93 | 181 | </build> |
94 | 182 |
|
|
0 commit comments