pom.xml 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. </dependencies>
  58. <build>
  59. <plugins>
  60. <plugin>
  61. <groupId>org.graalvm.buildtools</groupId>
  62. <artifactId>native-maven-plugin</artifactId>
  63. </plugin>
  64. <plugin>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-maven-plugin</artifactId>
  67. <configuration>
  68. <mainClass>com.simuwang.Application</mainClass> <!-- 指定主类 -->
  69. <layout>JAR</layout> <!-- 可选,指定打包布局,默认为ZIP -->
  70. <executable>true</executable> <!-- 使Jar可执行 -->
  71. <includeSystemScope>true</includeSystemScope> <!-- 包括system范围内的依赖 -->
  72. <!-- <assembly>-->
  73. <!-- <descriptorRef>jar-with-dependencies</descriptorRef>-->
  74. <!-- <archive>-->
  75. <!-- <manifest>-->
  76. <!-- <mainClass>com.simuwang.Application</mainClass> &lt;!&ndash; 再次指定主类 &ndash;&gt;-->
  77. <!-- </manifest>-->
  78. <!-- </archive>-->
  79. <!-- </assembly>-->
  80. </configuration>
  81. <executions>
  82. <execution>
  83. <goals>
  84. <goal>repackage</goal>
  85. </goals>
  86. </execution>
  87. </executions>
  88. </plugin>
  89. </plugins>
  90. </build>
  91. </project>