pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  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. <groupId>com.cyzh</groupId>
  5. <artifactId>sptg-repeater</artifactId>
  6. <version>1.0</version>
  7. <modelVersion>4.0.0</modelVersion>
  8. <packaging>jar</packaging>
  9. <name>repeater</name>
  10. <description>小区智能管理系统项目连接大豪设备的中继器项目</description>
  11. <properties>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <maven.compiler.source>1.8</maven.compiler.source>
  14. <maven.compiler.target>1.8</maven.compiler.target>
  15. <junit.version>4.12</junit.version>
  16. <log4j.version>1.2.17</log4j.version>
  17. <lombok.version>1.16.18</lombok.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-dependencies</artifactId>
  23. <version>2.0.7.RELEASE</version>
  24. <type>pom</type>
  25. <scope>import</scope>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-amqp</artifactId>
  30. <version>2.0.7.RELEASE</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-data-redis</artifactId>
  35. <version>2.0.7.RELEASE</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-web</artifactId>
  40. <version>2.0.7.RELEASE</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>junit</groupId>
  44. <artifactId>junit</artifactId>
  45. <version>${junit.version}</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>log4j</groupId>
  49. <artifactId>log4j</artifactId>
  50. <version>${log4j.version}</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.projectlombok</groupId>
  54. <artifactId>lombok</artifactId>
  55. <version>${lombok.version}</version>
  56. <optional>true</optional>
  57. </dependency>
  58. <!-- hutool -->
  59. <dependency>
  60. <groupId>cn.hutool</groupId>
  61. <artifactId>hutool-all</artifactId>
  62. <version>5.1.1</version>
  63. </dependency>
  64. <!-- swagger-ui -->
  65. <dependency>
  66. <groupId>io.springfox</groupId>
  67. <artifactId>springfox-swagger-ui</artifactId>
  68. <version>2.9.2</version>
  69. <exclusions>
  70. <exclusion>
  71. <groupId>org.slf4j</groupId>
  72. <artifactId>slf4j-api</artifactId>
  73. </exclusion>
  74. </exclusions>
  75. </dependency>
  76. <!-- swagger -->
  77. <dependency>
  78. <groupId>io.springfox</groupId>
  79. <artifactId>springfox-swagger2</artifactId>
  80. <version>2.9.2</version>
  81. <exclusions>
  82. <exclusion>
  83. <groupId>org.slf4j</groupId>
  84. <artifactId>slf4j-api</artifactId>
  85. </exclusion>
  86. </exclusions>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-starter-test</artifactId>
  91. <version>2.0.7.RELEASE</version>
  92. <scope>test</scope>
  93. <exclusions>
  94. <exclusion>
  95. <groupId>org.junit.vintage</groupId>
  96. <artifactId>junit-vintage-engine</artifactId>
  97. </exclusion>
  98. <exclusion>
  99. <groupId>org.slf4j</groupId>
  100. <artifactId>slf4j-api</artifactId>
  101. </exclusion>
  102. </exclusions>
  103. </dependency>
  104. <!-- disruptor -->
  105. <dependency>
  106. <groupId>com.lmax</groupId>
  107. <artifactId>disruptor</artifactId>
  108. <version>3.4.2</version>
  109. </dependency>
  110. </dependencies>
  111. <profiles>
  112. <!-- 开发环境,默认激活 -->
  113. <profile>
  114. <id>dev</id>
  115. <properties>
  116. <env>dev</env>
  117. </properties>
  118. <activation>
  119. <activeByDefault>true</activeByDefault>
  120. </activation>
  121. </profile>
  122. <profile>
  123. <id>test</id>
  124. <properties>
  125. <env>test</env>
  126. </properties>
  127. </profile>
  128. <profile>
  129. <id>prod</id>
  130. <properties>
  131. <env>prod</env>
  132. </properties>
  133. </profile>
  134. </profiles>
  135. <build>
  136. <finalName>${artifactId}</finalName>
  137. <plugins>
  138. <!--<plugin>-->
  139. <!--<groupId>org.springframework.boot</groupId>-->
  140. <!--<artifactId>spring-boot-maven-plugin</artifactId>-->
  141. <!--<configuration>-->
  142. <!--<fork>true</fork>-->
  143. <!--<addResources>true</addResources>-->
  144. <!--</configuration>-->
  145. <!--</plugin>-->
  146. <plugin>
  147. <groupId>org.apache.maven.plugins</groupId>
  148. <artifactId>maven-compiler-plugin</artifactId>
  149. <configuration>
  150. <source>1.8</source>
  151. <target>1.8</target>
  152. </configuration>
  153. </plugin>
  154. <plugin>
  155. <groupId>org.springframework.boot</groupId>
  156. <artifactId>spring-boot-maven-plugin</artifactId>
  157. <executions>
  158. <execution>
  159. <goals>
  160. <goal>repackage</goal>
  161. </goals>
  162. </execution>
  163. </executions>
  164. </plugin>
  165. </plugins>
  166. </build>
  167. </project>