pom.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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. <groupId>cn.vbdsm</groupId>
  6. <artifactId>vbdsm-hj212-modbus</artifactId>
  7. <version>2.1.0</version>
  8. <name>vbdsm-hj212-modbus</name>
  9. <properties>
  10. <java.version>1.8</java.version>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  13. <spring-boot.version>2.6.13</spring-boot.version>
  14. </properties>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.springframework.boot</groupId>
  18. <artifactId>spring-boot-starter-web</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-test</artifactId>
  23. <scope>test</scope>
  24. </dependency>
  25. <dependency>
  26. <groupId>cn.hutool</groupId>
  27. <artifactId>hutool-all</artifactId>
  28. <version>5.8.20</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.projectlombok</groupId>
  32. <artifactId>lombok</artifactId>
  33. <version>1.18.28</version>
  34. <optional>true</optional>
  35. </dependency>
  36. <dependency>
  37. <groupId>io.netty</groupId>
  38. <artifactId>netty-all</artifactId>
  39. <version>4.1.94.Final</version>
  40. </dependency>
  41. <!--webservice-->
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-web-services</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.apache.cxf</groupId>
  48. <artifactId>cxf-rt-frontend-jaxws</artifactId>
  49. <version>3.1.6</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.apache.cxf</groupId>
  53. <artifactId>cxf-rt-transports-http</artifactId>
  54. <version>3.1.6</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.alibaba.fastjson2</groupId>
  58. <artifactId>fastjson2</artifactId>
  59. <version>2.0.32</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>javax.core.common</groupId>
  63. <artifactId>core-common-utils</artifactId>
  64. <version>1.0</version>
  65. <scope>compile</scope>
  66. </dependency>
  67. <!-- <dependency>-->
  68. <!-- <groupId>org.apache.cxf</groupId>-->
  69. <!-- <artifactId>cxf-rt-transports-http</artifactId>-->
  70. <!-- <version>2.7.1</version>-->
  71. <!-- <scope>compile</scope>-->
  72. <!-- </dependency>-->
  73. <dependency>
  74. <groupId>com.alibaba.csp</groupId>
  75. <artifactId>sentinel-core</artifactId>
  76. <version>1.8.6</version>
  77. </dependency>
  78. </dependencies>
  79. <!-- <dependencyManagement>-->
  80. <!-- <dependencies>-->
  81. <!-- <dependency>-->
  82. <!-- <groupId>org.springframework.boot</groupId>-->
  83. <!-- <artifactId>spring-boot-dependencies</artifactId>-->
  84. <!-- <version>${spring-boot.version}</version>-->
  85. <!-- <type>pom</type>-->
  86. <!-- <scope>import</scope>-->
  87. <!-- </dependency>-->
  88. <!-- </dependencies>-->
  89. <!-- </dependencyManagement>-->
  90. <parent>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-dependencies</artifactId>
  93. <version>2.6.13</version>
  94. <relativePath/>
  95. </parent>
  96. <build>
  97. <plugins>
  98. <plugin>
  99. <groupId>org.springframework.boot</groupId>
  100. <artifactId>spring-boot-maven-plugin</artifactId>
  101. <configuration>
  102. <fork>true</fork>
  103. <!-- <classifier>exec</classifier>-->
  104. <mainClass>cn.vbdsm.hj212.modbus.VbdsmHj212ModbusApplication</mainClass>
  105. </configuration>
  106. <executions>
  107. <execution>
  108. <goals>
  109. <goal>repackage</goal>
  110. </goals>
  111. </execution>
  112. </executions>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-compiler-plugin</artifactId>
  117. <version>3.8.1</version>
  118. <configuration>
  119. <source>1.8</source>
  120. <target>1.8</target>
  121. <encoding>UTF-8</encoding>
  122. </configuration>
  123. </plugin>
  124. <!-- <plugin>-->
  125. <!-- <groupId>org.springframework.boot</groupId>-->
  126. <!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
  127. <!-- <version>${spring-boot.version}</version>-->
  128. <!-- <configuration>-->
  129. <!-- <mainClass>cn.vbdsm.hj212.modbus.VbdsmHj212ModbusApplication</mainClass>-->
  130. <!-- <skip>true</skip>-->
  131. <!-- </configuration>-->
  132. <!-- <executions>-->
  133. <!-- <execution>-->
  134. <!-- <id>repackage</id>-->
  135. <!-- <goals>-->
  136. <!-- <goal>repackage</goal>-->
  137. <!-- </goals>-->
  138. <!-- </execution>-->
  139. <!-- </executions>-->
  140. <!-- </plugin>-->
  141. </plugins>
  142. </build>
  143. </project>