474 lines
17 KiB
XML
474 lines
17 KiB
XML
<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">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>com.alibaba.otter</groupId>
|
|
<artifactId>canal</artifactId>
|
|
<packaging>pom</packaging>
|
|
<name>canal module for otter ${project.version}</name>
|
|
<version>1.0.26-SNAPSHOT</version>
|
|
<url>https://github.com/alibaba/canal</url>
|
|
<parent>
|
|
<groupId>org.sonatype.oss</groupId>
|
|
<artifactId>oss-parent</artifactId>
|
|
<version>7</version>
|
|
</parent>
|
|
<developers>
|
|
<developer>
|
|
<name>agapple</name>
|
|
<url>http://agapple.iteye.com</url>
|
|
<email>jianghang115@gmail.com</email>
|
|
<timezone>8</timezone>
|
|
</developer>
|
|
<developer>
|
|
<name>zavakid</name>
|
|
<url>http://www.zavakid.com</url>
|
|
<email>zava.kid@gmail.com</email>
|
|
<timezone>8</timezone>
|
|
</developer>
|
|
<developer>
|
|
<name>in355hz</name>
|
|
<url>http://in355hz.iteye.com</url>
|
|
<email>in355hz@gmail.com</email>
|
|
<timezone>8</timezone>
|
|
</developer>
|
|
</developers>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>Apache License, Version 2.0</name>
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
|
|
</license>
|
|
</licenses>
|
|
|
|
<scm>
|
|
<url>git@github.com:alibaba/canal.git</url>
|
|
<connection>scm:git:git@github.com:alibaba/canal.git</connection>
|
|
<developerConnection>scm:git:git@github.com:alibaba/canal.git</developerConnection>
|
|
</scm>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>central</id>
|
|
<url>http://repo1.maven.org/maven2</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
<repository>
|
|
<id>java.net</id>
|
|
<url>http://download.java.net/maven/2/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
<repository>
|
|
<id>sonatype</id>
|
|
<name>sonatype</name>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
<repository>
|
|
<id>sonatype-release</id>
|
|
<name>sonatype-release</name>
|
|
<url>https://oss.sonatype.org/service/local/repositories/releases/content</url>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<!--maven properties-->
|
|
<maven.test.skip>true</maven.test.skip>
|
|
<downloadSources>true</downloadSources>
|
|
<!-- compiler settings properties -->
|
|
<java_source_version>1.7</java_source_version>
|
|
<java_target_version>1.7</java_target_version>
|
|
<file_encoding>UTF-8</file_encoding>
|
|
<spring_version>3.2.9.RELEASE</spring_version>
|
|
</properties>
|
|
|
|
<modules>
|
|
<module>common</module>
|
|
<module>meta</module>
|
|
<module>dbsync</module>
|
|
<module>filter</module>
|
|
<module>driver</module>
|
|
<module>parse</module>
|
|
<module>sink</module>
|
|
<module>store</module>
|
|
<module>protocol</module>
|
|
<module>instance</module>
|
|
<module>server</module>
|
|
<module>client</module>
|
|
<module>deployer</module>
|
|
<module>example</module>
|
|
<module>kafka</module>
|
|
<module>kafka-client</module>
|
|
<module>prometheus</module>
|
|
</modules>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-core</artifactId>
|
|
<version>${spring_version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-aop</artifactId>
|
|
<version>${spring_version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
<version>${spring_version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-jdbc</artifactId>
|
|
<version>${spring_version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-orm</artifactId>
|
|
<version>${spring_version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-test</artifactId>
|
|
<version>${spring_version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- external -->
|
|
<dependency>
|
|
<groupId>commons-lang</groupId>
|
|
<artifactId>commons-lang</artifactId>
|
|
<version>2.6</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>2.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-codec</groupId>
|
|
<artifactId>commons-codec</artifactId>
|
|
<version>1.9</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-compress</artifactId>
|
|
<version>1.9</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
<version>4.5.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.zookeeper</groupId>
|
|
<artifactId>zookeeper</artifactId>
|
|
<version>3.4.5</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>jline</groupId>
|
|
<artifactId>jline</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.101tec</groupId>
|
|
<artifactId>zkclient</artifactId>
|
|
<version>0.10</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>fastjson</artifactId>
|
|
<version>1.2.28</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>18.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.googlecode.aviator</groupId>
|
|
<artifactId>aviator</artifactId>
|
|
<version>2.2.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>oro</groupId>
|
|
<artifactId>oro</artifactId>
|
|
<version>2.0.8</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-all</artifactId>
|
|
<version>4.1.6.Final</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.protobuf</groupId>
|
|
<artifactId>protobuf-java</artifactId>
|
|
<version>2.6.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.ibatis</groupId>
|
|
<artifactId>ibatis-sqlmap</artifactId>
|
|
<version>2.3.4.726</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.alibaba.fastsql</groupId>
|
|
<artifactId>fastsql</artifactId>
|
|
<version>2.0.0_preview_538</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>druid</artifactId>
|
|
<version>1.1.9</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.lmax</groupId>
|
|
<artifactId>disruptor</artifactId>
|
|
<version>3.4.2</version>
|
|
</dependency>
|
|
<!-- log -->
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-core</artifactId>
|
|
<version>1.1.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>1.1.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
<version>1.7.12</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>1.7.12</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<version>1.4.196</version>
|
|
</dependency>
|
|
<!-- test dependency -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.12</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>5.1.40</version>
|
|
<!--<scope>test</scope>-->
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
<extensions>
|
|
<extension>
|
|
<groupId>org.jvnet.wagon-svn</groupId>
|
|
<artifactId>wagon-svn</artifactId>
|
|
<version>1.9</version>
|
|
</extension>
|
|
<extension>
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-http-shared</artifactId>
|
|
<version>1.0-beta-7</version>
|
|
</extension>
|
|
</extensions>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>2.4</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.0</version>
|
|
<configuration>
|
|
<source>${java_source_version}</source>
|
|
<target>${java_target_version}</target>
|
|
<encoding>${file_encoding}</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-eclipse-plugin</artifactId>
|
|
<version>2.5.1</version>
|
|
<configuration>
|
|
<additionalConfig>
|
|
<file>
|
|
<name>.settings/org.eclipse.core.resources.prefs</name>
|
|
<content>
|
|
<![CDATA[eclipse.preferences.version=1${line.separator}encoding/<project>=${file_encoding}${line.separator}]]>
|
|
</content>
|
|
</file>
|
|
</additionalConfig>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.5</version>
|
|
<configuration>
|
|
<includes>
|
|
<include>**/*Test.java</include>
|
|
</includes>
|
|
<excludes>
|
|
<exclude>**/*NoRunTest.java</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- javadoc -->
|
|
<!--
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.7</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadocs</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<encoding>${file_encoding}</encoding>
|
|
<charset>${file_encoding}</charset>
|
|
<doclet>org.jboss.apiviz.APIviz</doclet>
|
|
<docletArtifact>
|
|
<groupId>org.jboss.apiviz</groupId>
|
|
<artifactId>apiviz</artifactId>
|
|
<version>1.3.0.GA</version>
|
|
</docletArtifact>
|
|
<useStandardDocletOptions>true</useStandardDocletOptions>
|
|
<breakiterator>true</breakiterator>
|
|
<version>true</version>
|
|
<author>true</author>
|
|
<keywords>true</keywords>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jxr-plugin</artifactId>
|
|
<version>2.2</version>
|
|
<configuration>
|
|
<aggregate>true</aggregate>
|
|
<destDir>${project.basedir}/docs/sources</destDir>
|
|
<linkJavadoc>true</linkJavadoc>
|
|
<javadocDir>${project.basedir}/docs/javadoc</javadocDir>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>2.1.2</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
-->
|
|
</plugins>
|
|
<sourceDirectory>src/main/java</sourceDirectory>
|
|
<testSourceDirectory>src/test/java</testSourceDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<includes>
|
|
<include>**/*</include>
|
|
</includes>
|
|
<excludes>
|
|
<exclude>**/.svn/</exclude>
|
|
</excludes>
|
|
</resource>
|
|
</resources>
|
|
<testResources>
|
|
<testResource>
|
|
<directory>src/test/resources</directory>
|
|
<includes>
|
|
<include>**/*</include>
|
|
</includes>
|
|
<excludes>
|
|
<exclude>**/.svn/</exclude>
|
|
</excludes>
|
|
</testResource>
|
|
</testResources>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.0.2</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
|
|
<distributionManagement>
|
|
<snapshotRepository>
|
|
<id>sonatype-nexus-snapshots</id>
|
|
<name>Sonatype Nexus Snapshots</name>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
|
</snapshotRepository>
|
|
<repository>
|
|
<id>sonatype-nexus-staging</id>
|
|
<name>Nexus Release Repository</name>
|
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
</project>
|