|
@@ -56,6 +56,10 @@
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
</dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
+ </dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.zjugis.cloud</groupId>
|
|
@@ -86,29 +90,14 @@
|
|
|
|
|
|
<build>
|
|
|
<plugins>
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
|
|
- <version>3.8.1</version>
|
|
|
- <configuration>
|
|
|
- <source>1.8</source>
|
|
|
- <target>1.8</target>
|
|
|
- <encoding>UTF-8</encoding>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
<version>${spring.boot.version}</version>
|
|
|
- <configuration>
|
|
|
- <mainClass>com.zjugis.report.ZjugisReportApplication</mainClass>
|
|
|
- <skip>true</skip>
|
|
|
- </configuration>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
- <id>repackage</id>
|
|
|
<goals>
|
|
|
- <goal>repackage</goal>
|
|
|
+ <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
|
|
|
</goals>
|
|
|
</execution>
|
|
|
</executions>
|