|
@ -2,21 +2,74 @@ |
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
|
<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"> |
|
|
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> |
|
|
<modelVersion>4.0.0</modelVersion> |
|
|
<parent> |
|
|
|
|
|
<groupId>org.springframework.boot</groupId> |
|
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId> |
|
|
|
|
|
<version>3.2.3</version> |
|
|
|
|
|
<relativePath/> <!-- lookup parent from repository --> |
|
|
|
|
|
</parent> |
|
|
|
|
|
|
|
|
<!-- <parent>--> |
|
|
|
|
|
<!-- <groupId>org.springframework.boot</groupId>--> |
|
|
|
|
|
<!-- <artifactId>spring-boot-starter-parent</artifactId>--> |
|
|
|
|
|
<!-- <version>3.2.3</version>--> |
|
|
|
|
|
<!-- <relativePath/> <!– lookup parent from repository –>--> |
|
|
|
|
|
<!-- </parent>--> |
|
|
<groupId>com.binary</groupId> |
|
|
<groupId>com.binary</groupId> |
|
|
<artifactId>weight</artifactId> |
|
|
<artifactId>weight</artifactId> |
|
|
<version>0.0.1-SNAPSHOT</version> |
|
|
<version>0.0.1-SNAPSHOT</version> |
|
|
<name>weight</name> |
|
|
<name>weight</name> |
|
|
<description>Weight project for Spring Boot</description> |
|
|
<description>Weight project for Spring Boot</description> |
|
|
|
|
|
|
|
|
<properties> |
|
|
<properties> |
|
|
<java.version>17</java.version> |
|
|
<java.version>17</java.version> |
|
|
|
|
|
<spring-boot.version>2.7.15</spring-boot.version> |
|
|
|
|
|
<spring-cloud.version>2021.0.8</spring-cloud.version> |
|
|
|
|
|
<maven.compile.source>17</maven.compile.source> |
|
|
|
|
|
<maven.compile.target>17</maven.compile.target> |
|
|
</properties> |
|
|
</properties> |
|
|
|
|
|
|
|
|
|
|
|
<dependencyManagement> |
|
|
|
|
|
<dependencies> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>org.springframework.boot</groupId> |
|
|
|
|
|
<artifactId>spring-boot-dependencies</artifactId> |
|
|
|
|
|
<version>${spring-boot.version}</version> |
|
|
|
|
|
<type>pom</type> |
|
|
|
|
|
<scope>import</scope> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>org.springframework.cloud</groupId> |
|
|
|
|
|
<artifactId>spring-cloud-dependencies</artifactId> |
|
|
|
|
|
<version>${spring-cloud.version}</version> |
|
|
|
|
|
<type>pom</type> |
|
|
|
|
|
<scope>import</scope> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId> |
|
|
|
|
|
<artifactId>spring-cloud-alibaba-dependencies</artifactId> |
|
|
|
|
|
<version>2021.1</version> |
|
|
|
|
|
<type>pom</type> |
|
|
|
|
|
<scope>import</scope> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
</dependencies> |
|
|
|
|
|
</dependencyManagement> |
|
|
|
|
|
|
|
|
<dependencies> |
|
|
<dependencies> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>org.springframework.cloud</groupId> |
|
|
|
|
|
<artifactId>spring-cloud-starter-bootstrap</artifactId> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId> |
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId> |
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>org.springframework.cloud</groupId> |
|
|
|
|
|
<artifactId>spring-cloud-starter-openfeign</artifactId> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>org.springframework.cloud</groupId> |
|
|
|
|
|
<artifactId>spring-cloud-starter-loadbalancer</artifactId> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
|
|
|
<dependency> |
|
|
<dependency> |
|
|
<groupId>org.apache.commons</groupId> |
|
|
<groupId>org.apache.commons</groupId> |
|
|
<artifactId>commons-lang3</artifactId> |
|
|
<artifactId>commons-lang3</artifactId> |
|
@ -51,10 +104,33 @@ |
|
|
</dependencies> |
|
|
</dependencies> |
|
|
|
|
|
|
|
|
<build> |
|
|
<build> |
|
|
|
|
|
<finalName>${project.name}-server</finalName> |
|
|
|
|
|
|
|
|
<plugins> |
|
|
<plugins> |
|
|
<plugin> |
|
|
<plugin> |
|
|
<groupId>org.springframework.boot</groupId> |
|
|
<groupId>org.springframework.boot</groupId> |
|
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
|
|
|
|
<executions> |
|
|
|
|
|
<execution> |
|
|
|
|
|
<goals> |
|
|
|
|
|
<goal>repackage</goal> |
|
|
|
|
|
</goals> |
|
|
|
|
|
</execution> |
|
|
|
|
|
</executions> |
|
|
|
|
|
</plugin> |
|
|
|
|
|
|
|
|
|
|
|
<plugin> |
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId> |
|
|
|
|
|
<version>3.11.0</version> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<source>${maven.compile.source}</source> |
|
|
|
|
|
<target>${maven.compile.target}</target> |
|
|
|
|
|
<encoding>UTF-8</encoding> |
|
|
|
|
|
<compilerArgs> |
|
|
|
|
|
<arg>-parameters</arg> |
|
|
|
|
|
</compilerArgs> |
|
|
|
|
|
</configuration> |
|
|
</plugin> |
|
|
</plugin> |
|
|
</plugins> |
|
|
</plugins> |
|
|
</build> |
|
|
</build> |
|
|