1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <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/xsd/maven-4.0.0.xsd" >
3+ <modelVersion >4.0.0</modelVersion >
4+
5+ <artifactId >singer-commons</artifactId >
6+ <packaging >jar</packaging >
7+ <description >Singer configuration and audit client library </description >
8+ <properties >
9+ <java .version>1.8</java .version>
10+ <junit .version>4.12</junit .version>
11+ <maven .compiler.source>${java.version} </maven .compiler.source>
12+ <maven .compiler.target>${java.version} </maven .compiler.target>
13+ <maven .version>3.3.9</maven .version>
14+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
15+ <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
16+ <slf4j .version>1.7.16</slf4j .version>
17+ <kafka .client.version>2.1.0</kafka .client.version>
18+ </properties >
19+
20+ <parent >
21+ <groupId >com.pinterest.singer</groupId >
22+ <artifactId >singer-package</artifactId >
23+ <version >0.8.0</version >
24+ <relativePath >../pom.xml</relativePath >
25+ </parent >
26+ <developers >
27+ <developer >
28+ <id >yuyang08</id >
29+ <name >Yu Yang</name >
30+ </developer >
31+ <developer >
32+ <id >ambud</id >
33+ <name >Ambud Sharma</name >
34+ </developer >
35+ <developer >
36+ <id >zzhhhzz</id >
37+ <name >Heng Zhang</name >
38+ </developer >
39+ </developers >
40+
41+ <scm >
42+ <connection >https://github.com/pinterest/singer.git</connection >
43+ <developerConnection >https://github.com/pinterest/singer.git</developerConnection >
44+ <url >https://github.com/pinterest/singer</url >
45+ </scm >
46+
47+ <dependencies >
48+ <dependency >
49+ <groupId >com.twitter</groupId >
50+ <artifactId >ostrich_2.11</artifactId >
51+ <version >9.27.0</version >
52+ </dependency >
53+ <dependency >
54+ <groupId >commons-configuration</groupId >
55+ <artifactId >commons-configuration</artifactId >
56+ <version >1.9</version >
57+ </dependency >
58+ <dependency >
59+ <groupId >org.apache.kafka</groupId >
60+ <artifactId >kafka_2.11</artifactId >
61+ <version >${kafka.client.version} </version >
62+ </dependency >
63+ <dependency >
64+ <groupId >org.apache.kafka</groupId >
65+ <artifactId >kafka-clients</artifactId >
66+ <version >${kafka.client.version} </version >
67+ <exclusions >
68+ <exclusion >
69+ <groupId >org.slf4j</groupId >
70+ <artifactId >slf4j-simple</artifactId >
71+ </exclusion >
72+ <exclusion >
73+ <groupId >org.slf4j</groupId >
74+ <artifactId >slf4j-jdk14</artifactId >
75+ </exclusion >
76+ </exclusions >
77+ </dependency >
78+ <dependency >
79+ <groupId >org.junit.jupiter</groupId >
80+ <artifactId >junit-jupiter-api</artifactId >
81+ <version >5.3.1</version >
82+ <scope >test</scope >
83+ </dependency >
84+ <dependency >
85+ <groupId >org.junit.jupiter</groupId >
86+ <artifactId >junit-jupiter-engine</artifactId >
87+ <version >5.3.1</version >
88+ <scope >test</scope >
89+ </dependency >
90+ <dependency >
91+ <groupId >org.apache.thrift</groupId >
92+ <artifactId >libthrift</artifactId >
93+ <version >0.12.0</version >
94+ </dependency >
95+ <dependency >
96+ <groupId >org.slf4j</groupId >
97+ <artifactId >slf4j-api</artifactId >
98+ <version >1.7.2</version >
99+ </dependency >
100+ <dependency >
101+ <groupId >commons-lang</groupId >
102+ <artifactId >commons-lang</artifactId >
103+ <version >2.6</version >
104+ </dependency >
105+ </dependencies >
106+ <build >
107+ <plugins >
108+ <!-- Thrift source generate plugin. -->
109+ <plugin >
110+ <groupId >com.twitter</groupId >
111+ <artifactId >scrooge-maven-plugin</artifactId >
112+ <!-- this version must match the version from scrooge-gen.ivy.xml -->
113+ <!-- scrooge has a bug where it ignores defaults when compiling bool, hence upgraded the version -->
114+ <version >4.18.0</version >
115+ <configuration >
116+ <language >java</language >
117+ <!-- default is scala, can also be java -->
118+ <thriftOpts >
119+ <!-- add other Scrooge command line options using thriftOpts -->
120+ <thriftOpt >--finagle</thriftOpt >
121+ </thriftOpts >
122+ </configuration >
123+ <dependencies >
124+ <dependency >
125+ <groupId >org.slf4j</groupId >
126+ <artifactId >slf4j-jdk14</artifactId >
127+ <version >1.7.25</version >
128+ </dependency >
129+ <dependency >
130+ <groupId >org.slf4j</groupId >
131+ <artifactId >slf4j-simple</artifactId >
132+ <version >1.7.25</version >
133+ </dependency >
134+ </dependencies >
135+ <executions >
136+ <execution >
137+ <id >thrift-sources</id >
138+ <goals >
139+ <goal >compile</goal >
140+ </goals >
141+ <phase >generate-sources</phase >
142+ </execution >
143+ <execution >
144+ <id >thrift-test-sources</id >
145+ <goals >
146+ <goal >testCompile</goal >
147+ </goals >
148+ <phase >generate-test-sources</phase >
149+ </execution >
150+ </executions >
151+ </plugin >
152+ <!-- This forces the dependencies to be copied to target/lib -->
153+ <plugin >
154+ <artifactId >maven-dependency-plugin</artifactId >
155+ <executions >
156+ <execution >
157+ <goals >
158+ <goal >copy-dependencies</goal >
159+ </goals >
160+ <phase >package</phase >
161+ <configuration >
162+ <outputDirectory >${project.build.directory} /lib</outputDirectory >
163+ </configuration >
164+ </execution >
165+ </executions >
166+ </plugin >
167+ <plugin >
168+ <groupId >org.codehaus.mojo</groupId >
169+ <artifactId >build-helper-maven-plugin</artifactId >
170+ <executions >
171+ <execution >
172+ <id >add-source</id >
173+ <goals >
174+ <goal >add-source</goal >
175+ </goals >
176+ <phase >generate-sources</phase >
177+ <configuration >
178+ <sources >
179+ <source >${project.build.directory} /generated-sources/thrift/scrooge/</source >
180+ </sources >
181+ </configuration >
182+ </execution >
183+ </executions >
184+ </plugin >
185+ <plugin >
186+ <groupId >org.apache.maven.plugins</groupId >
187+ <artifactId >maven-javadoc-plugin</artifactId >
188+ <version >2.9.1</version >
189+ <configuration >
190+ <additionalparam >-Xdoclint:none</additionalparam >
191+ </configuration >
192+ <executions >
193+ <execution >
194+ <id >attach-javadocs</id >
195+ <goals >
196+ <goal >jar</goal >
197+ </goals >
198+ </execution >
199+ </executions >
200+ </plugin >
201+ <plugin >
202+ <groupId >org.apache.maven.plugins</groupId >
203+ <artifactId >maven-source-plugin</artifactId >
204+ <executions >
205+ <execution >
206+ <id >attach-sources</id >
207+ <goals >
208+ <goal >jar</goal >
209+ </goals >
210+ </execution >
211+ </executions >
212+ </plugin >
213+ <plugin >
214+ <groupId >org.apache.maven.plugins</groupId >
215+ <artifactId >maven-surefire-plugin</artifactId >
216+ <configuration >
217+ <argLine >-Xmx4096m -XX:MaxPermSize=256m</argLine >
218+ </configuration >
219+ </plugin >
220+ </plugins >
221+ </build >
222+ <inceptionYear >2013</inceptionYear >
223+ </project >
0 commit comments