pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  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.0.19-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>alibaba</id>
  68. <url>http://code.alibabatech.com/mvn/releases/</url>
  69. <releases>
  70. <enabled>true</enabled>
  71. </releases>
  72. <snapshots>
  73. <enabled>false</enabled>
  74. </snapshots>
  75. </repository>
  76. <repository>
  77. <id>sonatype</id>
  78. <name>sonatype</name>
  79. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  80. <releases>
  81. <enabled>false</enabled>
  82. </releases>
  83. <snapshots>
  84. <enabled>true</enabled>
  85. </snapshots>
  86. </repository>
  87. <repository>
  88. <id>sonatype-release</id>
  89. <name>sonatype-release</name>
  90. <url>https://oss.sonatype.org/service/local/repositories/releases/content</url>
  91. <releases>
  92. <enabled>false</enabled>
  93. </releases>
  94. <snapshots>
  95. <enabled>true</enabled>
  96. </snapshots>
  97. </repository>
  98. </repositories>
  99. <properties>
  100. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  101. <!--maven properties-->
  102. <maven.test.skip>true</maven.test.skip>
  103. <downloadSources>true</downloadSources>
  104. <!-- compiler settings properties -->
  105. <java_source_version>1.6</java_source_version>
  106. <java_target_version>1.6</java_target_version>
  107. <file_encoding>UTF-8</file_encoding>
  108. </properties>
  109. <modules>
  110. <module>common</module>
  111. <module>meta</module>
  112. <module>dbsync</module>
  113. <module>filter</module>
  114. <module>driver</module>
  115. <module>parse</module>
  116. <module>sink</module>
  117. <module>store</module>
  118. <module>protocol</module>
  119. <module>instance</module>
  120. <module>server</module>
  121. <module>client</module>
  122. <module>deployer</module>
  123. <module>example</module>
  124. </modules>
  125. <dependencyManagement>
  126. <dependencies>
  127. <dependency>
  128. <groupId>org.springframework</groupId>
  129. <artifactId>spring</artifactId>
  130. <version>2.5.6</version>
  131. </dependency>
  132. <!-- external -->
  133. <dependency>
  134. <groupId>commons-lang</groupId>
  135. <artifactId>commons-lang</artifactId>
  136. <version>2.6</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>commons-io</groupId>
  140. <artifactId>commons-io</artifactId>
  141. <version>2.4</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.apache.zookeeper</groupId>
  145. <artifactId>zookeeper</artifactId>
  146. <version>3.4.5</version>
  147. <exclusions>
  148. <exclusion>
  149. <groupId>log4j</groupId>
  150. <artifactId>log4j</artifactId>
  151. </exclusion>
  152. <exclusion>
  153. <groupId>org.slf4j</groupId>
  154. <artifactId>slf4j-log4j12</artifactId>
  155. </exclusion>
  156. <exclusion>
  157. <groupId>org.slf4j</groupId>
  158. <artifactId>slf4j-api</artifactId>
  159. </exclusion>
  160. <exclusion>
  161. <groupId>jline</groupId>
  162. <artifactId>jline</artifactId>
  163. </exclusion>
  164. </exclusions>
  165. </dependency>
  166. <dependency>
  167. <groupId>com.github.sgroschupf</groupId>
  168. <artifactId>zkclient</artifactId>
  169. <version>0.1</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>com.alibaba</groupId>
  173. <artifactId>fastjson</artifactId>
  174. <version>1.1.26</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>com.google.guava</groupId>
  178. <artifactId>guava</artifactId>
  179. <version>r09</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>com.googlecode.aviator</groupId>
  183. <artifactId>aviator</artifactId>
  184. <version>2.2.1</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>oro</groupId>
  188. <artifactId>oro</artifactId>
  189. <version>2.0.8</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.jboss.netty</groupId>
  193. <artifactId>netty</artifactId>
  194. <version>3.2.5.Final</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>com.google.protobuf</groupId>
  198. <artifactId>protobuf-java</artifactId>
  199. <version>2.4.1</version>
  200. </dependency>
  201. <!-- log -->
  202. <dependency>
  203. <groupId>ch.qos.logback</groupId>
  204. <artifactId>logback-core</artifactId>
  205. <version>1.0.6</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>ch.qos.logback</groupId>
  209. <artifactId>logback-classic</artifactId>
  210. <version>1.0.6</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>org.slf4j</groupId>
  214. <artifactId>jcl-over-slf4j</artifactId>
  215. <version>1.6.0</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>org.slf4j</groupId>
  219. <artifactId>slf4j-api</artifactId>
  220. <version>1.6.0</version>
  221. </dependency>
  222. <!-- test dependency -->
  223. <dependency>
  224. <groupId>junit</groupId>
  225. <artifactId>junit</artifactId>
  226. <version>4.5</version>
  227. <scope>test</scope>
  228. </dependency>
  229. <dependency>
  230. <groupId>mysql</groupId>
  231. <artifactId>mysql-connector-java</artifactId>
  232. <version>5.1.12</version>
  233. <scope>test</scope>
  234. </dependency>
  235. </dependencies>
  236. </dependencyManagement>
  237. <build>
  238. <extensions>
  239. <extension>
  240. <groupId>org.jvnet.wagon-svn</groupId>
  241. <artifactId>wagon-svn</artifactId>
  242. <version>1.9</version>
  243. </extension>
  244. <extension>
  245. <groupId>org.apache.maven.wagon</groupId>
  246. <artifactId>wagon-http-shared</artifactId>
  247. <version>1.0-beta-7</version>
  248. </extension>
  249. </extensions>
  250. <plugins>
  251. <plugin>
  252. <groupId>org.apache.maven.plugins</groupId>
  253. <artifactId>maven-source-plugin</artifactId>
  254. <executions>
  255. <execution>
  256. <id>attach-sources</id>
  257. <goals>
  258. <goal>jar</goal>
  259. </goals>
  260. </execution>
  261. </executions>
  262. </plugin>
  263. <plugin>
  264. <groupId>org.apache.maven.plugins</groupId>
  265. <artifactId>maven-compiler-plugin</artifactId>
  266. <configuration>
  267. <source>${java_source_version}</source>
  268. <target>${java_target_version}</target>
  269. <encoding>${file_encoding}</encoding>
  270. </configuration>
  271. </plugin>
  272. <plugin>
  273. <groupId>org.apache.maven.plugins</groupId>
  274. <artifactId>maven-eclipse-plugin</artifactId>
  275. <version>2.5.1</version>
  276. <configuration>
  277. <additionalConfig>
  278. <file>
  279. <name>.settings/org.eclipse.core.resources.prefs</name>
  280. <content>
  281. <![CDATA[eclipse.preferences.version=1${line.separator}encoding/<project>=${file_encoding}${line.separator}]]>
  282. </content>
  283. </file>
  284. </additionalConfig>
  285. </configuration>
  286. </plugin>
  287. <plugin>
  288. <groupId>org.apache.maven.plugins</groupId>
  289. <artifactId>maven-surefire-plugin</artifactId>
  290. <version>2.5</version>
  291. <configuration>
  292. <includes>
  293. <include>**/*Test.java</include>
  294. </includes>
  295. <excludes>
  296. <exclude>**/*NoRunTest.java</exclude>
  297. </excludes>
  298. </configuration>
  299. </plugin>
  300. <plugin>
  301. <groupId>org.apache.maven.plugins</groupId>
  302. <artifactId>maven-surefire-plugin</artifactId>
  303. <version>2.5</version>
  304. </plugin>
  305. <!-- javadoc -->
  306. <!--
  307. <plugin>
  308. <groupId>org.apache.maven.plugins</groupId>
  309. <artifactId>maven-javadoc-plugin</artifactId>
  310. <version>2.7</version>
  311. <executions>
  312. <execution>
  313. <id>attach-javadocs</id>
  314. <goals>
  315. <goal>jar</goal>
  316. </goals>
  317. </execution>
  318. </executions>
  319. <configuration>
  320. <encoding>${file_encoding}</encoding>
  321. <charset>${file_encoding}</charset>
  322. <doclet>org.jboss.apiviz.APIviz</doclet>
  323. <docletArtifact>
  324. <groupId>org.jboss.apiviz</groupId>
  325. <artifactId>apiviz</artifactId>
  326. <version>1.3.0.GA</version>
  327. </docletArtifact>
  328. <useStandardDocletOptions>true</useStandardDocletOptions>
  329. <breakiterator>true</breakiterator>
  330. <version>true</version>
  331. <author>true</author>
  332. <keywords>true</keywords>
  333. </configuration>
  334. </plugin>
  335. <plugin>
  336. <groupId>org.apache.maven.plugins</groupId>
  337. <artifactId>maven-jxr-plugin</artifactId>
  338. <version>2.2</version>
  339. <configuration>
  340. <aggregate>true</aggregate>
  341. <destDir>${project.basedir}/docs/sources</destDir>
  342. <linkJavadoc>true</linkJavadoc>
  343. <javadocDir>${project.basedir}/docs/javadoc</javadocDir>
  344. </configuration>
  345. </plugin>
  346. <plugin>
  347. <groupId>org.apache.maven.plugins</groupId>
  348. <artifactId>maven-source-plugin</artifactId>
  349. <version>2.1.2</version>
  350. <executions>
  351. <execution>
  352. <id>attach-sources</id>
  353. <goals>
  354. <goal>jar</goal>
  355. </goals>
  356. </execution>
  357. </executions>
  358. </plugin>
  359. -->
  360. </plugins>
  361. <sourceDirectory>src/main/java</sourceDirectory>
  362. <testSourceDirectory>src/test/java</testSourceDirectory>
  363. <resources>
  364. <resource>
  365. <directory>src/main/resources</directory>
  366. <includes>
  367. <include>**/*</include>
  368. </includes>
  369. <excludes>
  370. <exclude>**/.svn/</exclude>
  371. </excludes>
  372. </resource>
  373. </resources>
  374. <testResources>
  375. <testResource>
  376. <directory>src/test/resources</directory>
  377. <includes>
  378. <include>**/*</include>
  379. </includes>
  380. <excludes>
  381. <exclude>**/.svn/</exclude>
  382. </excludes>
  383. </testResource>
  384. </testResources>
  385. </build>
  386. <distributionManagement>
  387. <snapshotRepository>
  388. <id>sonatype-nexus-snapshots</id>
  389. <name>Sonatype Nexus Snapshots</name>
  390. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  391. </snapshotRepository>
  392. <repository>
  393. <id>sonatype-nexus-staging</id>
  394. <name>Nexus Release Repository</name>
  395. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  396. </repository>
  397. </distributionManagement>
  398. </project>