|
@@ -11,10 +11,12 @@
|
|
|
<module>member-service-provider_10000</module>
|
|
<module>member-service-provider_10000</module>
|
|
|
<module>member-service-consumer</module>
|
|
<module>member-service-consumer</module>
|
|
|
<module>common</module>
|
|
<module>common</module>
|
|
|
|
|
+ <module>eureka-server_9001</module>
|
|
|
</modules>
|
|
</modules>
|
|
|
<packaging>pom</packaging>
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
|
|
<properties>
|
|
<properties>
|
|
|
|
|
+ <!--指定各种版本的依赖-->
|
|
|
<maven.compiler.source>17</maven.compiler.source>
|
|
<maven.compiler.source>17</maven.compiler.source>
|
|
|
<maven.compiler.target>17</maven.compiler.target>
|
|
<maven.compiler.target>17</maven.compiler.target>
|
|
|
<spring.boot.version>2.7.17</spring.boot.version>
|
|
<spring.boot.version>2.7.17</spring.boot.version>
|
|
@@ -22,10 +24,12 @@
|
|
|
<log4j.version>1.2.17</log4j.version>
|
|
<log4j.version>1.2.17</log4j.version>
|
|
|
<mybatis.plus.version>3.4.3.4</mybatis.plus.version>
|
|
<mybatis.plus.version>3.4.3.4</mybatis.plus.version>
|
|
|
<druid.version>1.2.16</druid.version>
|
|
<druid.version>1.2.16</druid.version>
|
|
|
|
|
+ <spring.colud.version>2021.0.6</spring.colud.version>
|
|
|
</properties>
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
<dependencyManagement>
|
|
|
<dependencies>
|
|
<dependencies>
|
|
|
|
|
+ <!--springBoot父项目的依赖,以pom配置文件的形式导入-->
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
@@ -33,6 +37,14 @@
|
|
|
<type>pom</type>
|
|
<type>pom</type>
|
|
|
<scope>import</scope>
|
|
<scope>import</scope>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
+ <!--springCloud父项目的依赖,以pom配置文件的形式导入-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
|
|
+ <artifactId>spring-cloud-dependencies</artifactId>
|
|
|
|
|
+ <version>${spring.colud.version}</version>
|
|
|
|
|
+ <type>pom</type>
|
|
|
|
|
+ <scope>import</scope>
|
|
|
|
|
+ </dependency>
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>com.mysql</groupId>
|
|
<groupId>com.mysql</groupId>
|
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
<artifactId>mysql-connector-j</artifactId>
|