|
|
|
|
<?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>
|
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
<modules>
|
|
|
|
|
<module>xymanager_admin</module>
|
|
|
|
|
<module>xymanager_service</module>
|
|
|
|
|
<module>xymanager_common</module>
|
|
|
|
|
<module>xymanager_dao</module>
|
|
|
|
|
<module>xymanager_framework</module>
|
|
|
|
|
</modules>
|
|
|
|
|
<groupId>com.shxy</groupId>
|
|
|
|
|
<artifactId>xymanager</artifactId>
|
|
|
|
|
<version>1.0.0</version>
|
|
|
|
|
<name>xymanager</name>
|
|
|
|
|
<description>上海欣影微拍管理平台</description>
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
|
<xymanager.version>1.0.0</xymanager.version>
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
<spring-boot-dependencies.version>2.5.6</spring-boot-dependencies.version>
|
|
|
|
|
<swagger.version>3.0.0</swagger.version>
|
|
|
|
|
<knife4j-spring-boot.version>3.0.2</knife4j-spring-boot.version>
|
|
|
|
|
<swagger-annotations.version>1.5.21</swagger-annotations.version>
|
|
|
|
|
<swagger-models.version>1.5.21</swagger-models.version>
|
|
|
|
|
<fastjson.version>1.2.79</fastjson.version>
|
|
|
|
|
<druid.version>1.2.8</druid.version>
|
|
|
|
|
<mybatis-spring-boot.version>2.2.0</mybatis-spring-boot.version>
|
|
|
|
|
<pagehelper.boot.version>1.4.0</pagehelper.boot.version>
|
|
|
|
|
<commons.fileupload.version>1.4</commons.fileupload.version>
|
|
|
|
|
<jwt.version>0.9.0</jwt.version>
|
|
|
|
|
<mybatisplus.version>3.2.0</mybatisplus.version>
|
|
|
|
|
<easyexcel.version>3.2.1</easyexcel.version>
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<!-- SpringBoot的依赖配置-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
|
|
|
<version>${spring-boot-dependencies.version}</version>
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- 阿里数据库连接池 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
<artifactId>druid-spring-boot-starter</artifactId>
|
|
|
|
|
<version>${druid.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- SpringBoot集成mybatis框架 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
|
|
<version>${mybatis-spring-boot.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- pagehelper 分页插件 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.pagehelper</groupId>
|
|
|
|
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
|
|
|
|
<version>${pagehelper.boot.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!--Swagger-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
|
<artifactId>springfox-boot-starter</artifactId>
|
|
|
|
|
<version>${swagger.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- <dependency>-->
|
|
|
|
|
<!-- <groupId>io.jsonwebtoken</groupId>-->
|
|
|
|
|
<!-- <artifactId>jjwt</artifactId>-->
|
|
|
|
|
<!-- <version>${jwt.version}</version>-->
|
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
|
|
|
|
<!-- swagger ui-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
|
|
|
<artifactId>knife4j-spring-boot-starter</artifactId>
|
|
|
|
|
<version>${knife4j-spring-boot.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!--指定swagger-models版本,解决报错-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.swagger</groupId>
|
|
|
|
|
<artifactId>swagger-annotations</artifactId>
|
|
|
|
|
<version>${swagger-annotations.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.swagger</groupId>
|
|
|
|
|
<artifactId>swagger-models</artifactId>
|
|
|
|
|
<version>${swagger-models.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- 阿里JSON解析器 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
|
<version>${fastjson.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 文件上传工具类 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-fileupload</groupId>
|
|
|
|
|
<artifactId>commons-fileupload</artifactId>
|
|
|
|
|
<version>${commons.fileupload.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- 阿里excel表格工具-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
<artifactId>easyexcel</artifactId>
|
|
|
|
|
<version>${easyexcel.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!--一个开源工具类 一个Java基础工具类,对文件、流、加密解密、转码、正则、线程、XML等JDK方法进行封装,组成各种Util工具类-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
|
|
<version>5.7.20</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- <!–shiro–>-->
|
|
|
|
|
<!-- <dependency>-->
|
|
|
|
|
<!-- <groupId>org.apache.shiro</groupId>-->
|
|
|
|
|
<!-- <artifactId>shiro-spring-boot-starter</artifactId>-->
|
|
|
|
|
<!-- <version>1.11.0</version>-->
|
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--JNA:调用本地dll-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.java.dev.jna</groupId>
|
|
|
|
|
<artifactId>jna</artifactId>
|
|
|
|
|
<version>5.9.0</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- <dependency>-->
|
|
|
|
|
<!-- <groupId>com.squareup.okhttp3</groupId>-->
|
|
|
|
|
<!-- <artifactId>okhttp</artifactId>-->
|
|
|
|
|
<!-- <version>3.14.9</version>-->
|
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
|
|
|
|
<!-- <dependency>-->
|
|
|
|
|
<!-- <groupId>io.github.admin4j</groupId>-->
|
|
|
|
|
<!-- <artifactId>http</artifactId>-->
|
|
|
|
|
<!-- <version>0.4.0</version>-->
|
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <dependency>-->
|
|
|
|
|
<!-- <groupId>javax.servlet</groupId>-->
|
|
|
|
|
<!-- <artifactId>javax.servlet-api</artifactId>-->
|
|
|
|
|
<!-- <version>4.0.1</version>-->
|
|
|
|
|
<!-- <scope>provided</scope>-->
|
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.shxy</groupId>
|
|
|
|
|
<artifactId>xymanager_admin</artifactId>
|
|
|
|
|
<version>${xymanager.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.shxy</groupId>
|
|
|
|
|
<artifactId>xymanager_common</artifactId>
|
|
|
|
|
<version>${xymanager.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.shxy</groupId>
|
|
|
|
|
<artifactId>xymanager_framework</artifactId>
|
|
|
|
|
<version>${xymanager.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.shxy</groupId>
|
|
|
|
|
<artifactId>xymanager_service</artifactId>
|
|
|
|
|
<version>${xymanager.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.shxy</groupId>
|
|
|
|
|
<artifactId>xymanager_dao</artifactId>
|
|
|
|
|
<version>${xymanager.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
<version>2.5.6</version>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
<version>3.8.1</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<source>1.8</source>
|
|
|
|
|
<target>1.8</target>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<!--自动生成mybatis插件-->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.mybatis.generator</groupId>
|
|
|
|
|
<artifactId>mybatis-generator-maven-plugin</artifactId>
|
|
|
|
|
<version>1.3.5</version>
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
<!-- <plugin>-->
|
|
|
|
|
<!-- <groupId>com.github.wvengen</groupId>-->
|
|
|
|
|
<!-- <artifactId>proguard-maven-plugin</artifactId>-->
|
|
|
|
|
<!-- <version>2.6.0</version>-->
|
|
|
|
|
<!-- <executions>-->
|
|
|
|
|
<!-- <!– 以下配置说明执行mvn的package命令时候,会执行proguard–>-->
|
|
|
|
|
<!-- <execution>-->
|
|
|
|
|
<!-- <phase>package</phase>-->
|
|
|
|
|
<!-- <goals>-->
|
|
|
|
|
<!-- <goal>proguard</goal>-->
|
|
|
|
|
<!-- </goals>-->
|
|
|
|
|
<!-- </execution>-->
|
|
|
|
|
<!-- </executions>-->
|
|
|
|
|
<!-- <configuration>-->
|
|
|
|
|
<!-- <proguardVersion>7.1.0</proguardVersion>-->
|
|
|
|
|
<!-- <!– 原始jar –>-->
|
|
|
|
|
<!-- <injar>${project.build.finalName}.jar</injar>-->
|
|
|
|
|
<!-- <!– 混淆后的jar –>-->
|
|
|
|
|
<!-- <outjar>${project.build.finalName}.jar</outjar>-->
|
|
|
|
|
<!-- <!– 是否混淆 默认是true –>-->
|
|
|
|
|
<!-- <obfuscate>true</obfuscate>-->
|
|
|
|
|
<!-- <!– 是否将生成的PG文件安装部署 –>-->
|
|
|
|
|
<!-- <!– <attach>true</attach> –>-->
|
|
|
|
|
<!-- <!–指定生成文件分类–>-->
|
|
|
|
|
<!-- <!–<attachArtifactClassifier>pg</attachArtifactClassifier>–>-->
|
|
|
|
|
<!-- <!– 将pom.xml打包至jar文件中 –>-->
|
|
|
|
|
<!-- <addMavenDescriptor>true</addMavenDescriptor>-->
|
|
|
|
|
<!-- <!– 混淆配置文件proguard.cfg-->
|
|
|
|
|
<!-- <proguardInclude>${project.basedir}/proguard.cfg</proguardInclude>–>-->
|
|
|
|
|
<!-- <!– 项目编译所需要的jar –>-->
|
|
|
|
|
<!-- <libs>-->
|
|
|
|
|
<!-- <lib>${java.home}/lib/rt.jar</lib>-->
|
|
|
|
|
<!-- </libs>-->
|
|
|
|
|
<!-- <!– 对输入jar进行过滤比如,如下配置就是对META-INFO文件不处理。-->
|
|
|
|
|
<!-- <inLibsFilter>!META-INF/**,!META-INF/versions/9/**.class</inLibsFilter>–>-->
|
|
|
|
|
<!-- <!– 输出路径配置,但是要注意这个路径必须要包括injar标签填写的jar –>-->
|
|
|
|
|
<!-- <outputDirectory>${project.basedir}/target</outputDirectory>-->
|
|
|
|
|
<!-- <!–配置混淆的一些细节选项,可在proguard.cfg中配置–>-->
|
|
|
|
|
<!-- <options>-->
|
|
|
|
|
<!-- <!– JDK目标版本1.8–>-->
|
|
|
|
|
<!-- <option>-target 1.8</option>-->
|
|
|
|
|
<!-- <!– 不做收缩(删除注释、未被引用代码)–>-->
|
|
|
|
|
<!-- <option>-dontshrink</option>-->
|
|
|
|
|
<!-- <!– 不做优化(变更代码实现逻辑)–>-->
|
|
|
|
|
<!-- <option>-dontoptimize</option>-->
|
|
|
|
|
<!-- <!– 不混忽略非公用类文件及成员–>-->
|
|
|
|
|
<!-- <option>-dontskipnonpubliclibraryclasses</option>-->
|
|
|
|
|
<!-- <option>-dontskipnonpubliclibraryclassmembers</option>-->
|
|
|
|
|
<!-- <!–不用大小写混合类名机制–>-->
|
|
|
|
|
<!-- <option>-dontusemixedcaseclassnames</option>-->
|
|
|
|
|
<!-- <!– 优化时允许访问并修改有修饰符的类和类的成员 –>-->
|
|
|
|
|
<!-- <option>-allowaccessmodification</option>-->
|
|
|
|
|
<!-- <!– 确定统一的混淆类的成员名称来增加混淆–>-->
|
|
|
|
|
<!-- <option>-useuniqueclassmembernames</option>-->
|
|
|
|
|
<!-- <!– 保持目录结构–>-->
|
|
|
|
|
<!-- <option>-keepdirectories</option>-->
|
|
|
|
|
<!-- <!– 不混淆所有包名–>-->
|
|
|
|
|
<!-- <!–<option>-keeppackagenames</option>–>-->
|
|
|
|
|
<!-- <!– 混淆类名之后,对使用Class.forName('className')之类的地方进行相应替代–>-->
|
|
|
|
|
<!-- <option>-adaptclassstrings</option>-->
|
|
|
|
|
<!-- <!– 需要保持的属性:异常,注解等–>-->
|
|
|
|
|
<!-- <option>-keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LocalVariable*Table,*Annotation*,Synthetic,EnclosingMethod</option>-->
|
|
|
|
|
<!-- <!– 此选项将保存所有软件包中的所有原始接口文件(不进行混淆) –>-->
|
|
|
|
|
<!-- <option>-keepnames interface ** { *; }</option>-->
|
|
|
|
|
<!-- <!– 此选项将保存所有软件包中的所有原始接口文件(不进行混淆) –>-->
|
|
|
|
|
<!-- <option>-keep interface * extends * { *; }</option>-->
|
|
|
|
|
|
|
|
|
|
<!-- <!– 保留参数名,因为控制器,或者Mybatis等接口的参数如果混淆会导致无法接受参数,xml文件找不到参数 –>-->
|
|
|
|
|
<!-- <option>-keepparameternames</option>-->
|
|
|
|
|
<!-- <!– 保留枚举成员及方法 –>-->
|
|
|
|
|
<!-- <option>-keepclassmembers enum * { *; }</option>-->
|
|
|
|
|
<!-- <!– 不混淆所有类,保存原始定义的注释 –>-->
|
|
|
|
|
<!-- <option>-->
|
|
|
|
|
<!-- -keepclassmembers class * {-->
|
|
|
|
|
<!-- @org.springframework.context.annotation.Bean *;-->
|
|
|
|
|
<!-- @org.springframework.beans.factory.annotation.Autowired *;-->
|
|
|
|
|
<!-- @org.springframework.beans.factory.annotation.Value *;-->
|
|
|
|
|
<!-- @org.springframework.stereotype.Service *;-->
|
|
|
|
|
<!-- @org.springframework.stereotype.Component *;-->
|
|
|
|
|
<!-- @org.springframework.web.bind.annotation.RestController *;-->
|
|
|
|
|
<!-- }-->
|
|
|
|
|
<!-- </option>-->
|
|
|
|
|
<!-- <!– 忽略warn消息 –>-->
|
|
|
|
|
<!-- <option>-ignorewarnings</option> –>-->
|
|
|
|
|
<!-- <!– 忽略note消息 –>-->
|
|
|
|
|
<!-- <option>-dontnote</option> –>-->
|
|
|
|
|
<!-- <!– 打印配置信息 –>-->
|
|
|
|
|
<!-- <option>-printconfiguration</option>-->
|
|
|
|
|
<!-- <!– 不混淆controller入口类-->
|
|
|
|
|
<!-- <option>-keep class com.platform.scamp.entity.** {*;}</option>-->
|
|
|
|
|
<!-- <option>-keep class com.platform.scamp.service.ScampVehicleTrackService {*;}</option>-->
|
|
|
|
|
<!-- <option>-keep class com.platform.scamp.controller.** {*;}</option>–>-->
|
|
|
|
|
<!-- </options>-->
|
|
|
|
|
<!-- <injarNotExistsSkip>true</injarNotExistsSkip>-->
|
|
|
|
|
<!-- <!– 把jar包放到临时目录以便缩短命令行 –>-->
|
|
|
|
|
<!-- <putLibraryJarsInTempDir>true</putLibraryJarsInTempDir>-->
|
|
|
|
|
<!-- </configuration>-->
|
|
|
|
|
<!-- <dependencies>-->
|
|
|
|
|
<!-- <dependency>-->
|
|
|
|
|
<!-- <groupId>com.guardsquare</groupId>-->
|
|
|
|
|
<!-- <artifactId>proguard-base</artifactId>-->
|
|
|
|
|
<!-- <version>7.1.0</version>-->
|
|
|
|
|
<!-- <scope>runtime</scope>-->
|
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
<!-- <dependency>-->
|
|
|
|
|
<!-- <groupId>com.guardsquare</groupId>-->
|
|
|
|
|
<!-- <artifactId>proguard-core</artifactId>-->
|
|
|
|
|
<!-- <version>7.1.0</version>-->
|
|
|
|
|
<!-- <scope>runtime</scope>-->
|
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
<!-- </dependencies>-->
|
|
|
|
|
<!-- </plugin>-->
|
|
|
|
|
|
|
|
|
|
<!-- <plugin>-->
|
|
|
|
|
<!-- <!– https://gitee.com/roseboy/classfinal –>-->
|
|
|
|
|
<!-- <groupId>net.roseboy</groupId>-->
|
|
|
|
|
<!-- <artifactId>classfinal-maven-plugin</artifactId>-->
|
|
|
|
|
<!-- <version>${classfinal.version}</version>-->
|
|
|
|
|
<!-- <configuration>-->
|
|
|
|
|
<!-- <password>000000</password><!–加密打包之后pom.xml会被删除,不用担心在jar包里找到此密码–>-->
|
|
|
|
|
<!-- <packages>com.yourpackage,com.yourpackage2</packages>-->
|
|
|
|
|
<!-- <cfgfiles>application.yml</cfgfiles>-->
|
|
|
|
|
<!-- <excludes>org.spring</excludes>-->
|
|
|
|
|
<!-- <libjars>a.jar,b.jar</libjars>-->
|
|
|
|
|
<!-- </configuration>-->
|
|
|
|
|
<!-- <executions>-->
|
|
|
|
|
<!-- <execution>-->
|
|
|
|
|
<!-- <phase>package</phase>-->
|
|
|
|
|
<!-- <goals>-->
|
|
|
|
|
<!-- <goal>classFinal</goal>-->
|
|
|
|
|
<!-- </goals>-->
|
|
|
|
|
<!-- </execution>-->
|
|
|
|
|
<!-- </executions>-->
|
|
|
|
|
<!-- </plugin>-->
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</project>
|