|
@@ -9,7 +9,7 @@
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
</parent>
|
|
|
<groupId>com.syjy</groupId>
|
|
|
- <artifactId>calculation</artifactId>
|
|
|
+ <artifactId>calculation-spring-boot-starter</artifactId>
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
<name>calculation</name>
|
|
|
<description>Demo project for Spring Boot</description>
|
|
@@ -70,13 +70,44 @@
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
<version>1.2.69</version>
|
|
|
</dependency>
|
|
|
+
|
|
|
+ <!--负责从properties文件中读取配置信息-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
+ <version>2.1.5.RELEASE</version>
|
|
|
+ </dependency>
|
|
|
+ <!--实现自动化配置-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-autoconfigure</artifactId>
|
|
|
+ <version>2.1.3.RELEASE</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!--配置文件处理器-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
+ <optional>true</optional>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
|
<plugins>
|
|
|
+ <!--<plugin>-->
|
|
|
+ <!--<groupId>org.springframework.boot</groupId>-->
|
|
|
+ <!--<artifactId>spring-boot-maven-plugin</artifactId>-->
|
|
|
+ <!--</plugin>-->
|
|
|
+
|
|
|
+ <!--跳过test类-->
|
|
|
<plugin>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-surefire-plugin</artifactId>
|
|
|
+ <version>2.21.0</version>
|
|
|
+ <configuration>
|
|
|
+ <skipTests>true</skipTests>
|
|
|
+ </configuration>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|