You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
363 lines
13 KiB
363 lines
13 KiB
<?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> |
|
<version>2.1.6.RELEASE</version> |
|
<relativePath/> <!-- lookup parent from repository --> |
|
</parent> |
|
|
|
<groupId>com.huoran</groupId> |
|
<artifactId>iasf</artifactId> |
|
<version>1.0.0</version> |
|
<name>IASF</name> |
|
<packaging>jar</packaging> |
|
<description>粒子研究院网站</description> |
|
|
|
<properties> |
|
<java.version>1.8</java.version> |
|
<mybatis-plus.version>3.4.0</mybatis-plus.version> |
|
<mybatis-plus-dynamic.version>2.5.5</mybatis-plus-dynamic.version> |
|
<commons.lang.version>2.6</commons.lang.version> |
|
<commons.io.version>2.5</commons.io.version> |
|
<commons.configuration.version>1.10</commons.configuration.version> |
|
<velocity.version>1.7</velocity.version> |
|
<quartz.version>2.3.2</quartz.version> |
|
<shiro.version>1.4.0</shiro.version> |
|
<druid.version>1.1.10</druid.version> |
|
<fastjson.version>1.2.74</fastjson.version> |
|
<knife4j.version>2.0.2</knife4j.version> |
|
<easy-captcha.version>1.6.2</easy-captcha.version> |
|
<poi.version>4.0.1</poi.version> |
|
<poi-ooxml.version>4.0.1</poi-ooxml.version> |
|
<easypoi-base.version>4.1.3</easypoi-base.version> |
|
<easypoi-web.version>4.1.3</easypoi-web.version> |
|
<easypoi-annotation.version>4.1.3</easypoi-annotation.version> |
|
</properties> |
|
|
|
<dependencyManagement> |
|
<dependencies> |
|
<!--Spring Cloud-alibaba--> |
|
<dependency> |
|
<groupId>com.alibaba.cloud</groupId> |
|
<artifactId>spring-cloud-alibaba-dependencies</artifactId> |
|
<version>2.1.0.RELEASE</version> |
|
<type>pom</type> |
|
<scope>import</scope> |
|
</dependency> |
|
</dependencies> |
|
</dependencyManagement> |
|
|
|
<dependencies> |
|
|
|
<!-- https://mvnrepository.com/artifact/org.jsoup/jsoup --> |
|
<dependency> |
|
<groupId>org.jsoup</groupId> |
|
<artifactId>jsoup</artifactId> |
|
<version>1.17.2</version> |
|
</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-email</artifactId> |
|
<version>1.3.3</version> |
|
</dependency> |
|
|
|
<!--短信发送--> |
|
<dependency> |
|
<groupId>com.aliyun</groupId> |
|
<artifactId>aliyun-java-sdk-core</artifactId> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-cache</artifactId> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-web</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-aop</artifactId> |
|
</dependency> |
|
|
|
<!--数据源--> |
|
<!-- <dependency> |
|
<groupId>com.alibaba</groupId> |
|
<artifactId>druid-spring-boot-starter</artifactId> |
|
<version>${druid.version}</version> |
|
</dependency>--> |
|
<!--redis 依赖--> |
|
<dependency> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-starter-data-redis</artifactId> |
|
</dependency> |
|
|
|
<!--shiro 依赖--> |
|
<dependency> |
|
<groupId>org.apache.shiro</groupId> |
|
<artifactId>shiro-spring</artifactId> |
|
<version>${shiro.version}</version> |
|
</dependency> |
|
<!--lombok--> |
|
<dependency> |
|
<groupId>org.projectlombok</groupId> |
|
<artifactId>lombok</artifactId> |
|
</dependency> |
|
<!--fastJson--> |
|
<dependency> |
|
<groupId>com.alibaba</groupId> |
|
<artifactId>fastjson</artifactId> |
|
<version>${fastjson.version}</version> |
|
</dependency> |
|
<!--数据库持久化 及 插件依赖--> |
|
<dependency> |
|
<groupId>com.baomidou</groupId> |
|
<artifactId>dynamic-datasource-spring-boot-starter</artifactId> |
|
<version>${mybatis-plus-dynamic.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>com.baomidou</groupId> |
|
<artifactId>mybatis-plus</artifactId> |
|
<version>${mybatis-plus.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>com.baomidou</groupId> |
|
<artifactId>mybatis-plus-boot-starter</artifactId> |
|
<version>${mybatis-plus.version}</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>com.baomidou</groupId> |
|
<artifactId>mybatis-plus-generator</artifactId> |
|
<version>${mybatis-plus.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>mysql</groupId> |
|
<artifactId>mysql-connector-java</artifactId> |
|
<scope>runtime</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>com.github.xiaoymin</groupId> |
|
<artifactId>knife4j-spring-boot-starter</artifactId> |
|
<version>${knife4j.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>commons-lang</groupId> |
|
<artifactId>commons-lang</artifactId> |
|
<version>${commons.lang.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>commons-io</groupId> |
|
<artifactId>commons-io</artifactId> |
|
<version>${commons.io.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>commons-configuration</groupId> |
|
<artifactId>commons-configuration</artifactId> |
|
<version>${commons.configuration.version}</version> |
|
</dependency> |
|
<dependency> |
|
<artifactId>velocity</artifactId> |
|
<groupId>org.apache.velocity</groupId> |
|
<version>${velocity.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.quartz-scheduler</groupId> |
|
<artifactId>quartz</artifactId> |
|
<version>${quartz.version}</version> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>com.mchange</groupId> |
|
<artifactId>c3p0</artifactId> |
|
</exclusion> |
|
<exclusion> |
|
<groupId>com.zaxxer</groupId> |
|
<artifactId>HikariCP-java6</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
<dependency> |
|
<groupId>com.github.whvcse</groupId> |
|
<artifactId>easy-captcha</artifactId> |
|
<version>${easy-captcha.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>commons-codec</groupId> |
|
<artifactId>commons-codec</artifactId> |
|
<version>1.13</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>io.jsonwebtoken</groupId> |
|
<artifactId>jjwt</artifactId> |
|
<version>0.9.0</version> |
|
</dependency> |
|
<!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp --> |
|
<dependency> |
|
<groupId>com.squareup.okhttp3</groupId> |
|
<artifactId>okhttp</artifactId> |
|
<version>3.14.9</version> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>cn.hutool</groupId> |
|
<artifactId>hutool-core</artifactId> |
|
<version>5.3.6</version> |
|
</dependency> |
|
|
|
<!-- Easy poi--> |
|
<!-- excle导入导出依赖包 start --> |
|
<!-- excel文件导入导出 --> |
|
<dependency> |
|
<groupId>cn.afterturn</groupId> |
|
<artifactId>easypoi-base</artifactId> |
|
<version>${easypoi-base.version}</version> |
|
<exclusions> |
|
<exclusion> |
|
<artifactId>guava</artifactId> |
|
<groupId>com.google.guava</groupId> |
|
</exclusion> |
|
<exclusion> |
|
<artifactId>guava</artifactId> |
|
<groupId>com.google.guava</groupId> |
|
</exclusion> |
|
<exclusion> |
|
<artifactId>poi-ooxml-schemas</artifactId> |
|
<groupId>org.apache.poi</groupId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
<dependency> |
|
<groupId>cn.afterturn</groupId> |
|
<artifactId>easypoi-web</artifactId> |
|
<version>${easypoi-web.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>cn.afterturn</groupId> |
|
<artifactId>easypoi-annotation</artifactId> |
|
<version>${easypoi-annotation.version}</version> |
|
</dependency> |
|
<!-- excle导入导出依赖包 end --> |
|
<dependency> |
|
<groupId>org.apache.poi</groupId> |
|
<artifactId>poi-ooxml</artifactId> |
|
<version>${poi-ooxml.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.apache.poi</groupId> |
|
<artifactId>poi</artifactId> |
|
<version>${poi.version}</version> |
|
</dependency> |
|
|
|
</dependencies> |
|
|
|
<build> |
|
<finalName>iasf</finalName> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
<configuration> |
|
<fork>true</fork> |
|
</configuration> |
|
</plugin> |
|
|
|
<!--添加配置跳过测试--> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-surefire-plugin</artifactId> |
|
<version>2.22.2</version> |
|
<configuration> |
|
<skipTests>true</skipTests> |
|
</configuration> |
|
</plugin> |
|
|
|
<!-- 加密插件,防止反编译 --> |
|
<plugin> |
|
<!-- https://gitee.com/roseboy/classfinal --> |
|
<groupId>net.roseboy</groupId> |
|
<artifactId>classfinal-maven-plugin</artifactId> |
|
<version>1.2.1</version> |
|
<configuration> |
|
<!--加密密码,如果是#号,则使用无密码模式加密,【加密后没有pom文件,不用担心泄漏】--> |
|
<password>#</password> |
|
<!--加密的包名(可为空,多个用","分割)--> |
|
<packages>com.huoran.iasf</packages> |
|
<!--需要加密的配置文件,一般是classes目录下的yml或properties文件(可为空,多个用","分割)--> |
|
<cfgfiles>*.properties,*.yml</cfgfiles> |
|
<excludes>org.spring</excludes> |
|
<!--外部依赖的jar目录,例如/tomcat/lib(可为空,多个用","分割)--> |
|
<!--<classpath></classpath>--> |
|
<!--运行命令: java -javaagent:iasf-encrypted.jar -jar iasf-encrypted.jar--> |
|
<!--机器码获取命令:java -jar classfinal-fatjar-1.2.1.jar -C --> |
|
<code>FDDEF78DF2FC3D09D733CBEAB15C3AEFD41D8CD98F00B204E9800998ECF8427ED41D8CD98F00B204E9800998ECF8427E</code> |
|
</configuration> |
|
<executions> |
|
<execution> |
|
<phase>package</phase> |
|
<goals> |
|
<goal>classFinal</goal> |
|
</goals> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
</plugins> |
|
|
|
<resources> |
|
<resource> |
|
<!-- 描述存放资源的目录,该路径相对POM路径--> |
|
<directory>src/main/java</directory> |
|
<includes> |
|
<include>**/*.xml</include> |
|
</includes> |
|
</resource> |
|
<resource> |
|
<directory>src/main/resources</directory> |
|
<includes> |
|
<include>**/*</include> |
|
</includes> |
|
<filtering>true</filtering> |
|
</resource> |
|
</resources> |
|
</build> |
|
|
|
<repositories> |
|
<repository> |
|
<id>aliyun-repos</id> |
|
<url>http://maven.aliyun.com/nexus/content/groups/public/</url> |
|
<snapshots> |
|
<enabled>false</enabled> |
|
</snapshots> |
|
</repository> |
|
</repositories> |
|
|
|
<pluginRepositories> |
|
<pluginRepository> |
|
<id>aliyun-plugin</id> |
|
<url>http://maven.aliyun.com/nexus/content/groups/public/</url> |
|
<snapshots> |
|
<enabled>false</enabled> |
|
</snapshots> |
|
</pluginRepository> |
|
</pluginRepositories> |
|
</project>
|
|
|