pom.xml 5.5 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. <!-- 监控父项目,为监控公共模父项目 -->
  7. <parent>
  8. <artifactId>phoenix-common</artifactId>
  9. <groupId>com.gitee.pifeng</groupId>
  10. <version>1.2.4.RELEASE-CR7</version>
  11. <relativePath>..</relativePath>
  12. </parent>
  13. <!-- 项目基本信息 -->
  14. <artifactId>phoenix-common-web</artifactId>
  15. <name>phoenix-common-web</name>
  16. <packaging>jar</packaging>
  17. <description>监控WEB公共模块</description>
  18. <!-- 依赖 -->
  19. <dependencies>
  20. <!-- 项目公共模块依赖 -->
  21. <dependency>
  22. <groupId>com.gitee.pifeng</groupId>
  23. <artifactId>phoenix-common-core</artifactId>
  24. </dependency>
  25. <!--lombok依赖 -->
  26. <dependency>
  27. <groupId>org.projectlombok</groupId>
  28. <artifactId>lombok</artifactId>
  29. </dependency>
  30. <!-- slf4j日志依赖 -->
  31. <dependency>
  32. <groupId>org.slf4j</groupId>
  33. <artifactId>slf4j-api</artifactId>
  34. </dependency>
  35. <!-- 日志实现依赖 -->
  36. <dependency>
  37. <groupId>ch.qos.logback</groupId>
  38. <artifactId>logback-classic</artifactId>
  39. </dependency>
  40. <!-- springboot对单元测试的支持依赖 -->
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-test</artifactId>
  44. <exclusions>
  45. <exclusion>
  46. <artifactId>log4j-to-slf4j</artifactId>
  47. <groupId>org.apache.logging.log4j</groupId>
  48. </exclusion>
  49. <exclusion>
  50. <artifactId>spring-boot-starter-logging</artifactId>
  51. <groupId>org.springframework.boot</groupId>
  52. </exclusion>
  53. </exclusions>
  54. </dependency>
  55. <!-- 配置文件处理器依赖,绑定配置文件,支持注解 -->
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-configuration-processor</artifactId>
  59. </dependency>
  60. <!-- 支持热部署依赖 -->
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-devtools</artifactId>
  64. <scope>runtime</scope>
  65. </dependency>
  66. <!-- web模块依赖 -->
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-web</artifactId>
  70. <exclusions>
  71. <exclusion>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-tomcat</artifactId>
  74. </exclusion>
  75. <exclusion>
  76. <artifactId>log4j-to-slf4j</artifactId>
  77. <groupId>org.apache.logging.log4j</groupId>
  78. </exclusion>
  79. <exclusion>
  80. <artifactId>spring-boot-starter-logging</artifactId>
  81. <groupId>org.springframework.boot</groupId>
  82. </exclusion>
  83. </exclusions>
  84. </dependency>
  85. <!--引入undertow Web嵌入式服务器依赖 -->
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-undertow</artifactId>
  89. </dependency>
  90. <!-- actuator健康检查监控依赖 -->
  91. <!-- <dependency>-->
  92. <!-- <groupId>org.springframework.boot</groupId>-->
  93. <!-- <artifactId>spring-boot-starter-actuator</artifactId>-->
  94. <!-- </dependency>-->
  95. <!-- spring自动重试依赖 -->
  96. <dependency>
  97. <groupId>org.springframework.retry</groupId>
  98. <artifactId>spring-retry</artifactId>
  99. </dependency>
  100. <!-- 切面依赖 -->
  101. <dependency>
  102. <groupId>org.springframework.boot</groupId>
  103. <artifactId>spring-boot-starter-aop</artifactId>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.aspectj</groupId>
  107. <artifactId>aspectjrt</artifactId>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.aspectj</groupId>
  111. <artifactId>aspectjweaver</artifactId>
  112. </dependency>
  113. <!-- joda-time时间日期依赖 -->
  114. <dependency>
  115. <groupId>joda-time</groupId>
  116. <artifactId>joda-time</artifactId>
  117. </dependency>
  118. <!-- jackson数据解析工具依赖 -->
  119. <dependency>
  120. <groupId>com.fasterxml.jackson.core</groupId>
  121. <artifactId>jackson-databind</artifactId>
  122. </dependency>
  123. <!-- cglib动态代理依赖 -->
  124. <dependency>
  125. <groupId>cglib</groupId>
  126. <artifactId>cglib</artifactId>
  127. </dependency>
  128. <!-- knife4j文档依赖 -->
  129. <dependency>
  130. <groupId>com.github.xiaoymin</groupId>
  131. <artifactId>knife4j-spring-boot-starter</artifactId>
  132. </dependency>
  133. </dependencies>
  134. <!-- 构建 -->
  135. <build>
  136. <defaultGoal>package</defaultGoal>
  137. <plugins>
  138. <plugin>
  139. <groupId>org.apache.maven.plugins</groupId>
  140. <artifactId>maven-compiler-plugin</artifactId>
  141. </plugin>
  142. </plugins>
  143. </build>
  144. </project>