pom.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453
  1. <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">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>com.alibaba.otter</groupId>
  4. <artifactId>canal</artifactId>
  5. <packaging>pom</packaging>
  6. <name>canal module for otter ${project.version}</name>
  7. <version>1.1.4-SNAPSHOT</version>
  8. <url>https://github.com/alibaba/canal</url>
  9. <parent>
  10. <groupId>org.sonatype.oss</groupId>
  11. <artifactId>oss-parent</artifactId>
  12. <version>7</version>
  13. </parent>
  14. <developers>
  15. <developer>
  16. <name>agapple</name>
  17. <url>http://agapple.iteye.com</url>
  18. <email>jianghang115@gmail.com</email>
  19. <timezone>8</timezone>
  20. </developer>
  21. <developer>
  22. <name>zavakid</name>
  23. <url>http://www.zavakid.com</url>
  24. <email>zava.kid@gmail.com</email>
  25. <timezone>8</timezone>
  26. </developer>
  27. <developer>
  28. <name>in355hz</name>
  29. <url>http://in355hz.iteye.com</url>
  30. <email>in355hz@gmail.com</email>
  31. <timezone>8</timezone>
  32. </developer>
  33. </developers>
  34. <licenses>
  35. <license>
  36. <name>Apache License, Version 2.0</name>
  37. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  38. </license>
  39. </licenses>
  40. <scm>
  41. <url>git@github.com:alibaba/canal.git</url>
  42. <connection>scm:git:git@github.com:alibaba/canal.git</connection>
  43. <developerConnection>scm:git:git@github.com:alibaba/canal.git</developerConnection>
  44. </scm>
  45. <repositories>
  46. <repository>
  47. <id>central</id>
  48. <url>http://repo1.maven.org/maven2</url>
  49. <releases>
  50. <enabled>true</enabled>
  51. </releases>
  52. <snapshots>
  53. <enabled>false</enabled>
  54. </snapshots>
  55. </repository>
  56. <repository>
  57. <id>java.net</id>
  58. <url>http://download.java.net/maven/2/</url>
  59. <releases>
  60. <enabled>true</enabled>
  61. </releases>
  62. <snapshots>
  63. <enabled>false</enabled>
  64. </snapshots>
  65. </repository>
  66. <repository>
  67. <id>sonatype</id>
  68. <name>sonatype</name>
  69. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  70. <releases>
  71. <enabled>false</enabled>
  72. </releases>
  73. <snapshots>
  74. <enabled>true</enabled>
  75. </snapshots>
  76. </repository>
  77. <repository>
  78. <id>sonatype-release</id>
  79. <name>sonatype-release</name>
  80. <url>https://oss.sonatype.org/service/local/repositories/releases/content</url>
  81. <releases>
  82. <enabled>false</enabled>
  83. </releases>
  84. <snapshots>
  85. <enabled>true</enabled>
  86. </snapshots>
  87. </repository>
  88. </repositories>
  89. <properties>
  90. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  91. <!--maven properties-->
  92. <maven.test.skip>true</maven.test.skip>
  93. <downloadSources>true</downloadSources>
  94. <!-- compiler settings properties -->
  95. <java_source_version>1.8</java_source_version>
  96. <java_target_version>1.8</java_target_version>
  97. <file_encoding>UTF-8</file_encoding>
  98. <spring_version>3.2.18.RELEASE</spring_version>
  99. <maven-jacoco-plugin.version>0.8.3</maven-jacoco-plugin.version>
  100. <maven-surefire.version>2.22.1</maven-surefire.version>
  101. <argline>-server -Xms256m -Xmx512m -Dfile.encoding=UTF-8
  102. -Djava.net.preferIPv4Stack=true -XX:MetaspaceSize=64m -XX:MaxMetaspaceSize=128m
  103. </argline>
  104. </properties>
  105. <modules>
  106. <module>common</module>
  107. <module>meta</module>
  108. <module>dbsync</module>
  109. <module>filter</module>
  110. <module>driver</module>
  111. <module>parse</module>
  112. <module>sink</module>
  113. <module>store</module>
  114. <module>protocol</module>
  115. <module>instance</module>
  116. <module>server</module>
  117. <module>client</module>
  118. <module>deployer</module>
  119. <module>example</module>
  120. <module>prometheus</module>
  121. <module>client-adapter</module>
  122. </modules>
  123. <dependencyManagement>
  124. <dependencies>
  125. <dependency>
  126. <groupId>org.springframework</groupId>
  127. <artifactId>spring-core</artifactId>
  128. <version>${spring_version}</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.springframework</groupId>
  132. <artifactId>spring-aop</artifactId>
  133. <version>${spring_version}</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.springframework</groupId>
  137. <artifactId>spring-context</artifactId>
  138. <version>${spring_version}</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.springframework</groupId>
  142. <artifactId>spring-jdbc</artifactId>
  143. <version>${spring_version}</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.springframework</groupId>
  147. <artifactId>spring-orm</artifactId>
  148. <version>${spring_version}</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.springframework</groupId>
  152. <artifactId>spring-test</artifactId>
  153. <version>${spring_version}</version>
  154. <scope>test</scope>
  155. </dependency>
  156. <!-- external -->
  157. <dependency>
  158. <groupId>commons-lang</groupId>
  159. <artifactId>commons-lang</artifactId>
  160. <version>2.6</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>commons-io</groupId>
  164. <artifactId>commons-io</artifactId>
  165. <version>2.4</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>commons-codec</groupId>
  169. <artifactId>commons-codec</artifactId>
  170. <version>1.9</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>org.apache.commons</groupId>
  174. <artifactId>commons-compress</artifactId>
  175. <version>1.9</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>org.apache.httpcomponents</groupId>
  179. <artifactId>httpclient</artifactId>
  180. <version>4.5.1</version>
  181. </dependency>
  182. <dependency>
  183. <groupId>org.apache.zookeeper</groupId>
  184. <artifactId>zookeeper</artifactId>
  185. <version>3.4.5</version>
  186. <exclusions>
  187. <exclusion>
  188. <groupId>log4j</groupId>
  189. <artifactId>log4j</artifactId>
  190. </exclusion>
  191. <exclusion>
  192. <groupId>org.slf4j</groupId>
  193. <artifactId>slf4j-log4j12</artifactId>
  194. </exclusion>
  195. <exclusion>
  196. <groupId>org.slf4j</groupId>
  197. <artifactId>slf4j-api</artifactId>
  198. </exclusion>
  199. <exclusion>
  200. <groupId>jline</groupId>
  201. <artifactId>jline</artifactId>
  202. </exclusion>
  203. </exclusions>
  204. </dependency>
  205. <dependency>
  206. <groupId>com.101tec</groupId>
  207. <artifactId>zkclient</artifactId>
  208. <version>0.10</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>com.alibaba</groupId>
  212. <artifactId>fastjson</artifactId>
  213. <version>1.2.28</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>com.google.guava</groupId>
  217. <artifactId>guava</artifactId>
  218. <version>18.0</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>com.googlecode.aviator</groupId>
  222. <artifactId>aviator</artifactId>
  223. <version>2.2.1</version>
  224. </dependency>
  225. <dependency>
  226. <groupId>oro</groupId>
  227. <artifactId>oro</artifactId>
  228. <version>2.0.8</version>
  229. </dependency>
  230. <dependency>
  231. <groupId>io.netty</groupId>
  232. <artifactId>netty-all</artifactId>
  233. <version>4.1.6.Final</version>
  234. </dependency>
  235. <dependency>
  236. <groupId>com.google.protobuf</groupId>
  237. <artifactId>protobuf-java</artifactId>
  238. <version>3.6.1</version>
  239. </dependency>
  240. <dependency>
  241. <groupId>org.apache.ibatis</groupId>
  242. <artifactId>ibatis-sqlmap</artifactId>
  243. <version>2.3.4.726</version>
  244. </dependency>
  245. <dependency>
  246. <groupId>com.alibaba.fastsql</groupId>
  247. <artifactId>fastsql</artifactId>
  248. <version>2.0.0_preview_855</version>
  249. </dependency>
  250. <dependency>
  251. <groupId>com.alibaba</groupId>
  252. <artifactId>druid</artifactId>
  253. <version>1.1.9</version>
  254. </dependency>
  255. <dependency>
  256. <groupId>com.lmax</groupId>
  257. <artifactId>disruptor</artifactId>
  258. <version>3.4.2</version>
  259. </dependency>
  260. <!-- log -->
  261. <dependency>
  262. <groupId>ch.qos.logback</groupId>
  263. <artifactId>logback-core</artifactId>
  264. <version>1.1.3</version>
  265. </dependency>
  266. <dependency>
  267. <groupId>ch.qos.logback</groupId>
  268. <artifactId>logback-classic</artifactId>
  269. <version>1.1.3</version>
  270. </dependency>
  271. <dependency>
  272. <groupId>org.slf4j</groupId>
  273. <artifactId>jcl-over-slf4j</artifactId>
  274. <version>1.7.12</version>
  275. </dependency>
  276. <dependency>
  277. <groupId>org.slf4j</groupId>
  278. <artifactId>slf4j-api</artifactId>
  279. <version>1.7.12</version>
  280. </dependency>
  281. <dependency>
  282. <groupId>com.h2database</groupId>
  283. <artifactId>h2</artifactId>
  284. <version>1.4.196</version>
  285. </dependency>
  286. <!-- test dependency -->
  287. <dependency>
  288. <groupId>junit</groupId>
  289. <artifactId>junit</artifactId>
  290. <version>4.12</version>
  291. <scope>test</scope>
  292. </dependency>
  293. <dependency>
  294. <groupId>mysql</groupId>
  295. <artifactId>mysql-connector-java</artifactId>
  296. <version>5.1.47</version>
  297. <!--<scope>test</scope>-->
  298. </dependency>
  299. <dependency>
  300. <groupId>com.google.code.findbugs</groupId>
  301. <artifactId>jsr305</artifactId>
  302. <version>3.0.2</version>
  303. </dependency>
  304. <dependency>
  305. <groupId>com.aliyun.openservices</groupId>
  306. <artifactId>aliware-apache-rocketmq-cloud</artifactId>
  307. <version>1.0</version>
  308. </dependency>
  309. <dependency>
  310. <groupId>org.apache.rocketmq</groupId>
  311. <artifactId>rocketmq-client</artifactId>
  312. <version>4.3.0</version>
  313. </dependency>
  314. </dependencies>
  315. </dependencyManagement>
  316. <build>
  317. <extensions>
  318. <extension>
  319. <groupId>org.jvnet.wagon-svn</groupId>
  320. <artifactId>wagon-svn</artifactId>
  321. <version>1.9</version>
  322. </extension>
  323. <extension>
  324. <groupId>org.apache.maven.wagon</groupId>
  325. <artifactId>wagon-http-shared</artifactId>
  326. <version>1.0-beta-7</version>
  327. </extension>
  328. </extensions>
  329. <plugins>
  330. <plugin>
  331. <groupId>org.apache.maven.plugins</groupId>
  332. <artifactId>maven-source-plugin</artifactId>
  333. <version>2.4</version>
  334. <executions>
  335. <execution>
  336. <id>attach-sources</id>
  337. <goals>
  338. <goal>jar</goal>
  339. </goals>
  340. </execution>
  341. </executions>
  342. </plugin>
  343. <plugin>
  344. <groupId>org.apache.maven.plugins</groupId>
  345. <artifactId>maven-compiler-plugin</artifactId>
  346. <version>3.7.0</version>
  347. <configuration>
  348. <source>${java_source_version}</source>
  349. <target>${java_target_version}</target>
  350. <encoding>${file_encoding}</encoding>
  351. </configuration>
  352. </plugin>
  353. <plugin>
  354. <groupId>org.apache.maven.plugins</groupId>
  355. <artifactId>maven-eclipse-plugin</artifactId>
  356. <version>2.5.1</version>
  357. <configuration>
  358. <additionalConfig>
  359. <file>
  360. <name>.settings/org.eclipse.core.resources.prefs</name>
  361. <content>
  362. <![CDATA[eclipse.preferences.version=1${line.separator}encoding/<project>=${file_encoding}${line.separator}]]>
  363. </content>
  364. </file>
  365. </additionalConfig>
  366. </configuration>
  367. </plugin>
  368. <plugin>
  369. <groupId>org.jacoco</groupId>
  370. <artifactId>jacoco-maven-plugin</artifactId>
  371. <version>${maven-jacoco-plugin.version}</version>
  372. <executions>
  373. <execution>
  374. <id>jacoco-initialize</id>
  375. <goals>
  376. <goal>prepare-agent</goal>
  377. </goals>
  378. <configuration>
  379. <propertyName>jacocoArgLine</propertyName>
  380. </configuration>
  381. </execution>
  382. <execution>
  383. <id>report-aggregate</id>
  384. <phase>verify</phase>
  385. <goals>
  386. <goal>report-aggregate</goal>
  387. </goals>
  388. </execution>
  389. </executions>
  390. </plugin>
  391. <plugin>
  392. <groupId>org.apache.maven.plugins</groupId>
  393. <artifactId>maven-surefire-plugin</artifactId>
  394. <version>${maven-surefire.version}</version>
  395. <configuration>
  396. <useSystemClassLoader>true</useSystemClassLoader>
  397. <forkMode>once</forkMode>
  398. <argLine>${argline} ${jacocoArgLine}</argLine>
  399. <systemProperties>
  400. <!-- common shared -->
  401. </systemProperties>
  402. </configuration>
  403. </plugin>
  404. <!-- javadoc -->
  405. <plugin>
  406. <groupId>org.apache.maven.plugins</groupId>
  407. <artifactId>maven-javadoc-plugin</artifactId>
  408. <version>2.9.1</version>
  409. <executions>
  410. <execution>
  411. <id>attach-javadocs</id>
  412. <goals>
  413. <goal>jar</goal>
  414. </goals>
  415. </execution>
  416. </executions>
  417. <configuration>
  418. <encoding>${file_encoding}</encoding>
  419. <charset>${file_encoding}</charset>
  420. <additionalparam>-Xdoclint:none</additionalparam>
  421. </configuration>
  422. </plugin>
  423. </plugins>
  424. <pluginManagement>
  425. <plugins>
  426. <plugin>
  427. <artifactId>maven-jar-plugin</artifactId>
  428. <version>3.0.2</version>
  429. </plugin>
  430. </plugins>
  431. </pluginManagement>
  432. </build>
  433. <distributionManagement>
  434. <snapshotRepository>
  435. <id>sonatype-nexus-snapshots</id>
  436. <name>Sonatype Nexus Snapshots</name>
  437. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  438. </snapshotRepository>
  439. <repository>
  440. <id>sonatype-nexus-staging</id>
  441. <name>Nexus Release Repository</name>
  442. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  443. </repository>
  444. </distributionManagement>
  445. </project>