pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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>com.simuwang</groupId>
  22. <artifactId>service-base</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.simuwang</groupId>
  26. <artifactId>service-calc</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>com.simuwang</groupId>
  30. <artifactId>service-manage</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.simuwang</groupId>
  34. <artifactId>service-daq</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-test</artifactId>
  39. <scope>test</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-devtools</artifactId>
  44. <scope>runtime</scope>
  45. <optional>true</optional>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-configuration-processor</artifactId>
  50. <optional>true</optional>
  51. </dependency>
  52. </dependencies>
  53. <build>
  54. <plugins>
  55. <plugin>
  56. <groupId>org.graalvm.buildtools</groupId>
  57. <artifactId>native-maven-plugin</artifactId>
  58. </plugin>
  59. <plugin>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-maven-plugin</artifactId>
  62. <configuration>
  63. <mainClass>com.simuwang.Application</mainClass> <!-- 指定主类 -->
  64. <layout>JAR</layout> <!-- 可选,指定打包布局,默认为ZIP -->
  65. <executable>true</executable> <!-- 使Jar可执行 -->
  66. <includeSystemScope>true</includeSystemScope> <!-- 包括system范围内的依赖 -->
  67. <!-- <assembly>-->
  68. <!-- <descriptorRef>jar-with-dependencies</descriptorRef>-->
  69. <!-- <archive>-->
  70. <!-- <manifest>-->
  71. <!-- <mainClass>com.simuwang.Application</mainClass> &lt;!&ndash; 再次指定主类 &ndash;&gt;-->
  72. <!-- </manifest>-->
  73. <!-- </archive>-->
  74. <!-- </assembly>-->
  75. </configuration>
  76. <executions>
  77. <execution>
  78. <goals>
  79. <goal>repackage</goal>
  80. </goals>
  81. </execution>
  82. </executions>
  83. </plugin>
  84. </plugins>
  85. </build>
  86. </project>