<?xml version="1.0" encoding="UTF-8"?>
|
<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.yunyin</groupId>
|
<artifactId>canal-spring-boot-starter</artifactId>
|
<description>canal spring boot starter</description>
|
<version>stander</version>
|
|
<properties>
|
<maven.compiler.source>8</maven.compiler.source>
|
<maven.compiler.target>8</maven.compiler.target>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
</properties>
|
|
<parent>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-dependencies</artifactId>
|
<version>2.6.2</version>
|
</parent>
|
|
<dependencies>
|
<!-- alibaba otter canal -->
|
<dependency>
|
<groupId>com.alibaba.otter</groupId>
|
<artifactId>canal.client</artifactId>
|
<version>1.1.5</version>
|
</dependency>
|
<dependency>
|
<groupId>com.alibaba.otter</groupId>
|
<artifactId>canal.protocol</artifactId>
|
<version>1.1.5</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
<optional>true</optional>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.commons</groupId>
|
<artifactId>commons-lang3</artifactId>
|
</dependency>
|
</dependencies>
|
|
|
|
<build>
|
<plugins>
|
<!--配置生成源码包-->
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-source-plugin</artifactId>
|
<version>3.2.1</version>
|
<executions>
|
<execution>
|
<id>attach-sources</id>
|
<goals>
|
<goal>jar</goal>
|
</goals>
|
</execution>
|
</executions>
|
</plugin>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-deploy-plugin</artifactId>
|
<version>2.7</version>
|
</plugin>
|
<plugin>
|
<groupId>org.codehaus.mojo</groupId>
|
<artifactId>flatten-maven-plugin</artifactId>
|
<version>1.2.7</version>
|
<configuration>
|
<updatePomFile>true</updatePomFile>
|
<flattenMode>resolveCiFriendliesOnly</flattenMode>
|
</configuration>
|
<executions>
|
<execution>
|
<id>flatten</id>
|
<phase>process-resources</phase>
|
<goals>
|
<goal>flatten</goal>
|
</goals>
|
</execution>
|
<execution>
|
<id>flatten.clean</id>
|
<phase>clean</phase>
|
<goals>
|
<goal>clean</goal>
|
</goals>
|
</execution>
|
</executions>
|
</plugin>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
<version>3.8.0</version>
|
<configuration>
|
<source>8</source>
|
<target>8</target>
|
<encoding>UTF-8</encoding>
|
</configuration>
|
</plugin>
|
</plugins>
|
</build>
|
|
|
</project>
|