|
@@ -0,0 +1,235 @@
|
|
|
|
+<?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">
|
|
|
|
+ <parent>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
+ <version>2.3.1.RELEASE</version>
|
|
|
|
+ <relativePath /> <!-- lookup parent from repository -->
|
|
|
|
+ </parent>
|
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
|
+
|
|
|
|
+ <artifactId>xynet-service-marketing</artifactId>
|
|
|
|
+ <version>1.0</version>
|
|
|
|
+
|
|
|
|
+ <properties>
|
|
|
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
+ <java.version>1.8</java.version>
|
|
|
|
+ <spring-cloud.version>Hoxton.SR6</spring-cloud.version>
|
|
|
|
+ </properties>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <dependencies>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
|
+ <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
|
+ <artifactId>lombok</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+ <!-- hutool -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>cn.hutool</groupId>
|
|
|
|
+ <artifactId>hutool-all</artifactId>
|
|
|
|
+ <version>5.8.10</version>
|
|
|
|
+ </dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
+ <exclusions><!-- 去掉默认配置 -->
|
|
|
|
+ <exclusion>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-logging</artifactId>
|
|
|
|
+ </exclusion>
|
|
|
|
+ </exclusions>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-log4j2</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <!-- String工具类 -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.apache.commons</groupId>
|
|
|
|
+ <artifactId>commons-lang3</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+ <!-- mysql 依赖 -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>mysql</groupId>
|
|
|
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <!-- mybatis-plus -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>com.baomidou</groupId>
|
|
|
|
+ <artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
|
+ <version>3.5.2</version>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>javax.servlet</groupId>
|
|
|
|
+ <artifactId>javax.servlet-api</artifactId>
|
|
|
|
+ <scope>provided</scope>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <!-- redis -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>redis.clients</groupId>
|
|
|
|
+ <artifactId>jedis</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
+ <artifactId>jackson-databind</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <!-- https://mvnrepository.com/artifact/com.auth0/java-jwt -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>com.auth0</groupId>
|
|
|
|
+ <artifactId>java-jwt</artifactId>
|
|
|
|
+ <version>3.10.3</version>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
|
+ <artifactId>fastjson</artifactId>
|
|
|
|
+ <version>1.2.71</version>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <!-- https://mvnrepository.com/artifact/org.apache.shiro/shiro-spring 生成加盐密码 -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.apache.shiro</groupId>
|
|
|
|
+ <artifactId>shiro-spring</artifactId>
|
|
|
|
+ <version>1.5.3</version>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <!--poi依赖 -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.apache.poi</groupId>
|
|
|
|
+ <artifactId>poi-ooxml</artifactId>
|
|
|
|
+ <version>3.14</version>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <!-- 导出excel相关的jar包 -->
|
|
|
|
+ <!-- <dependency>
|
|
|
|
+ <groupId>org.apache.poi</groupId>
|
|
|
|
+ <artifactId>poi</artifactId>
|
|
|
|
+ <version>3.10-FINAL</version>
|
|
|
|
+ </dependency>-->
|
|
|
|
+
|
|
|
|
+ <!-- apache httpclient组件 -->
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.apache.httpcomponents</groupId>
|
|
|
|
+ <artifactId>httpclient</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
|
+ <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
|
|
|
|
+ <version>2.2.3.RELEASE</version>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
|
+ <artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
|
|
+ <version>2.2.3.RELEASE</version>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ </dependencies>
|
|
|
|
+
|
|
|
|
+ <dependencyManagement>
|
|
|
|
+ <dependencies>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
|
+ <artifactId>spring-cloud-dependencies</artifactId>
|
|
|
|
+ <version>${spring-cloud.version}</version>
|
|
|
|
+ <type>pom</type>
|
|
|
|
+ <scope>import</scope>
|
|
|
|
+ </dependency>
|
|
|
|
+ </dependencies>
|
|
|
|
+ </dependencyManagement>
|
|
|
|
+
|
|
|
|
+ <build>
|
|
|
|
+ <plugins>
|
|
|
|
+ <plugin>
|
|
|
|
+ <artifactId>maven-jar-plugin</artifactId>
|
|
|
|
+ <version>2.6</version>
|
|
|
|
+ <configuration>
|
|
|
|
+ <archive>
|
|
|
|
+ <manifest>
|
|
|
|
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
|
|
+ <addClasspath>true</addClasspath>
|
|
|
|
+ <mainClass>com.xynet.AdminApplication</mainClass>
|
|
|
|
+ <classpathPrefix>dependency</classpathPrefix>
|
|
|
|
+ <useUniqueVersions>false</useUniqueVersions>
|
|
|
|
+ </manifest>
|
|
|
|
+ </archive>
|
|
|
|
+ </configuration>
|
|
|
|
+ </plugin>
|
|
|
|
+ <plugin>
|
|
|
|
+ <artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
+ <executions>
|
|
|
|
+ <execution>
|
|
|
|
+ <id>copy-dependencies</id>
|
|
|
|
+ <phase>package</phase>
|
|
|
|
+ <goals>
|
|
|
|
+ <goal>copy-dependencies</goal>
|
|
|
|
+ </goals>
|
|
|
|
+ </execution>
|
|
|
|
+ </executions>
|
|
|
|
+ </plugin>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <plugin>
|
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
+ <configuration>
|
|
|
|
+ <source>1.8</source>
|
|
|
|
+ <target>1.8</target>
|
|
|
|
+ <encoding>UTF-8</encoding>
|
|
|
|
+ <compilerArguments>
|
|
|
|
+ <extdirs>${project.basedir}/src/main/lib</extdirs>
|
|
|
|
+ </compilerArguments>
|
|
|
|
+ </configuration>
|
|
|
|
+ </plugin>
|
|
|
|
+
|
|
|
|
+ <!-- maven打包跳过编译 -->
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
+ <configuration>
|
|
|
|
+ <skip>true</skip>
|
|
|
|
+ </configuration>
|
|
|
|
+ </plugin>
|
|
|
|
+ </plugins>
|
|
|
|
+ <defaultGoal>compile</defaultGoal>
|
|
|
|
+
|
|
|
|
+ <resources>
|
|
|
|
+ <resource>
|
|
|
|
+ <directory>src/main/java</directory>
|
|
|
|
+ <includes>
|
|
|
|
+ <include>**/*.properties</include>
|
|
|
|
+ <include>**/*.xml</include>
|
|
|
|
+ </includes>
|
|
|
|
+ <filtering>false</filtering>
|
|
|
|
+ </resource>
|
|
|
|
+ <resource>
|
|
|
|
+ <directory>src/main/resources</directory>
|
|
|
|
+ </resource>
|
|
|
|
+ </resources>
|
|
|
|
+ </build>
|
|
|
|
+</project>
|