|
| 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 | + <parent> |
| 4 | + <artifactId>canal.client-adapter</artifactId> |
| 5 | + <groupId>com.alibaba.otter</groupId> |
| 6 | + <version>1.1.6-SNAPSHOT</version> |
| 7 | + <relativePath>../pom.xml</relativePath> |
| 8 | + </parent> |
| 9 | + <modelVersion>4.0.0</modelVersion> |
| 10 | + <groupId>com.alibaba.otter</groupId> |
| 11 | + <artifactId>client-adapter.tablestore</artifactId> |
| 12 | + <packaging>jar</packaging> |
| 13 | + <name>canal client adapter rdb module for otter ${project.version}</name> |
| 14 | + |
| 15 | + <dependencies> |
| 16 | + <dependency> |
| 17 | + <groupId>com.alibaba.otter</groupId> |
| 18 | + <artifactId>client-adapter.common</artifactId> |
| 19 | + <version>${project.version}</version> |
| 20 | + <scope>provided</scope> |
| 21 | + </dependency> |
| 22 | + |
| 23 | + <dependency> |
| 24 | + <groupId>junit</groupId> |
| 25 | + <artifactId>junit</artifactId> |
| 26 | + <version>4.12</version> |
| 27 | + <scope>test</scope> |
| 28 | + </dependency> |
| 29 | + |
| 30 | + <dependency> |
| 31 | + <groupId>com.aliyun.openservices</groupId> |
| 32 | + <artifactId>tablestore</artifactId> |
| 33 | + <version>5.10.3</version> |
| 34 | + <classifier>jar-with-dependencies</classifier> |
| 35 | + <exclusions> |
| 36 | + <exclusion> |
| 37 | + <groupId>com.google.protobuf</groupId> |
| 38 | + <artifactId>protobuf-java</artifactId> |
| 39 | + </exclusion> |
| 40 | + <exclusion> |
| 41 | + <groupId>org.apache.httpcomponents</groupId> |
| 42 | + <artifactId>httpasyncclient</artifactId> |
| 43 | + </exclusion> |
| 44 | + </exclusions> |
| 45 | + </dependency> |
| 46 | + |
| 47 | + |
| 48 | + </dependencies> |
| 49 | + |
| 50 | + <build> |
| 51 | + <plugins> |
| 52 | + <plugin> |
| 53 | + <groupId>org.apache.maven.plugins</groupId> |
| 54 | + <artifactId>maven-assembly-plugin</artifactId> |
| 55 | + <version>2.4</version> |
| 56 | + <configuration> |
| 57 | + <descriptorRefs> |
| 58 | + <descriptorRef>jar-with-dependencies</descriptorRef> |
| 59 | + </descriptorRefs> |
| 60 | + </configuration> |
| 61 | + <executions> |
| 62 | + <execution> |
| 63 | + <id>make-assembly</id> |
| 64 | + <phase>package</phase> |
| 65 | + <goals> |
| 66 | + <goal>single</goal> |
| 67 | + </goals> |
| 68 | + </execution> |
| 69 | + </executions> |
| 70 | + </plugin> |
| 71 | + <plugin> |
| 72 | + <artifactId>maven-antrun-plugin</artifactId> |
| 73 | + <executions> |
| 74 | + <execution> |
| 75 | + <phase>package</phase> |
| 76 | + <goals> |
| 77 | + <goal>run</goal> |
| 78 | + </goals> |
| 79 | + <configuration> |
| 80 | + <tasks> |
| 81 | + <copy todir="${project.basedir}/../launcher/target/classes/tablestore" overwrite="true"> |
| 82 | + <fileset dir="${project.basedir}/target/classes/tablestore" erroronmissingdir="true"> |
| 83 | + <include name="*.yml" /> |
| 84 | + </fileset> |
| 85 | + </copy> |
| 86 | + </tasks> |
| 87 | + </configuration> |
| 88 | + </execution> |
| 89 | + </executions> |
| 90 | + </plugin> |
| 91 | + </plugins> |
| 92 | + </build> |
| 93 | +</project> |
0 commit comments