|
@@ -0,0 +1,178 @@
|
|
|
|
|
+<?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>
|
|
|
|
|
+ <parent>
|
|
|
|
|
+ <groupId>com.ema</groupId>
|
|
|
|
|
+ <artifactId>ema_project</artifactId>
|
|
|
|
|
+ <version>1.0.0-SNAPSHOT</version>
|
|
|
|
|
+ </parent>
|
|
|
|
|
+
|
|
|
|
|
+ <artifactId>ema-admin</artifactId>
|
|
|
|
|
+
|
|
|
|
|
+ <properties>
|
|
|
|
|
+ <maven.compiler.source>8</maven.compiler.source>
|
|
|
|
|
+ <maven.compiler.target>8</maven.compiler.target>
|
|
|
|
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
+ </properties>
|
|
|
|
|
+
|
|
|
|
|
+ <dependencies>
|
|
|
|
|
+ <!-- 相关项目 -->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.ema</groupId>
|
|
|
|
|
+ <artifactId>ema-common</artifactId>
|
|
|
|
|
+ <version>1.0.0-SNAPSHOT</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 相关项目 -->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-starter</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
+ <exclusions>
|
|
|
|
|
+ <exclusion>
|
|
|
|
|
+ <artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ </exclusion>
|
|
|
|
|
+ </exclusions>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-starter-undertow</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
|
+ <scope>test</scope>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-starter-logging</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-starter-aop</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-starter-validation</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
|
+ <optional>true</optional>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency><!-- freemarker模版 -->
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-starter-freemarker</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <!-- websocket支持 -->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-starter-websocket</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <!-- Sa-Token 权限认证,在线文档:https://sa-token.cc -->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>cn.dev33</groupId>
|
|
|
|
|
+ <artifactId>sa-token-spring-boot-starter</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <!-- Sa-Token 整合 Redis (使用 jackson 序列化方式) -->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>cn.dev33</groupId>
|
|
|
|
|
+ <artifactId>sa-token-redis-jackson</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <dependency><!-- spring-boot缓存依赖 -->
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-starter-cache</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 数据库相关 -->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>mysql</groupId>
|
|
|
|
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.zaxxer</groupId>
|
|
|
|
|
+ <artifactId>HikariCP</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.mybatis-flex</groupId>
|
|
|
|
|
+ <artifactId>mybatis-flex-spring-boot-starter</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.mybatis-flex</groupId>
|
|
|
|
|
+ <artifactId>mybatis-flex-processor</artifactId>
|
|
|
|
|
+ <scope>provided</scope>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.mybatis-flex</groupId>
|
|
|
|
|
+ <artifactId>mybatis-flex-codegen</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <!-- 数据库相关 -->
|
|
|
|
|
+
|
|
|
|
|
+ <!-- swagger接口文档 -->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.github.xiaoymin</groupId>
|
|
|
|
|
+ <artifactId>knife4j-openapi2-spring-boot-starter</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.dromara.x-file-storage</groupId>
|
|
|
|
|
+ <artifactId>x-file-storage-spring</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.aliyun.oss</groupId>
|
|
|
|
|
+ <artifactId>aliyun-sdk-oss</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ </dependencies>
|
|
|
|
|
+
|
|
|
|
|
+ <build>
|
|
|
|
|
+ <!--<finalName>${project.artifactId}</finalName>-->
|
|
|
|
|
+ <resources>
|
|
|
|
|
+ <resource>
|
|
|
|
|
+ <directory>src/main/resources/</directory>
|
|
|
|
|
+ <filtering>true</filtering>
|
|
|
|
|
+ </resource>
|
|
|
|
|
+ </resources>
|
|
|
|
|
+
|
|
|
|
|
+ <plugins>
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
+ <artifactId>maven-resources-plugin</artifactId>
|
|
|
|
|
+ <version>3.3.0</version>
|
|
|
|
|
+ <configuration>
|
|
|
|
|
+ <encoding>UTF-8</encoding>
|
|
|
|
|
+ <nonFilteredFileExtensions>
|
|
|
|
|
+ <!--过滤掉不需要编码的文件:过滤后缀为 .doc、.xlsx。。。 的所有文件,不对其进行统一编码-->
|
|
|
|
|
+ <nonFilteredFileExtension>eot</nonFilteredFileExtension>
|
|
|
|
|
+ <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
|
|
|
|
|
+ <nonFilteredFileExtension>woff</nonFilteredFileExtension>
|
|
|
|
|
+ <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
|
|
|
|
|
+ <nonFilteredFileExtension>xdb</nonFilteredFileExtension>
|
|
|
|
|
+ <nonFilteredFileExtension>txt</nonFilteredFileExtension>
|
|
|
|
|
+ </nonFilteredFileExtensions>
|
|
|
|
|
+ </configuration>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+ <!-- maven install 打包可直接 java -jar 运行插件 -->
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
+ <configuration>
|
|
|
|
|
+ <mainClass>com.ema.admin.AdminAppStarter</mainClass>
|
|
|
|
|
+ <includeSystemScope>true</includeSystemScope>
|
|
|
|
|
+ </configuration>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+
|
|
|
|
|
+ </plugins>
|
|
|
|
|
+
|
|
|
|
|
+ </build>
|
|
|
|
|
+
|
|
|
|
|
+</project>
|