sba应用管理
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

149 lines
4.6 KiB

6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.2.4.RELEASE</version>
  9. </parent>
  10. <groupId>com.bfd</groupId>
  11. <artifactId>appliction_manager</artifactId>
  12. <version>0.0.1-SNAPSHOT</version>
  13. <name>appliction_manager</name>
  14. <!-- FIXME change it to the project's website -->
  15. <url>http://www.example.com</url>
  16. <properties>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <maven.compiler.source>1.8</maven.compiler.source>
  19. <maven.compiler.target>1.8</maven.compiler.target>
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>junit</groupId>
  24. <artifactId>junit</artifactId>
  25. <version>4.11</version>
  26. <scope>test</scope>
  27. </dependency>
  28. <!-- https://mvnrepository.com/artifact/de.codecentric/spring-boot-admin-starter-server -->
  29. <dependency>
  30. <groupId>de.codecentric</groupId>
  31. <artifactId>spring-boot-admin-starter-server</artifactId>
  32. <version>2.2.4</version>
  33. </dependency>
  34. <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-mail -->
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-mail</artifactId>
  38. <version>2.2.4.RELEASE</version>
  39. </dependency>
  40. <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
  41. <dependency>
  42. <groupId>org.projectlombok</groupId>
  43. <artifactId>lombok</artifactId>
  44. <version>1.18.16</version>
  45. <scope>provided</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.alibaba</groupId>
  49. <artifactId>fastjson</artifactId>
  50. <version>2.0.17</version>
  51. </dependency>
  52. </dependencies>
  53. <build>
  54. <!-- <pluginManagement> --><!-- lock down plugins versions to avoid using Maven defaults (may be moved
  55. to parent pom) -->
  56. <plugins>
  57. <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
  58. <plugin>
  59. <artifactId>maven-clean-plugin</artifactId>
  60. <version>3.1.0</version>
  61. </plugin>
  62. <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
  63. <plugin>
  64. <artifactId>maven-resources-plugin</artifactId>
  65. <version>3.0.2</version>
  66. </plugin>
  67. <plugin>
  68. <artifactId>maven-compiler-plugin</artifactId>
  69. <version>3.8.0</version>
  70. </plugin>
  71. <plugin>
  72. <artifactId>maven-surefire-plugin</artifactId>
  73. <version>2.22.1</version>
  74. </plugin>
  75. <plugin>
  76. <artifactId>maven-jar-plugin</artifactId>
  77. <version>3.0.2</version>
  78. </plugin>
  79. <plugin>
  80. <artifactId>maven-install-plugin</artifactId>
  81. <version>2.5.2</version>
  82. </plugin>
  83. <plugin>
  84. <artifactId>maven-deploy-plugin</artifactId>
  85. <version>2.8.2</version>
  86. </plugin>
  87. <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
  88. <plugin>
  89. <artifactId>maven-site-plugin</artifactId>
  90. <version>3.7.1</version>
  91. </plugin>
  92. <plugin>
  93. <artifactId>maven-project-info-reports-plugin</artifactId>
  94. <version>3.0.0</version>
  95. </plugin>
  96. <!-- spring-boot-maven-plugin插件就是打包spring boot应用的 -->
  97. <plugin>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-maven-plugin</artifactId>
  100. <configuration>
  101. <mainClass>com.bfd.manager.Application</mainClass>
  102. <layout>ZIP</layout>
  103. <includes>
  104. <include>
  105. <groupId>${project.groupId}</groupId>
  106. <artifactId>${project.artifactId}</artifactId>
  107. </include>
  108. </includes>
  109. </configuration>
  110. <executions>
  111. <execution>
  112. <goals>
  113. <goal>repackage</goal>
  114. </goals>
  115. </execution>
  116. </executions>
  117. </plugin>
  118. <plugin>
  119. <groupId>org.apache.maven.plugins</groupId>
  120. <artifactId>maven-dependency-plugin</artifactId>
  121. <version>3.1.1</version>
  122. <executions>
  123. <execution>
  124. <id>copy</id>
  125. <phase>package</phase>
  126. <goals>
  127. <goal>copy-dependencies</goal>
  128. </goals>
  129. <configuration>
  130. <type>jar</type>
  131. <includeTypes>jar</includeTypes>
  132. <includeScope>runtime</includeScope>
  133. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  134. </configuration>
  135. </execution>
  136. </executions>
  137. </plugin>
  138. </plugins>
  139. <!-- </pluginManagement> -->
  140. </build>
  141. </project>