pom.xml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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-base</artifactId>
  14. <packaging>war</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>javax.servlet</groupId>
  35. <artifactId>javax.servlet-api</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.apache.tomcat.embed</groupId>
  39. <artifactId>tomcat-embed-jasper</artifactId>
  40. </dependency>
  41. <!-- 支持Tomcat启动 -->
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-actuator</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.cloud</groupId>
  48. <artifactId>spring-cloud-starter-eureka</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.cloud</groupId>
  52. <artifactId>spring-cloud-starter-config</artifactId>
  53. </dependency>
  54. <!--<dependency>-->
  55. <!--<groupId>org.springframework.cloud</groupId>-->
  56. <!--<artifactId>spring-cloud-starter-zipkin</artifactId>-->
  57. <!--</dependency>-->
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-activemq</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.json</groupId>
  64. <artifactId>json</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>com.yihu.jw</groupId>
  68. <artifactId>common-entity</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.yihu.jw</groupId>
  72. <artifactId>common-rest-model</artifactId>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.yihu.jw</groupId>
  76. <artifactId>common-request-mapping</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.yihu.jw</groupId>
  80. <artifactId>common-exception</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.yihu.jw</groupId>
  84. <artifactId>common-util</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>com.yihu.jw</groupId>
  88. <artifactId>common-web</artifactId>
  89. </dependency>
  90. <!--<dependency>-->
  91. <!--<groupId>com.yihu.jw</groupId>-->
  92. <!--<artifactId>common-tracer</artifactId>-->
  93. <!--</dependency>-->
  94. <!-- 文件服务器 -->
  95. <dependency>
  96. <groupId>com.yihu</groupId>
  97. <artifactId>fastdfs-starter</artifactId>
  98. <version>2.0.0</version>
  99. </dependency>
  100. <!-- Jzkl Starter -->
  101. <dependency>
  102. <groupId>com.yihu</groupId>
  103. <artifactId>swagger-starter</artifactId>
  104. <version>2.0.0</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.yihu</groupId>
  108. <artifactId>mysql-starter</artifactId>
  109. <version>2.0.0</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>com.yihu</groupId>
  113. <artifactId>elasticsearch-starter</artifactId>
  114. <version>2.0.0</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>io.github.swagger2markup</groupId>
  118. <artifactId>swagger2markup</artifactId>
  119. <version>1.3.2</version>
  120. </dependency>
  121. </dependencies>
  122. <build>
  123. <finalName>svr-base</finalName>
  124. <plugins>
  125. <plugin>
  126. <groupId>org.springframework.boot</groupId>
  127. <artifactId>spring-boot-maven-plugin</artifactId>
  128. <configuration>
  129. <mainClass>com.yihu.SvrBaseApplication</mainClass>
  130. </configuration>
  131. </plugin>
  132. <plugin>
  133. <artifactId>maven-war-plugin</artifactId>
  134. <configuration>
  135. <failOnMissingWebXml>false</failOnMissingWebXml>
  136. <filteringDeploymentDescriptors>true</filteringDeploymentDescriptors>
  137. </configuration>
  138. </plugin>
  139. </plugins>
  140. </build>
  141. </project>