-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpom.xml
390 lines (385 loc) · 24.3 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>is.tagomor.woothee</groupId>
<artifactId>woothee-java</artifactId>
<version>1.11.0</version>
<name>woothee-java</name>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>https://github.com/woothee/woothee-java</url>
<connection>scm:git:[email protected]:woothee/woothee-java.git</connection>
<developerConnection>scm:git:[email protected]:woothee/woothee-java.git</developerConnection>
</scm>
<url>https://github.com/woothee/woothee-java</url>
<description>Woothee Java implementation and Hive UDF</description>
<developers>
<developer>
<id>tagomoris</id>
<name>TAGOMORI Satoshi</name>
<email>[email protected]</email>
<url>https://twitter.com/tagomoris</url>
</developer>
<developer>
<id>making</id>
<name>Toshiaki Maki</name>
<email>[email protected]</email>
<url>https://twitter.com/making</url>
</developer>
</developers>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<dependencies>
<dependency>
<groupId>org.jyaml</groupId>
<artifactId>jyaml</artifactId>
<version>1.3</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<phase>generate-sources</phase>
<configuration>
<target>
<property name="maven_compile_classpath" refid="maven.compile.classpath"/>
<property name="maven_test_classpath" refid="maven.test.classpath"/>
<exec executable="date" outputproperty="woothee.codegen.timestamp">
<env key="LC_ALL" value="C"/>
</exec>
<exec executable="whoami" outputproperty="woothee.codegen.username">
<env key="LC_ALL" value="C"/>
</exec>
<exec executable="git">
<arg value="submodule"/>
<arg value="update"/>
<arg value="--init"/>
</exec>
<mkdir dir="${project.build.outputDirectory}"/>
<javac srcdir="${project.build.sourceDirectory}"
destdir="${project.build.outputDirectory}"
debug="on" optimize="off" deprecation="off"
fork="yes"
includeantruntime="false"
encoding="UTF-8">
<include name="**/is/tagomor/woothee/DataSetGenerator.java"/>
<classpath>
<pathelement path="${maven_compile_classpath}"/>
</classpath>
</javac>
<java classname="is.tagomor.woothee.DataSetGenerator">
<arg value="${woothee.codegen.timestamp}"/>
<arg value="${woothee.codegen.username}"/>
<classpath>
<pathelement path="${maven_compile_classpath}"/>
<pathelement location="${project.build.outputDirectory}"/>
</classpath>
</java>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.3</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>2.6</version>
<configuration>
<filesets>
<fileset>
<directory>${basedir}</directory>
<includes>
<include>src/main/java/is/tagomor/woothee/DataSet.java</include>
</includes>
</fileset>
<fileset>
<directory>${basedir}/woothee</directory>
<includes>
<include>**/*</include>
</includes>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<excludes>
<exclude>**/hive/**/*.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<excludes>
<exclude>**/hive/**/*.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>hiveudf</id>
<properties>
<hive-version>3.1.1</hive-version>
<hadoop-version>3.2.0</hadoop-version>
</properties>
<build>
<finalName>woothee</finalName>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.hive</groupId>
<artifactId>hive-exec</artifactId>
<version>${hive-version}</version>
<exclusions>
<exclusion><groupId>com.fasterxml.jackson.core</groupId><artifactId>jackson-annotations</artifactId></exclusion>
<exclusion><groupId>com.fasterxml.jackson.core</groupId><artifactId>jackson-core</artifactId></exclusion>
<exclusion><groupId>com.fasterxml.jackson.core</groupId><artifactId>jackson-databind</artifactId></exclusion>
<exclusion><groupId>com.google.code.gson</groupId><artifactId>gson</artifactId></exclusion>
<exclusion><groupId>commons-codec</groupId><artifactId>commons-codec</artifactId></exclusion>
<exclusion><groupId>commons-io</groupId><artifactId>commons-io</artifactId></exclusion>
<exclusion><groupId>org.antlr</groupId><artifactId>antlr-runtime</artifactId></exclusion>
<exclusion><groupId>org.antlr</groupId><artifactId>ST4</artifactId></exclusion>
<exclusion><groupId>org.apache.ant</groupId><artifactId>ant</artifactId></exclusion>
<exclusion><groupId>org.apache.calcite</groupId><artifactId>calcite-core</artifactId></exclusion>
<exclusion><groupId>org.apache.calcite</groupId><artifactId>calcite-druid</artifactId></exclusion>
<exclusion><groupId>org.apache.calcite.avatica</groupId><artifactId>avatica</artifactId></exclusion>
<exclusion><groupId>org.apache.commons</groupId><artifactId>commons-compress</artifactId></exclusion>
<exclusion><groupId>org.apache.curator</groupId><artifactId>curator-framework</artifactId></exclusion>
<exclusion><groupId>org.apache.curator</groupId><artifactId>apache-curator</artifactId></exclusion>
<exclusion><groupId>org.apache.hadoop</groupId><artifactId>hadoop-common</artifactId></exclusion>
<exclusion><groupId>org.apache.hadoop</groupId><artifactId>hadoop-archives</artifactId></exclusion>
<exclusion><groupId>org.apache.hadoop</groupId><artifactId>hadoop-yarn-registry</artifactId></exclusion>
<exclusion><groupId>org.apache.hadoop</groupId><artifactId>hadoop-mapreduce-client-core</artifactId></exclusion>
<exclusion><groupId>org.apache.hadoop</groupId><artifactId>hadoop-hdfs</artifactId></exclusion>
<exclusion><groupId>org.apache.hadoop</groupId><artifactId>hadoop-yarn-api</artifactId></exclusion>
<exclusion><groupId>org.apache.hadoop</groupId><artifactId>hadoop-yarn-common</artifactId></exclusion>
<exclusion><groupId>org.apache.hadoop</groupId><artifactId>hadoop-yarn-client</artifactId></exclusion>
<exclusion><groupId>org.apache.hive</groupId><artifactId>hive-vector-code-gen</artifactId></exclusion>
<exclusion><groupId>org.apache.hive</groupId><artifactId>hive-llap-tez</artifactId></exclusion>
<exclusion><groupId>org.apache.hive</groupId><artifactId>hive-shims</artifactId></exclusion>
<exclusion><groupId>org.apache.hive</groupId><artifactId>hive-upgrade-acid</artifactId></exclusion>
<exclusion><groupId>org.apache.ivy</groupId><artifactId>ivy</artifactId></exclusion>
<exclusion><groupId>org.apache.logging.log4j</groupId><artifactId>log4j-1.2-api</artifactId></exclusion>
<exclusion><groupId>org.apache.logging.log4j</groupId><artifactId>log4j-slf4j-impl</artifactId></exclusion>
<exclusion><groupId>org.apache.spark</groupId><artifactId>spark-core_2.11</artifactId></exclusion>
<exclusion><groupId>org.apache.tez</groupId><artifactId>tez-api</artifactId></exclusion>
<exclusion><groupId>org.apache.tez</groupId><artifactId>tez-runtime-library</artifactId></exclusion>
<exclusion><groupId>org.apache.tez</groupId><artifactId>tez-runtime-internals</artifactId></exclusion>
<exclusion><groupId>org.apache.tez</groupId><artifactId>tez-mapreduce</artifactId></exclusion>
<exclusion><groupId>org.apache.thrift</groupId><artifactId>libfb303</artifactId></exclusion>
<exclusion><groupId>org.apache.zookeeper</groupId><artifactId>zookeeper</artifactId></exclusion>
<exclusion><groupId>org.codehaus.groovy</groupId><artifactId>groovy-all</artifactId></exclusion>
<exclusion><groupId>org.datanucleus</groupId><artifactId>datanucleus-core</artifactId></exclusion>
<exclusion><groupId>org.slf4j</groupId><artifactId>slf4j-api</artifactId></exclusion>
<exclusion><groupId>stax</groupId><artifactId>stax-api</artifactId></exclusion>
<exclusion><groupId>com.lmax</groupId><artifactId>disruptor</artifactId></exclusion>
<exclusion><groupId>com.sun.jersey</groupId><artifactId>jersey-servlet</artifactId></exclusion>
<exclusion><groupId>org.apache.curator</groupId><artifactId>curator-test</artifactId></exclusion>
<exclusion><groupId>org.apache.hadoop</groupId><artifactId>hadoop-mapreduce-client-common</artifactId></exclusion>
<exclusion><groupId>org.apache.hive</groupId><artifactId>hive-common</artifactId></exclusion>
<exclusion><groupId>org.apache.hive</groupId><artifactId>hive-standalone-metastore</artifactId></exclusion>
<exclusion><groupId>org.apache.parquet</groupId><artifactId>parquet-column</artifactId></exclusion>
<exclusion><groupId>org.apache.tez</groupId><artifactId>tez-dag</artifactId></exclusion>
<exclusion><groupId>org.glassfish.jersey.containers</groupId><artifactId>jersey-container-servlet-core</artifactId></exclusion>
<exclusion><groupId>org.glassfish.jersey.core</groupId><artifactId>jersey-server</artifactId></exclusion>
<exclusion><groupId>org.hamcrest</groupId><artifactId>hamcrest-all</artifactId></exclusion>
<exclusion><groupId>org.mockito</groupId><artifactId>mockito-all</artifactId></exclusion>
<exclusion><groupId>org.powermock</groupId><artifactId>powermock-module-junit4</artifactId></exclusion>
<exclusion><groupId>org.powermock</groupId><artifactId>powermock-api-mockito</artifactId></exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
<version>${hadoop-version}</version>
<exclusions>
<exclusion><groupId>com.fasterxml.jackson.core</groupId><artifactId>jackson-databind</artifactId></exclusion>
<exclusion><groupId>com.fasterxml.woodstox</groupId><artifactId>woodstox-core</artifactId></exclusion>
<exclusion><groupId>com.google.code.findbugs</groupId><artifactId>jsr305</artifactId></exclusion>
<exclusion><groupId>com.google.code.gson</groupId><artifactId>gson</artifactId></exclusion>
<exclusion><groupId>com.google.guava</groupId><artifactId>guava</artifactId></exclusion>
<exclusion><groupId>com.google.protobuf</groupId><artifactId>protobuf-java</artifactId></exclusion>
<exclusion><groupId>com.google.re2j</groupId><artifactId>re2j</artifactId></exclusion>
<exclusion><groupId>com.jcraft</groupId><artifactId>jsch</artifactId></exclusion>
<exclusion><groupId>com.sun.jersey</groupId><artifactId>jersey-core</artifactId></exclusion>
<exclusion><groupId>com.sun.jersey</groupId><artifactId>jersey-servlet</artifactId></exclusion>
<exclusion><groupId>com.sun.jersey</groupId><artifactId>jersey-json</artifactId></exclusion>
<exclusion><groupId>com.sun.jersey</groupId><artifactId>jersey-server</artifactId></exclusion>
<exclusion><groupId>commons-beanutils</groupId><artifactId>commons-beanutils</artifactId></exclusion>
<exclusion><groupId>commons-cli</groupId><artifactId>commons-cli</artifactId></exclusion>
<exclusion><groupId>commons-codec</groupId><artifactId>commons-codec</artifactId></exclusion>
<exclusion><groupId>commons-collections</groupId><artifactId>commons-collections</artifactId></exclusion>
<exclusion><groupId>commons-io</groupId><artifactId>commons-io</artifactId></exclusion>
<exclusion><groupId>commons-logging</groupId><artifactId>commons-logging</artifactId></exclusion>
<exclusion><groupId>commons-net</groupId><artifactId>commons-net</artifactId></exclusion>
<exclusion><groupId>dnsjava</groupId><artifactId>dnsjava</artifactId></exclusion>
<exclusion><groupId>javax.servlet</groupId><artifactId>javax.servlet-api</artifactId></exclusion>
<exclusion><groupId>log4j</groupId><artifactId>log4j</artifactId></exclusion>
<exclusion><groupId>org.apache.avro</groupId><artifactId>avro</artifactId></exclusion>
<exclusion><groupId>org.apache.commons</groupId><artifactId>commons-math3</artifactId></exclusion>
<exclusion><groupId>org.apache.commons</groupId><artifactId>commons-configuration2</artifactId></exclusion>
<exclusion><groupId>org.apache.commons</groupId><artifactId>commons-lang3</artifactId></exclusion>
<exclusion><groupId>org.apache.commons</groupId><artifactId>commons-text</artifactId></exclusion>
<exclusion><groupId>org.apache.commons</groupId><artifactId>commons-compress</artifactId></exclusion>
<exclusion><groupId>org.apache.curator</groupId><artifactId>curator-client</artifactId></exclusion>
<exclusion><groupId>org.apache.curator</groupId><artifactId>curator-recipes</artifactId></exclusion>
<exclusion><groupId>org.apache.hadoop</groupId><artifactId>hadoop-annotations</artifactId></exclusion>
<exclusion><groupId>org.apache.hadoop</groupId><artifactId>hadoop-auth</artifactId></exclusion>
<exclusion><groupId>org.apache.htrace</groupId><artifactId>htrace-core4</artifactId></exclusion>
<exclusion><groupId>org.apache.httpcomponents</groupId><artifactId>httpclient</artifactId></exclusion>
<exclusion><groupId>org.apache.kerby</groupId><artifactId>kerb-simplekdc</artifactId></exclusion>
<exclusion><groupId>org.apache.zookeeper</groupId><artifactId>zookeeper</artifactId></exclusion>
<exclusion><groupId>org.codehaus.woodstox</groupId><artifactId>stax2-api</artifactId></exclusion>
<exclusion><groupId>org.eclipse.jetty</groupId><artifactId>jetty-server</artifactId></exclusion>
<exclusion><groupId>org.eclipse.jetty</groupId><artifactId>jetty-util</artifactId></exclusion>
<exclusion><groupId>org.eclipse.jetty</groupId><artifactId>jetty-servlet</artifactId></exclusion>
<exclusion><groupId>org.eclipse.jetty</groupId><artifactId>jetty-webapp</artifactId></exclusion>
<exclusion><groupId>org.slf4j</groupId><artifactId>slf4j-api</artifactId></exclusion>
<exclusion><groupId>org.slf4j</groupId><artifactId>slf4j-log4j12</artifactId></exclusion>
<exclusion><groupId>javax.servlet.jsp</groupId><artifactId>jsp-api</artifactId></exclusion>
<exclusion><groupId>com.squareup.okhttp3</groupId><artifactId>mockwebserver</artifactId></exclusion>
<exclusion><groupId>junit</groupId><artifactId>junit</artifactId></exclusion>
<exclusion><groupId>org.apache.ant</groupId><artifactId>ant</artifactId></exclusion>
<exclusion><groupId>org.apache.curator</groupId><artifactId>curator-test</artifactId></exclusion>
<exclusion><groupId>org.apache.hadoop</groupId><artifactId>hadoop-auth</artifactId></exclusion>
<exclusion><groupId>org.apache.hadoop</groupId><artifactId>hadoop-minikdc</artifactId></exclusion>
<exclusion><groupId>org.apache.sshd</groupId><artifactId>sshd-core</artifactId></exclusion>
<exclusion><groupId>org.apache.zookeeper</groupId><artifactId>zookeeper</artifactId></exclusion>
<exclusion><groupId>org.bouncycastle</groupId><artifactId>bcprov-jdk16</artifactId></exclusion>
<exclusion><groupId>org.eclipse.jetty</groupId><artifactId>jetty-util-ajax</artifactId></exclusion>
<exclusion><groupId>org.mockito</groupId><artifactId>mockito-all</artifactId></exclusion>
</exclusions>
</dependency>
</dependencies>
</profile>
</profiles>
</project>