pom.xml 6.2 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. <!-- 监控父项目 -->
  7. <parent>
  8. <artifactId>phoenix</artifactId>
  9. <groupId>com.gitee.pifeng</groupId>
  10. <version>1.2.4.RELEASE-CR7</version>
  11. <relativePath>..</relativePath>
  12. </parent>
  13. <!-- 项目基本信息 -->
  14. <artifactId>phoenix-server</artifactId>
  15. <packaging>jar</packaging>
  16. <name>phoenix-server</name>
  17. <description>监控服务端</description>
  18. <!-- 属性 -->
  19. <properties>
  20. <maven.deploy.skip>true</maven.deploy.skip>
  21. </properties>
  22. <!-- 依赖 -->
  23. <dependencies>
  24. <!-- 监控WEB公共模块依赖 -->
  25. <dependency>
  26. <groupId>com.gitee.pifeng</groupId>
  27. <artifactId>phoenix-common-web</artifactId>
  28. </dependency>
  29. <!-- springboot项目集成监控依赖,使之拥有监控功能 -->
  30. <!-- <dependency>-->
  31. <!-- <groupId>com.gitee.pifeng</groupId>-->
  32. <!-- <artifactId>phoenix-client-spring-boot-starter</artifactId>-->
  33. <!-- </dependency>-->
  34. <dependency>
  35. <groupId>com.gitee.pifeng</groupId>
  36. <artifactId>phoenix-client-core</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.alibaba.cloud</groupId>
  40. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.alibaba.cloud</groupId>
  44. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.cloud</groupId>
  48. <artifactId>spring-cloud-starter-openfeign</artifactId>
  49. </dependency>
  50. <!-- springboot集成thymeleaf模板引擎依赖 -->
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  54. </dependency>
  55. <!-- springboot邮件支持依赖 -->
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-mail</artifactId>
  59. </dependency>
  60. <!-- springboot集成quartz依赖 -->
  61. <!-- <dependency>-->
  62. <!-- <groupId>org.springframework.boot</groupId>-->
  63. <!-- <artifactId>spring-boot-starter-quartz</artifactId>-->
  64. <!-- </dependency>-->
  65. <!-- mybatis-plus依赖 -->
  66. <dependency>
  67. <groupId>com.baomidou</groupId>
  68. <artifactId>mybatis-plus-boot-starter</artifactId>
  69. </dependency>
  70. <!-- mybatis-plus代码生成器依赖 -->
  71. <dependency>
  72. <groupId>com.baomidou</groupId>
  73. <artifactId>mybatis-plus-generator</artifactId>
  74. </dependency>
  75. <!-- velocity模板引擎依赖 -->
  76. <dependency>
  77. <groupId>org.apache.velocity</groupId>
  78. <artifactId>velocity-engine-core</artifactId>
  79. </dependency>
  80. <!-- alibaba的druid数据库连接池依赖 -->
  81. <dependency>
  82. <groupId>com.alibaba</groupId>
  83. <artifactId>druid-spring-boot-starter</artifactId>
  84. </dependency>
  85. <!-- pagehelper分页插件依赖 -->
  86. <dependency>
  87. <groupId>com.github.pagehelper</groupId>
  88. <artifactId>pagehelper</artifactId>
  89. </dependency>
  90. <!-- oracle数据库驱动 -->
  91. <dependency>
  92. <groupId>com.oracle</groupId>
  93. <artifactId>ojdbc6</artifactId>
  94. <scope>runtime</scope>
  95. </dependency>
  96. <!-- mysql数据库驱动 -->
  97. <dependency>
  98. <groupId>mysql</groupId>
  99. <artifactId>mysql-connector-java</artifactId>
  100. <scope>runtime</scope>
  101. </dependency>
  102. <!-- redis数据库驱动 -->
  103. <dependency>
  104. <groupId>redis.clients</groupId>
  105. <artifactId>jedis</artifactId>
  106. </dependency>
  107. <!-- mongodb驱动 -->
  108. <dependency>
  109. <groupId>org.mongodb</groupId>
  110. <artifactId>mongo-java-driver</artifactId>
  111. </dependency>
  112. <!-- websocket server -->
  113. <dependency>
  114. <groupId>com.corundumstudio.socketio</groupId>
  115. <artifactId>netty-socketio</artifactId>
  116. </dependency>
  117. <!-- redisson server -->
  118. <dependency>
  119. <groupId>org.redisson</groupId>
  120. <artifactId>redisson-spring-boot-starter</artifactId>
  121. <exclusions>
  122. <exclusion>
  123. <artifactId>spring-boot-starter-actuator</artifactId>
  124. <groupId>org.springframework.boot</groupId>
  125. </exclusion>
  126. </exclusions>
  127. </dependency>
  128. </dependencies>
  129. <!-- 构建 -->
  130. <build>
  131. <finalName>phoenix-server</finalName>
  132. <defaultGoal>package</defaultGoal>
  133. <plugins>
  134. <plugin>
  135. <groupId>org.springframework.boot</groupId>
  136. <artifactId>spring-boot-maven-plugin</artifactId>
  137. <configuration>
  138. <!-- 指定该Main Class为全局的唯一入口 -->
  139. <mainClass>com.gitee.pifeng.monitoring.server.ServerApplication</mainClass>
  140. </configuration>
  141. </plugin>
  142. <!-- sonatype的staging插件 -->
  143. <plugin>
  144. <groupId>org.sonatype.plugins</groupId>
  145. <artifactId>nexus-staging-maven-plugin</artifactId>
  146. <extensions>true</extensions>
  147. <configuration>
  148. <serverId>ossrh</serverId>
  149. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  150. <!-- 忽略这个模块 -->
  151. <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
  152. </configuration>
  153. </plugin>
  154. <!-- docker插件 -->
  155. <plugin>
  156. <groupId>com.spotify</groupId>
  157. <artifactId>docker-maven-plugin</artifactId>
  158. </plugin>
  159. </plugins>
  160. </build>
  161. </project>