2023-11-30 06:26:34 +00:00
|
|
|
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
2023-12-26 09:39:30 +00:00
|
|
|
<version>3.2.1</version>
|
2023-11-30 06:26:34 +00:00
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
|
</parent>
|
|
|
|
<groupId>com.example</groupId>
|
|
|
|
<artifactId>CommonFramework</artifactId>
|
2023-11-30 10:10:15 +00:00
|
|
|
<version>0.0.1-${git.commit.id.abbrev}</version>
|
2023-11-30 06:26:34 +00:00
|
|
|
<name>CommonFramework</name>
|
|
|
|
<description>CommonFramework</description>
|
|
|
|
<properties>
|
|
|
|
<java.version>17</java.version>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
|
</exclusion>
|
2023-12-20 03:33:42 +00:00
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
</exclusion>
|
2023-11-30 06:26:34 +00:00
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-j</artifactId>
|
2023-12-26 09:39:30 +00:00
|
|
|
<version>8.2.0</version>
|
2023-11-30 06:26:34 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-undertow</artifactId>
|
|
|
|
<version>3.1.2</version>
|
|
|
|
</dependency>
|
2023-11-30 10:10:15 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.xnio</groupId>
|
|
|
|
<artifactId>xnio-nio</artifactId>
|
|
|
|
<version>3.8.10.Final</version>
|
2023-12-05 09:22:57 +00:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jboss-threads</artifactId>
|
|
|
|
<groupId>org.jboss.threads</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2023-11-30 10:10:15 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.ulisesbocchio</groupId>
|
|
|
|
<artifactId>jasypt-spring-boot-starter</artifactId>
|
|
|
|
<version>3.0.5</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
<version>3.14.0</version>
|
|
|
|
</dependency>
|
2023-12-05 09:22:57 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
<artifactId>springdoc-openapi-starter-webmvc-api</artifactId>
|
|
|
|
<version>2.3.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
|
|
|
<version>2.3.0</version>
|
|
|
|
</dependency>
|
2023-12-06 09:48:12 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jetbrains</groupId>
|
|
|
|
<artifactId>annotations</artifactId>
|
|
|
|
<version>23.0.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<version>2.15.1</version>
|
|
|
|
</dependency>
|
2023-12-14 07:40:01 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.mybatis-flex</groupId>
|
|
|
|
<artifactId>mybatis-flex-spring-boot-starter</artifactId>
|
|
|
|
<version>1.7.5</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.mybatis-flex</groupId>
|
|
|
|
<artifactId>mybatis-flex-processor</artifactId>
|
|
|
|
<version>1.7.5</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
|
<version>3.0.3</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
|
<artifactId>mybatis-spring-boot-starter-test</artifactId>
|
|
|
|
<version>3.0.3</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
<artifactId>jjwt</artifactId>
|
|
|
|
<version>0.12.3</version>
|
|
|
|
</dependency>
|
2023-12-19 02:19:27 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.ben-manes.caffeine</groupId>
|
|
|
|
<artifactId>caffeine</artifactId>
|
|
|
|
<version>3.1.8</version>
|
|
|
|
</dependency>
|
2023-12-22 10:07:10 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-oauth2-resource-server</artifactId>
|
|
|
|
<version>6.2.1</version>
|
|
|
|
</dependency>
|
2023-12-29 03:22:15 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.casbin</groupId>
|
2024-01-12 07:57:57 +00:00
|
|
|
<artifactId>jcasbin</artifactId>
|
|
|
|
<version>1.43.0</version>
|
2023-12-29 03:22:15 +00:00
|
|
|
</dependency>
|
2023-11-30 06:26:34 +00:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2023-11-30 10:10:15 +00:00
|
|
|
<finalName>CommonFramework</finalName>
|
2023-11-30 06:26:34 +00:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>3.3.0</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<mainClass>com.cmhi.cf.CommonFrameworkApplication</mainClass>
|
|
|
|
<addClasspath>true</addClasspath>
|
|
|
|
<classpathPrefix>lib/</classpathPrefix>
|
|
|
|
</manifest>
|
|
|
|
<manifestEntries>
|
|
|
|
<Class-Path>./</Class-Path>
|
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
<excludes>
|
|
|
|
<exclude>config/**</exclude>
|
|
|
|
<exclude>templates/**</exclude>
|
|
|
|
<exclude>static/**</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<version>3.6.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>make-assembly</id> <!-- this is used for inheritance merges -->
|
|
|
|
<phase>package</phase> <!-- bind to the packaging phase -->
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<appendAssemblyId>true</appendAssemblyId>
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>assembly.xml</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<testFailureIgnore>true</testFailureIgnore>
|
|
|
|
<skip>false</skip>
|
|
|
|
<includes>
|
|
|
|
<include>**/com/cmhi/cf/**/*.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>pl.project13.maven</groupId>
|
|
|
|
<artifactId>git-commit-id-plugin</artifactId>
|
|
|
|
<version>4.9.10</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>get-the-git-infos</id>
|
|
|
|
<goals>
|
|
|
|
<goal>revision</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>initialize</phase>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<failOnNoGitDirectory>false</failOnNoGitDirectory>
|
|
|
|
<verbose>false</verbose>
|
|
|
|
<offline>true</offline>
|
|
|
|
<dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
|
|
|
|
<generateGitPropertiesFile>true</generateGitPropertiesFile>
|
|
|
|
<generateGitPropertiesFilename>${project.basedir}/src/main/resources/git.properties
|
|
|
|
</generateGitPropertiesFilename>
|
|
|
|
<excludeProperties>
|
|
|
|
<excludeProperty>git.commit.message.*</excludeProperty>
|
|
|
|
<excludeProperty>git.commit.user.*</excludeProperty>
|
|
|
|
<excludeProperty>git.remote.origin.*</excludeProperty>
|
|
|
|
</excludeProperties>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|