|
@@ -8,70 +8,113 @@
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
</parent>
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
-
|
|
|
<artifactId>game-gs-data-serve</artifactId>
|
|
|
|
|
|
- <name>game-gs-data-serve</name>
|
|
|
- <url>http://www.example.com</url>
|
|
|
-
|
|
|
- <properties>
|
|
|
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
- <maven.compiler.source>1.7</maven.compiler.source>
|
|
|
- <maven.compiler.target>1.7</maven.compiler.target>
|
|
|
- </properties>
|
|
|
-
|
|
|
<dependencies>
|
|
|
+ <!-- game-gs-data-base -->
|
|
|
+ <dependency>
|
|
|
+ <artifactId>game-gs-data-base</artifactId>
|
|
|
+ <groupId>com.zanxiang.game</groupId>
|
|
|
+ <version>${project.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- spring-boot-starter -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!-- spring-cloud -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-starter</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!-- spring boot默认不去扫描 bootstrap.yml文件了 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-starter-bootstrap</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!-- SpringBoot start -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-web</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!-- nacos配置中心 默认的 nacos-client 2.0.3有 bug -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>com.alibaba.nacos</groupId>
|
|
|
+ <artifactId>nacos-client</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ <!-- nacos注册中心 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>com.alibaba.nacos</groupId>
|
|
|
+ <artifactId>nacos-client</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba.nacos</groupId>
|
|
|
+ <artifactId>nacos-client</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!-- 解决validated不生效的依赖问题 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.hibernate.validator</groupId>
|
|
|
+ <artifactId>hibernate-validator</artifactId>
|
|
|
+ <version>6.0.17.Final</version>
|
|
|
+ <scope>compile</scope>
|
|
|
+ </dependency>
|
|
|
+ <!-- erp权限 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.zanxiang.erp</groupId>
|
|
|
+ <artifactId>erp-security</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <!-- swagger2 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.springfox</groupId>
|
|
|
+ <artifactId>springfox-swagger2</artifactId>
|
|
|
+ <version>${swagger2.version}</version>
|
|
|
+ </dependency>
|
|
|
<dependency>
|
|
|
- <groupId>junit</groupId>
|
|
|
- <artifactId>junit</artifactId>
|
|
|
- <version>4.11</version>
|
|
|
- <scope>test</scope>
|
|
|
+ <groupId>io.springfox</groupId>
|
|
|
+ <artifactId>springfox-swagger-ui</artifactId>
|
|
|
+ <version>${swagger2.ui.version}</version>
|
|
|
</dependency>
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
|
- <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
|
|
|
- <plugins>
|
|
|
- <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-clean-plugin</artifactId>
|
|
|
- <version>3.1.0</version>
|
|
|
- </plugin>
|
|
|
- <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-resources-plugin</artifactId>
|
|
|
- <version>3.0.2</version>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
|
|
- <version>3.8.0</version>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-surefire-plugin</artifactId>
|
|
|
- <version>2.22.1</version>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-jar-plugin</artifactId>
|
|
|
- <version>3.0.2</version>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-install-plugin</artifactId>
|
|
|
- <version>2.5.2</version>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-deploy-plugin</artifactId>
|
|
|
- <version>2.8.2</version>
|
|
|
- </plugin>
|
|
|
- <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-site-plugin</artifactId>
|
|
|
- <version>3.7.1</version>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-project-info-reports-plugin</artifactId>
|
|
|
- <version>3.0.0</version>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- </pluginManagement>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <version>3.1</version>
|
|
|
+ <configuration>
|
|
|
+ <source>8</source>
|
|
|
+ <target>8</target>
|
|
|
+ <encoding>${project.build.sourceEncoding}</encoding>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <version>2.5.14</version>
|
|
|
+ <configuration>
|
|
|
+ <includeSystemScope>true</includeSystemScope>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <goals>
|
|
|
+ <goal>repackage</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
</build>
|
|
|
</project>
|