forked from addthis/hydra
-
Notifications
You must be signed in to change notification settings - Fork 3
/
pom.xml
273 lines (258 loc) · 10.4 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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<!--
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<description>log file processing library</description>
<parent>
<artifactId>jar-pom</artifactId>
<groupId>com.addthis.common.build.maven.pom</groupId>
<version>3.1.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.addthis.hydra</groupId>
<artifactId>hydra-parent</artifactId>
<name>hydra</name>
<version>4.2.9-SNAPSHOT</version>
<packaging>pom</packaging>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<modules>
<module>hydra-avro</module>
<module>hydra-data</module>
<module>hydra-essentials</module>
<module>hydra-filters</module>
<module>hydra-main-api</module>
<module>hydra-main</module>
<module>hydra-mq</module>
<module>hydra-store</module>
<module>hydra-task</module>
<module>hydra-uber</module>
</modules>
<properties>
<!-- surefire junit properties -->
<hydra.test.excluded.groups>com.addthis.basis.test.SlowTest,com.addthis.hydra.common.test.LocalStackTest</hydra.test.excluded.groups>
<!-- These should be set to the default values specified in the surefire plugin.
They can be assigned new values by a submodule that needs non-default values. -->
<hydra.test.useSystemClassLoader>true</hydra.test.useSystemClassLoader>
<hydra.test.useManifestOnlyJar>false</hydra.test.useManifestOnlyJar>
<!-- enforcer plugin must be explicitly enabled with -Denforcer.skip=false -->
<enforcer.skip>true</enforcer.skip>
<!-- hydra addthis projects dependency versions -->
<hydra.dep.bark.version>2.1.3</hydra.dep.bark.version>
<hydra.dep.basis.version>2.2.2</hydra.dep.basis.version>
<hydra.dep.bundle.version>2.2.7</hydra.dep.bundle.version>
<hydra.dep.codec.version>2.0.8</hydra.dep.codec.version>
<hydra.dep.meshy.version>2.1.5</hydra.dep.meshy.version>
<hydra.dep.muxy.version>2.0.10</hydra.dep.muxy.version>
<hydra.dep.maljson.version>0.2.0</hydra.dep.maljson.version>
<hydra.dep.streamlib.version>2.6.0-rc0</hydra.dep.streamlib.version>
<!-- hydra addthis external dependency versions -->
<hydra.dep.apache.commons.lang3.version>3.1</hydra.dep.apache.commons.lang3.version>
<hydra.dep.jackson.jackson-mapper-asl.version>1.9.13</hydra.dep.jackson.jackson-mapper-asl.version>
<hydra.dep.commons-codec.version>1.8</hydra.dep.commons-codec.version>
<hydra.dep.spring.version>4.0.0.RELEASE</hydra.dep.spring.version>
<hydra.dep.jersey.version>1.18</hydra.dep.jersey.version>
<!-- hydra compression dependency versions -->
<hydra.dep.compress.compress-lzf.version>0.9.8</hydra.dep.compress.compress-lzf.version>
<hydra.dep.compress.jzlib.version>1.1.3</hydra.dep.compress.jzlib.version>
<hydra.dep.compress.snappy-java.version>1.0.4.1</hydra.dep.compress.snappy-java.version>
<hydra.dep.compress.lzma-java.version>1.2</hydra.dep.compress.lzma-java.version>
<hydra.dep.compress.apache.commons-compress.version>1.6</hydra.dep.compress.apache.commons-compress.version>
<hydra.dep.sleepycat.je.version>5.0.73</hydra.dep.sleepycat.je.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.3.1</version>
<configuration>
<rules>
<DependencyConvergence />
</rules>
<fail>true</fail>
<skip>${enforcer.skip}</skip>
</configuration>
</plugin>
</plugins>
</build>
<!--
There is some duplication in the following profiles.
This is a solution to the problem of specifying the <groups> configuration
option in the "localstack" profile and eliminating the <groups> configuration
option in the other profiles. A more terse solution would be preferable.
-->
<profiles>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${dep.plugin.surefire.version}</version>
<configuration>
<!-- The surefire plugin used exclude all tests that
were marked with any category. This behavior appears
to have stopped. -->
<excludedGroups>${hydra.test.excluded.groups}</excludedGroups>
<useSystemClassLoader>${hydra.test.useSystemClassLoader}</useSystemClassLoader>
<useManifestOnlyJar>${hydra.test.useManifestOnlyJar}</useManifestOnlyJar>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>all-tests</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${dep.plugin.surefire.version}</version>
<configuration>
<!-- exclude local stack tests. These require special setup. -->
<excludedGroups>com.addthis.hydra.common.test.LocalStackTest</excludedGroups>
<useSystemClassLoader>${hydra.test.useSystemClassLoader}</useSystemClassLoader>
<useManifestOnlyJar>${hydra.test.useManifestOnlyJar}</useManifestOnlyJar>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>localstack</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${dep.plugin.surefire.version}</version>
<configuration>
<!-- only include local stack tests. These require special setup. -->
<groups>com.addthis.hydra.common.test.LocalStackTest</groups>
<useSystemClassLoader>${hydra.test.useSystemClassLoader}</useSystemClassLoader>
<useManifestOnlyJar>${hydra.test.useManifestOnlyJar}</useManifestOnlyJar>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${dep.guava.version}</version>
</dependency>
<dependency>
<groupId>com.googlecode.concurrentlinkedhashmap</groupId>
<artifactId>concurrentlinkedhashmap-lru</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
<version>${hydra.dep.jackson.jackson-mapper-asl.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${dep.slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
<version>${dep.slf4j.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.yammer.metrics</groupId>
<artifactId>metrics-core</artifactId>
<version>${dep.metrics.version}</version>
<exclusions>
<!-- metrics core uses an older version of slf4j-api -->
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>2.0.2</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.1</version>
</dependency>
<dependency>
<groupId>org.eclipse.jgit</groupId>
<artifactId>org.eclipse.jgit</artifactId>
<version>3.0.0.201306101825-r</version>
</dependency>
<!-- addthis oss -->
<dependency>
<groupId>com.addthis</groupId>
<artifactId>basis</artifactId>
<version>${hydra.dep.basis.version}</version>
<exclusions>
<!-- org.apache.httpcomponents:httpclient 4.3.1 uses an older version of commons-codec -->
<exclusion>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- test deps -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${dep.slf4j.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.9.1</version>
<configuration>
<configLocation>${dep.plugin.checkstyle.configLocation}</configLocation>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<consoleOutput>false</consoleOutput>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.10</version>
</plugin>
</plugins>
</reporting>
<scm>
<connection>scm:git:git@github.com:addthis/hydra.git</connection>
<developerConnection>scm:git:git@github.com:addthis/hydra.git</developerConnection>
<url>https://github.com/addthis/hydra</url>
<tag>v4.2.2</tag>
</scm>
</project>