pom.xml 5.2 KB

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