Эх сурвалжийг харах

!19 更新spring-boot-maven-plugin插件里面的配置信息
Merge pull request !19 from tiger/local_tenant

花木水之间 1 жил өмнө
parent
commit
4dc067784b
1 өөрчлөгдсөн 6 нэмэгдсэн , 12 устгасан
  1. 6 12
      iot-starter/pom.xml

+ 6 - 12
iot-starter/pom.xml

@@ -254,6 +254,12 @@
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-maven-plugin</artifactId>
         <version>${spring-boot.version}</version>
+        <configuration>
+          <agents>
+            <agent>${project.build.directory}/spring-instrument-${spring-framework.version}.jar</agent>
+            <agent>${project.build.directory}/aspectjweaver-${aspectj.version}.jar</agent>
+          </agents>
+        </configuration>
         <executions>
           <execution>
             <goals>
@@ -288,18 +294,6 @@
           </execution>
         </executions>
       </plugin>
-
-      <plugin>
-        <groupId>org.springframework.boot</groupId>
-        <artifactId>spring-boot-maven-plugin</artifactId>
-        <configuration>
-          <agents>
-            <agent>${project.build.directory}/spring-instrument-${spring-framework.version}.jar</agent>
-            <agent>${project.build.directory}/aspectjweaver-${aspectj.version}.jar</agent>
-          </agents>
-        </configuration>
-      </plugin>
-
     </plugins>
   </build>