1
0

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