pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.3.12.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <artifactId>smart-grp-nof-devices</artifactId>
  12. <groupId>com.unissoft</groupId>
  13. <version>1.0</version>
  14. <name>smart-grp-nof-devices</name>
  15. <packaging>jar</packaging>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <springboot.version>2.3.12.RELEASE</springboot.version>
  19. <spring-cloud.version>Hoxton.SR12</spring-cloud.version>
  20. <logstash.version>7.0.1</logstash.version>
  21. <fastjson.version>1.2.83</fastjson.version>
  22. <lombok.version>1.18.20</lombok.version>
  23. <jna.version>1.0</jna.version>
  24. <dom4j.version>2.1.4</dom4j.version>
  25. <spring-web.version>5.2.15.RELEASE</spring-web.version>
  26. </properties>
  27. <dependencies>
  28. <!-- cloud -->
  29. <dependency>
  30. <groupId>org.springframework.cloud</groupId>
  31. <artifactId>spring-cloud-starter</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>net.logstash.logback</groupId>
  35. <artifactId>logstash-logback-encoder</artifactId>
  36. <version>${logstash.version}</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.alibaba</groupId>
  40. <artifactId>fastjson</artifactId>
  41. <version>${fastjson.version}</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.projectlombok</groupId>
  45. <artifactId>lombok</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-integration</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.sun.jna</groupId>
  53. <artifactId>jna</artifactId>
  54. <version>${jna.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.sun.jna</groupId>
  58. <artifactId>examples</artifactId>
  59. <version>${jna.version}</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.dom4j</groupId>
  63. <artifactId>dom4j</artifactId>
  64. <version>${dom4j.version}</version>
  65. </dependency>
  66. <!-- SpringWeb模块-->
  67. <dependency>
  68. <groupId>org.springframework</groupId>
  69. <artifactId>spring-web</artifactId>
  70. <version>${spring-web.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.google.code.findbugs</groupId>
  74. <artifactId>annotations</artifactId>
  75. <version>3.0.1</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>commons-codec</groupId>
  79. <artifactId>commons-codec</artifactId>
  80. <version>1.14</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.junit.jupiter</groupId>
  84. <artifactId>junit-jupiter</artifactId>
  85. <scope>test</scope>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-test</artifactId>
  90. <version>${springboot.version}</version>
  91. <scope>test</scope>
  92. </dependency>
  93. </dependencies>
  94. <!-- springCloud version -->
  95. <dependencyManagement>
  96. <dependencies>
  97. <dependency>
  98. <groupId>org.springframework.cloud</groupId>
  99. <artifactId>spring-cloud-dependencies</artifactId>
  100. <version>${spring-cloud.version}</version>
  101. <type>pom</type>
  102. <scope>import</scope>
  103. </dependency>
  104. </dependencies>
  105. </dependencyManagement>
  106. <build>
  107. <finalName>${project.artifactId}</finalName>
  108. <plugins>
  109. <plugin>
  110. <groupId>org.springframework.boot</groupId>
  111. <artifactId>spring-boot-maven-plugin</artifactId>
  112. </plugin>
  113. <!--打包时跳过测试-->
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-surefire-plugin</artifactId>
  117. <configuration>
  118. <skipTests>true</skipTests>
  119. </configuration>
  120. </plugin>
  121. </plugins>
  122. </build>
  123. </project>