pom.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.yihu.jw</groupId>
  8. <artifactId>wlyy-parent-pom</artifactId>
  9. <version>2.0.0</version>
  10. <relativePath>../../wlyy-parent-pom/pom.xml</relativePath>
  11. </parent>
  12. <groupId>com.yihu.jw</groupId>
  13. <artifactId>svr-iot-job</artifactId>
  14. <packaging>jar</packaging>
  15. <version>${parent.version}</version>
  16. <dependencies>
  17. <!-- 支持Tomcat启动 -->
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-web</artifactId>
  21. <exclusions>
  22. <exclusion>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-tomcat</artifactId>
  25. </exclusion>
  26. </exclusions>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-tomcat</artifactId>
  31. <scope>provided</scope>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.apache.tomcat.embed</groupId>
  35. <artifactId>tomcat-embed-jasper</artifactId>
  36. </dependency>
  37. <!-- 支持Tomcat启动 -->
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-actuator</artifactId>
  41. </dependency>
  42. <!-- <dependency>
  43. <groupId>org.springframework.cloud</groupId>
  44. <artifactId>spring-cloud-starter-eureka</artifactId>
  45. </dependency>-->
  46. <!--注释掉就不会读取git的配置,只会读取yml中的配置-->
  47. <!--<dependency>-->
  48. <!--<groupId>org.springframework.cloud</groupId>-->
  49. <!--<artifactId>spring-cloud-starter-config</artifactId>-->
  50. <!--</dependency>-->
  51. <dependency>
  52. <groupId>org.json</groupId>
  53. <artifactId>json</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>net.sf.json-lib</groupId>
  57. <artifactId>json-lib</artifactId>
  58. <version>2.4</version>
  59. </dependency>
  60. <!--<dependency>-->
  61. <!--<groupId>com.yihu.iot</groupId>-->
  62. <!--<artifactId>svr-iot</artifactId>-->
  63. <!--<version>2.0.0</version>-->
  64. <!--</dependency>-->
  65. <dependency>
  66. <groupId>com.yihu.jw</groupId>
  67. <artifactId>common-entity</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.yihu.jw</groupId>
  71. <artifactId>common-rest-model</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.yihu.jw</groupId>
  75. <artifactId>common-exception</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.yihu.jw</groupId>
  79. <artifactId>common-util</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>com.yihu.jw</groupId>
  83. <artifactId>common-web</artifactId>
  84. </dependency>
  85. <!-- Jzkl Starter -->
  86. <dependency>
  87. <groupId>com.yihu</groupId>
  88. <artifactId>swagger-starter</artifactId>
  89. <version>2.0.0</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>com.yihu</groupId>
  93. <artifactId>mysql-starter</artifactId>
  94. <version>2.0.0</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>com.alibaba</groupId>
  98. <artifactId>fastjson</artifactId>
  99. </dependency>
  100. <dependency>
  101. <groupId>io.github.swagger2markup</groupId>
  102. <artifactId>swagger2markup</artifactId>
  103. <version>1.3.2</version>
  104. </dependency>
  105. <!-- quartz start -->
  106. <dependency>
  107. <groupId>org.quartz-scheduler</groupId>
  108. <artifactId>quartz</artifactId>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.springframework</groupId>
  112. <artifactId>spring-context-support</artifactId>
  113. <version>4.2.5.RELEASE</version>
  114. </dependency>
  115. <!-- quartz end -->
  116. <dependency>
  117. <groupId>io.searchbox</groupId>
  118. <artifactId>jest</artifactId>
  119. <version>2.4.0</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.elasticsearch</groupId>
  123. <artifactId>elasticsearch</artifactId>
  124. <version>2.4.4</version>
  125. </dependency>
  126. </dependencies>
  127. <build>
  128. <finalName>svr-iot-job</finalName>
  129. <plugins>
  130. <plugin>
  131. <groupId>org.springframework.boot</groupId>
  132. <artifactId>spring-boot-maven-plugin</artifactId>
  133. <configuration>
  134. <mainClass>com.yihu.IotApplicationJob</mainClass>
  135. </configuration>
  136. </plugin>
  137. <plugin>
  138. <artifactId>maven-war-plugin</artifactId>
  139. <configuration>
  140. <failOnMissingWebXml>false</failOnMissingWebXml>
  141. <filteringDeploymentDescriptors>true</filteringDeploymentDescriptors>
  142. </configuration>
  143. </plugin>
  144. </plugins>
  145. <resources>
  146. <!--指定资源的位置-->
  147. <resource>
  148. <directory>src/main/resources</directory>
  149. <includes>
  150. <include>**/**.**</include>
  151. </includes>
  152. </resource>
  153. </resources>
  154. </build>
  155. </project>