pom.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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. </dependencies>
  74. <!-- <dependencyManagement>-->
  75. <!-- <dependencies>-->
  76. <!-- <dependency>-->
  77. <!-- <groupId>org.springframework.boot</groupId>-->
  78. <!-- <artifactId>spring-boot-dependencies</artifactId>-->
  79. <!-- <version>${spring-boot.version}</version>-->
  80. <!-- <type>pom</type>-->
  81. <!-- <scope>import</scope>-->
  82. <!-- </dependency>-->
  83. <!-- </dependencies>-->
  84. <!-- </dependencyManagement>-->
  85. <parent>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-dependencies</artifactId>
  88. <version>2.6.13</version>
  89. <relativePath/>
  90. </parent>
  91. <build>
  92. <plugins>
  93. <plugin>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-maven-plugin</artifactId>
  96. <configuration>
  97. <fork>true</fork>
  98. <!-- <classifier>exec</classifier>-->
  99. <mainClass>cn.vbdsm.hj212.modbus.VbdsmHj212ModbusApplication</mainClass>
  100. </configuration>
  101. <executions>
  102. <execution>
  103. <goals>
  104. <goal>repackage</goal>
  105. </goals>
  106. </execution>
  107. </executions>
  108. </plugin>
  109. <plugin>
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-compiler-plugin</artifactId>
  112. <version>3.8.1</version>
  113. <configuration>
  114. <source>1.8</source>
  115. <target>1.8</target>
  116. <encoding>UTF-8</encoding>
  117. </configuration>
  118. </plugin>
  119. <!-- <plugin>-->
  120. <!-- <groupId>org.springframework.boot</groupId>-->
  121. <!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
  122. <!-- <version>${spring-boot.version}</version>-->
  123. <!-- <configuration>-->
  124. <!-- <mainClass>cn.vbdsm.hj212.modbus.VbdsmHj212ModbusApplication</mainClass>-->
  125. <!-- <skip>true</skip>-->
  126. <!-- </configuration>-->
  127. <!-- <executions>-->
  128. <!-- <execution>-->
  129. <!-- <id>repackage</id>-->
  130. <!-- <goals>-->
  131. <!-- <goal>repackage</goal>-->
  132. <!-- </goals>-->
  133. <!-- </execution>-->
  134. <!-- </executions>-->
  135. <!-- </plugin>-->
  136. </plugins>
  137. </build>
  138. </project>