pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.simuwang</groupId>
  7. <artifactId>data-daq</artifactId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <artifactId>service-deploy</artifactId>
  11. <version>1.0.0</version>
  12. <name>service-deploy</name>
  13. <description>数据采集系统入口</description>
  14. <packaging>jar</packaging>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.springframework.boot</groupId>
  18. <artifactId>spring-boot-starter-undertow</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-aop</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.simuwang</groupId>
  26. <artifactId>service-base</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>com.simuwang</groupId>
  30. <artifactId>service-calc</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.simuwang</groupId>
  34. <artifactId>service-manage</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.simuwang</groupId>
  38. <artifactId>service-daq</artifactId>
  39. </dependency>
  40. <!-- JUnit 5 -->
  41. <dependency>
  42. <groupId>org.junit.jupiter</groupId>
  43. <artifactId>junit-jupiter-engine</artifactId>
  44. <scope>test</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-test</artifactId>
  49. <scope>test</scope>
  50. <exclusions>
  51. <exclusion>
  52. <groupId>org.junit.vintage</groupId>
  53. <artifactId>junit-vintage-engine</artifactId>
  54. </exclusion>
  55. </exclusions>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-devtools</artifactId>
  60. <scope>runtime</scope>
  61. <optional>true</optional>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-configuration-processor</artifactId>
  66. <optional>true</optional>
  67. </dependency>
  68. </dependencies>
  69. <build>
  70. <plugins>
  71. <plugin>
  72. <groupId>org.graalvm.buildtools</groupId>
  73. <artifactId>native-maven-plugin</artifactId>
  74. </plugin>
  75. <plugin>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-maven-plugin</artifactId>
  78. <configuration>
  79. <mainClass>com.simuwang.Application</mainClass> <!-- 指定主类 -->
  80. <layout>JAR</layout> <!-- 可选,指定打包布局,默认为ZIP -->
  81. <executable>true</executable> <!-- 使Jar可执行 -->
  82. <includeSystemScope>true</includeSystemScope> <!-- 包括system范围内的依赖 -->
  83. <!-- <assembly>-->
  84. <!-- <descriptorRef>jar-with-dependencies</descriptorRef>-->
  85. <!-- <archive>-->
  86. <!-- <manifest>-->
  87. <!-- <mainClass>com.simuwang.Application</mainClass> &lt;!&ndash; 再次指定主类 &ndash;&gt;-->
  88. <!-- </manifest>-->
  89. <!-- </archive>-->
  90. <!-- </assembly>-->
  91. </configuration>
  92. <executions>
  93. <execution>
  94. <goals>
  95. <goal>repackage</goal>
  96. </goals>
  97. </execution>
  98. </executions>
  99. </plugin>
  100. </plugins>
  101. </build>
  102. </project>