pom.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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>com.alibaba.csp</groupId>-->
  69. <!-- <artifactId>sentinel-core</artifactId>-->
  70. <!-- <version>1.8.6</version>-->
  71. <!-- </dependency>-->
  72. <!-- <dependency>-->
  73. <!-- <groupId>org.springframework.boot</groupId>-->
  74. <!-- <artifactId>spring-boot-starter-data-jpa</artifactId>-->
  75. <!-- </dependency>-->
  76. <!-- https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc -->
  77. <dependency>
  78. <groupId>org.xerial</groupId>
  79. <artifactId>sqlite-jdbc</artifactId>
  80. <version>3.42.0.0</version>
  81. </dependency>
  82. <!-- jdbc -->
  83. <dependency>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-starter-jdbc</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>commons-net</groupId>
  89. <artifactId>commons-net</artifactId>
  90. <version>3.8.0</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>io.netty</groupId>
  94. <artifactId>netty-common</artifactId>
  95. </dependency>
  96. </dependencies>
  97. <!-- <dependencyManagement>-->
  98. <!-- <dependencies>-->
  99. <!-- <dependency>-->
  100. <!-- <groupId>org.springframework.boot</groupId>-->
  101. <!-- <artifactId>spring-boot-dependencies</artifactId>-->
  102. <!-- <version>${spring-boot.version}</version>-->
  103. <!-- <type>pom</type>-->
  104. <!-- <scope>import</scope>-->
  105. <!-- </dependency>-->
  106. <!-- </dependencies>-->
  107. <!-- </dependencyManagement>-->
  108. <parent>
  109. <groupId>org.springframework.boot</groupId>
  110. <artifactId>spring-boot-dependencies</artifactId>
  111. <version>2.6.13</version>
  112. <relativePath/>
  113. </parent>
  114. <build>
  115. <plugins>
  116. <plugin>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-maven-plugin</artifactId>
  119. <configuration>
  120. <fork>true</fork>
  121. <!-- <classifier>exec</classifier>-->
  122. <mainClass>cn.vbdsm.hj212.modbus.VbdsmHj212ModbusApplication</mainClass>
  123. </configuration>
  124. <executions>
  125. <execution>
  126. <goals>
  127. <goal>repackage</goal>
  128. </goals>
  129. </execution>
  130. </executions>
  131. </plugin>
  132. <plugin>
  133. <groupId>org.apache.maven.plugins</groupId>
  134. <artifactId>maven-compiler-plugin</artifactId>
  135. <version>3.8.1</version>
  136. <configuration>
  137. <source>1.8</source>
  138. <target>1.8</target>
  139. <encoding>UTF-8</encoding>
  140. </configuration>
  141. </plugin>
  142. <!-- <plugin>-->
  143. <!-- <groupId>org.springframework.boot</groupId>-->
  144. <!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
  145. <!-- <version>${spring-boot.version}</version>-->
  146. <!-- <configuration>-->
  147. <!-- <mainClass>cn.vbdsm.hj212.modbus.VbdsmHj212ModbusApplication</mainClass>-->
  148. <!-- <skip>true</skip>-->
  149. <!-- </configuration>-->
  150. <!-- <executions>-->
  151. <!-- <execution>-->
  152. <!-- <id>repackage</id>-->
  153. <!-- <goals>-->
  154. <!-- <goal>repackage</goal>-->
  155. <!-- </goals>-->
  156. <!-- </execution>-->
  157. <!-- </executions>-->
  158. <!-- </plugin>-->
  159. </plugins>
  160. </build>
  161. </project>