pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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.github.ulisesbocchio</groupId>
  26. <artifactId>jasypt-spring-boot-starter</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>com.simuwang</groupId>
  30. <artifactId>service-base</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.simuwang</groupId>
  34. <artifactId>service-calc</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.simuwang</groupId>
  38. <artifactId>service-manage</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>com.simuwang</groupId>
  42. <artifactId>service-daq</artifactId>
  43. </dependency>
  44. <!-- JUnit 5 -->
  45. <dependency>
  46. <groupId>org.junit.jupiter</groupId>
  47. <artifactId>junit-jupiter-engine</artifactId>
  48. <scope>test</scope>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-test</artifactId>
  53. <scope>test</scope>
  54. <exclusions>
  55. <exclusion>
  56. <groupId>org.junit.vintage</groupId>
  57. <artifactId>junit-vintage-engine</artifactId>
  58. </exclusion>
  59. </exclusions>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.jasypt</groupId>
  63. <artifactId>jasypt</artifactId>
  64. <version>1.9.3</version>
  65. </dependency>
  66. </dependencies>
  67. <build>
  68. <plugins>
  69. <plugin>
  70. <groupId>org.graalvm.buildtools</groupId>
  71. <artifactId>native-maven-plugin</artifactId>
  72. </plugin>
  73. <plugin>
  74. <groupId>com.github.ulisesbocchio</groupId>
  75. <artifactId>jasypt-maven-plugin</artifactId>
  76. <version>3.0.5</version>
  77. <configuration>
  78. <path>file:src/main/resources/application.yaml</path>
  79. </configuration>
  80. </plugin>
  81. <plugin>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-maven-plugin</artifactId>
  84. <configuration>
  85. <mainClass>com.simuwang.Application</mainClass> <!-- 指定主类 -->
  86. <layout>JAR</layout> <!-- 可选,指定打包布局,默认为ZIP -->
  87. <executable>true</executable> <!-- 使Jar可执行 -->
  88. <includeSystemScope>true</includeSystemScope> <!-- 包括system范围内的依赖 -->
  89. </configuration>
  90. <executions>
  91. <execution>
  92. <goals>
  93. <goal>repackage</goal>
  94. </goals>
  95. </execution>
  96. </executions>
  97. </plugin>
  98. </plugins>
  99. </build>
  100. </project>