575 lines
24 KiB
XML
575 lines
24 KiB
XML
<?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.pudonghot.yo</groupId>
|
||
<artifactId>yo-tj</artifactId>
|
||
<version>${revision}</version>
|
||
<packaging>pom</packaging>
|
||
<name>Yo TJ</name>
|
||
<description>Yo TJ</description>
|
||
|
||
<properties>
|
||
<java.version>17</java.version>
|
||
<maven.compiler.source>17</maven.compiler.source>
|
||
<maven.compiler.target>17</maven.compiler.target>
|
||
<maven.compiler.release>17</maven.compiler.release>
|
||
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
||
|
||
<revision>0.0.1-SNAPSHOT</revision>
|
||
|
||
<tigon.version>0.0.5-SNAPSHOT</tigon.version>
|
||
<tigon-mybatis.version>1.0.0-SNAPSHOT</tigon-mybatis.version>
|
||
|
||
<spring-boot.version>3.3.3</spring-boot.version>
|
||
|
||
<spring.version>5.3.30</spring.version>
|
||
<spring-boot.version>2.7.16</spring-boot.version>
|
||
|
||
<apache.dubbo.version>3.2.6</apache.dubbo.version>
|
||
<aliyun-sdk-oss.version>3.16.2</aliyun-sdk-oss.version>
|
||
</properties>
|
||
|
||
<organization>
|
||
<name>Pudonghot</name>
|
||
<url>http://www.pudonghot.com</url>
|
||
</organization>
|
||
|
||
<modules>
|
||
<module>cms</module>
|
||
<module>server</module>
|
||
<module>tj-cms</module>
|
||
<module>operation</module>
|
||
<module>lib</module>
|
||
</modules>
|
||
|
||
<dependencyManagement>
|
||
<dependencies>
|
||
<!--Tigon-->
|
||
<dependency>
|
||
<groupId>com.pudonghot.tigon</groupId>
|
||
<artifactId>tigon-mybatis</artifactId>
|
||
<version>${tigon-mybatis.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.pudonghot.tigon</groupId>
|
||
<artifactId>tigon</artifactId>
|
||
<version>${tigon.version}</version>
|
||
<type>pom</type>
|
||
<scope>import</scope>
|
||
</dependency>
|
||
<!--/Tigon-->
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.cloud</groupId>
|
||
<artifactId>spring-cloud-openfeign-dependencies</artifactId>
|
||
<version>4.0.4</version>
|
||
<type>pom</type>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<version>1.18.30</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.freemarker</groupId>
|
||
<artifactId>freemarker</artifactId>
|
||
<version>2.3.32</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.javassist</groupId>
|
||
<artifactId>javassist</artifactId>
|
||
<version>3.29.2-GA</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.mybatis</groupId>
|
||
<artifactId>mybatis</artifactId>
|
||
<version>3.5.16</version>
|
||
</dependency>
|
||
<!-- <dependency>-->
|
||
<!-- <groupId>org.mybatis</groupId>-->
|
||
<!-- <artifactId>mybatis-spring</artifactId>-->
|
||
<!-- <version>2.1.1</version>-->
|
||
<!-- </dependency>-->
|
||
<dependency>
|
||
<groupId>org.redisson</groupId>
|
||
<artifactId>redisson-spring-boot-starter</artifactId>
|
||
<version>3.36.0</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>easyexcel</artifactId>
|
||
<version>4.0.3</version>
|
||
</dependency>
|
||
|
||
<!-- Apache Curator会引入较低版本Jackson,需要在Tigon后面引入 -->
|
||
<dependency>
|
||
<groupId>org.apache.curator</groupId>
|
||
<artifactId>apache-curator</artifactId>
|
||
<version>5.5.0</version>
|
||
<type>pom</type>
|
||
<scope>import</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.zookeeper</groupId>
|
||
<artifactId>zookeeper</artifactId>
|
||
<version>3.9.0</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>log4j</groupId>
|
||
<artifactId>log4j</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.slf4j</groupId>
|
||
<artifactId>slf4j-log4j12</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>junit</groupId>
|
||
<artifactId>junit</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.dubbo</groupId>
|
||
<artifactId>dubbo-spring-boot-starter</artifactId>
|
||
<version>${apache.dubbo.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.dubbo</groupId>
|
||
<artifactId>dubbo-dependencies-zookeeper</artifactId>
|
||
<version>${apache.dubbo.version}</version>
|
||
<type>pom</type>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-compress</artifactId>
|
||
<version>1.18</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-text</artifactId>
|
||
<version>1.6</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.belerweb</groupId>
|
||
<artifactId>pinyin4j</artifactId>
|
||
<version>2.5.1</version>
|
||
</dependency>
|
||
<!-- Database -->
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>druid</artifactId>
|
||
<version>1.2.8</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>mysql</groupId>
|
||
<artifactId>mysql-connector-java</artifactId>
|
||
<version>8.0.28</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-lang3</artifactId>
|
||
<version>3.13.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>commons-io</groupId>
|
||
<artifactId>commons-io</artifactId>
|
||
<version>2.17.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.aliyun</groupId>
|
||
<artifactId>aliyun-java-sdk-core</artifactId>
|
||
<version>4.5.30</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.aliyun.oss</groupId>
|
||
<artifactId>aliyun-sdk-oss</artifactId>
|
||
<version>${aliyun-sdk-oss.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>junit</groupId>
|
||
<artifactId>junit</artifactId>
|
||
<version>4.13.2</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<!--Project Module-->
|
||
<dependency>
|
||
<groupId>com.pudonghot.yo</groupId>
|
||
<artifactId>yo-tool</artifactId>
|
||
<version>${project.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.pudonghot.yo</groupId>
|
||
<artifactId>yo-http-client-api</artifactId>
|
||
<version>${project.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.pudonghot.yo</groupId>
|
||
<artifactId>yo-http-client-apache</artifactId>
|
||
<version>${project.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.pudonghot.yo</groupId>
|
||
<artifactId>yo-service-common</artifactId>
|
||
<version>${project.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.pudonghot.yo</groupId>
|
||
<artifactId>yo-service-impl</artifactId>
|
||
<version>${project.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.pudonghot.yo</groupId>
|
||
<artifactId>yo-web-common</artifactId>
|
||
<version>${project.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.pudonghot.yo</groupId>
|
||
<artifactId>yo-web-auth</artifactId>
|
||
<version>${project.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.pudonghot.yo</groupId>
|
||
<artifactId>yo-util</artifactId>
|
||
<version>${project.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.pudonghot.yo</groupId>
|
||
<artifactId>yo-basic-model</artifactId>
|
||
<version>${project.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.pudonghot.yo</groupId>
|
||
<artifactId>yo-dal</artifactId>
|
||
<version>${project.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.pudonghot.yo</groupId>
|
||
<artifactId>yo-fs-dal</artifactId>
|
||
<version>${project.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.pudonghot.yo</groupId>
|
||
<artifactId>yo-fsesl</artifactId>
|
||
<version>${project.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.pudonghot.yo</groupId>
|
||
<artifactId>yo-fsagent-api</artifactId>
|
||
<version>${project.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.pudonghot.yo</groupId>
|
||
<artifactId>yo-redis-api</artifactId>
|
||
<version>${project.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.pudonghot.yo</groupId>
|
||
<artifactId>yo-redis-raw</artifactId>
|
||
<version>${project.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.pudonghot.yo</groupId>
|
||
<artifactId>yo-hessian-util</artifactId>
|
||
<version>${project.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.pudonghot.yo</groupId>
|
||
<artifactId>yo-mybatis-cache</artifactId>
|
||
<version>${project.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.pudonghot.yo</groupId>
|
||
<artifactId>yo-shiro-cache</artifactId>
|
||
<version>${project.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.pudonghot.yo</groupId>
|
||
<artifactId>yo-aliyun</artifactId>
|
||
<version>${project.version}</version>
|
||
</dependency>
|
||
<!--/Project Module-->
|
||
</dependencies>
|
||
</dependencyManagement>
|
||
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-resources-plugin</artifactId>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-source-plugin</artifactId>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-jar-plugin</artifactId>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-dependency-plugin</artifactId>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
<configuration>
|
||
<skip>true</skip>
|
||
</configuration>
|
||
</plugin>
|
||
</plugins>
|
||
<pluginManagement>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-resources-plugin</artifactId>
|
||
<version>2.7</version>
|
||
<configuration>
|
||
<encoding>${project.build.sourceEncoding}</encoding>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok-maven-plugin</artifactId>
|
||
<!-- 版本和lombok不一致 -->
|
||
<version>1.18.20.0</version>
|
||
<executions>
|
||
<execution>
|
||
<phase>generate-sources</phase>
|
||
<goals>
|
||
<goal>delombok</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
<configuration>
|
||
<encoding>UTF-8</encoding>
|
||
<sourceDirectory>src/main/java</sourceDirectory>
|
||
<outputDirectory>${project.build.directory}/delombok</outputDirectory>
|
||
<addOutputDirectory>false</addOutputDirectory>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
<version>3.11.0</version>
|
||
<configuration>
|
||
<source>${maven.compiler.source}</source>
|
||
<target>${maven.compiler.target}</target>
|
||
<release>${maven.compiler.release}</release>
|
||
<encoding>${project.build.sourceEncoding}</encoding>
|
||
<compilerArgs>
|
||
<!--<arg>-verbose</arg>-->
|
||
<!--<arg>-Xlint:all,-options,-path</arg>-->
|
||
<arg>-Xlint:unchecked</arg>
|
||
<arg>--add-opens</arg>
|
||
<arg>java.base/java.lang=ALL-UNNAMED</arg>
|
||
<arg>--add-opens</arg>
|
||
<arg>java.base/java.lang.reflect=ALL-UNNAMED</arg>
|
||
</compilerArgs>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-source-plugin</artifactId>
|
||
<version>2.4</version>
|
||
<executions>
|
||
<execution>
|
||
<id>attach-sources</id>
|
||
<phase>install</phase>
|
||
<goals>
|
||
<goal>jar-no-fork</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-dependency-plugin</artifactId>
|
||
<version>2.10</version>
|
||
<!--
|
||
<executions>
|
||
<execution>
|
||
<id>copy-dependencies</id>
|
||
<phase>package</phase>
|
||
<goals>
|
||
<goal>copy-dependencies</goal>
|
||
</goals>
|
||
<configuration>
|
||
<outputDirectory>
|
||
target/lib
|
||
</outputDirectory>
|
||
</configuration>
|
||
</execution>
|
||
</executions>
|
||
-->
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-jar-plugin</artifactId>
|
||
<version>2.6</version>
|
||
<configuration>
|
||
<archive>
|
||
<manifest>
|
||
<addClasspath>true</addClasspath>
|
||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
||
</manifest>
|
||
<manifestEntries>
|
||
<Built-By>Donghuang</Built-By>
|
||
</manifestEntries>
|
||
</archive>
|
||
<excludes>
|
||
<exclude>bootstrap*.properties</exclude>
|
||
<exclude>config/bootstrap*.properties</exclude>
|
||
<exclude>bootstrap*.yml</exclude>
|
||
<exclude>config/bootstrap*.yml</exclude>
|
||
<exclude>application*.properties</exclude>
|
||
<exclude>config/application*.properties</exclude>
|
||
<exclude>application*.yml</exclude>
|
||
<exclude>config/application*.yml</exclude>
|
||
<exclude>log4j2*.xml</exclude>
|
||
<exclude>log4j2*.yml</exclude>
|
||
<exclude>logback*.xml</exclude>
|
||
<exclude>logback*.yml</exclude>
|
||
</excludes>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
<version>${spring-boot.version}</version>
|
||
<configuration>
|
||
<addResources>true</addResources>
|
||
<layout>ZIP</layout>
|
||
<fork>true</fork>
|
||
<includeSystemScope>true</includeSystemScope>
|
||
<environmentVariables>
|
||
<project.basedir>${project.basedir}</project.basedir>
|
||
<project.artifactId>${project.artifactId}</project.artifactId>
|
||
<GROUP>${project.groupId}</GROUP>
|
||
<ARTIFACT>${project.artifactId}</ARTIFACT>
|
||
<APP_NAME>${project.artifactId}</APP_NAME>
|
||
</environmentVariables>
|
||
<excludes>
|
||
<exclude>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
</exclude>
|
||
</excludes>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<goals>
|
||
<goal>repackage</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-help-plugin</artifactId>
|
||
<version>2.2</version>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>pl.project13.maven</groupId>
|
||
<artifactId>git-commit-id-plugin</artifactId>
|
||
<version>4.0.0</version>
|
||
<executions>
|
||
<execution>
|
||
<id>git-info</id>
|
||
<goals>
|
||
<goal>revision</goal>
|
||
</goals>
|
||
<phase>prepare-package</phase>
|
||
</execution>
|
||
</executions>
|
||
<configuration>
|
||
<prefix>git</prefix>
|
||
<verbose>false</verbose>
|
||
<failOnNoGitDirectory>true</failOnNoGitDirectory>
|
||
<generateGitPropertiesFile>true</generateGitPropertiesFile>
|
||
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.json</generateGitPropertiesFilename>
|
||
<format>json</format>
|
||
<gitDescribe>
|
||
<skip>false</skip>
|
||
<always>false</always>
|
||
<dirty>-dirty</dirty>
|
||
</gitDescribe>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.codehaus.mojo</groupId>
|
||
<artifactId>exec-maven-plugin</artifactId>
|
||
<version>3.1.0</version>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>net.bytebuddy</groupId>
|
||
<artifactId>byte-buddy</artifactId>
|
||
<version>1.14.4</version>
|
||
</dependency>
|
||
</dependencies>
|
||
</plugin>
|
||
</plugins>
|
||
</pluginManagement>
|
||
<!-- filter resources -->
|
||
<resources>
|
||
<resource>
|
||
<directory>src/main/java</directory>
|
||
<filtering>false</filtering>
|
||
<includes>
|
||
<include>**/*Mapper.xml</include>
|
||
</includes>
|
||
</resource>
|
||
<resource>
|
||
<directory>src/main/resources</directory>
|
||
<filtering>false</filtering>
|
||
<excludes>
|
||
<exclude>config_*.properties</exclude>
|
||
<exclude>application_*.properties</exclude>
|
||
<exclude>application_*.yml</exclude>
|
||
<exclude>log4j2_*.xml</exclude>
|
||
<exclude>logback_*.xml</exclude>
|
||
</excludes>
|
||
</resource>
|
||
<resource>
|
||
<directory>src/main/resources</directory>
|
||
<filtering>true</filtering>
|
||
<includes>
|
||
<include>**/*.xml</include>
|
||
<include>**/*.properties</include>
|
||
<include>**/*.txt</include>
|
||
</includes>
|
||
<excludes>
|
||
<exclude>config_*.properties</exclude>
|
||
<exclude>application_*.properties</exclude>
|
||
<exclude>application_*.yml</exclude>
|
||
<exclude>log4j2_*.xml</exclude>
|
||
<exclude>logback_*.xml</exclude>
|
||
</excludes>
|
||
</resource>
|
||
</resources>
|
||
<testResources>
|
||
<testResource>
|
||
<directory>src/test/resources</directory>
|
||
<filtering>false</filtering>
|
||
</testResource>
|
||
<testResource>
|
||
<directory>src/test/resources</directory>
|
||
<filtering>true</filtering>
|
||
<includes>
|
||
<include>**/*.txt</include>
|
||
<include>**/*.xml</include>
|
||
<include>**/*.properties</include>
|
||
</includes>
|
||
</testResource>
|
||
</testResources>
|
||
</build>
|
||
</project>
|