pom.xml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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-ui</artifactId>
  15. <packaging>jar</packaging>
  16. <name>phoenix-ui</name>
  17. <description>监控UI端</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. <!-- nacos -->
  39. <dependency>
  40. <groupId>com.alibaba.cloud</groupId>
  41. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.alibaba.cloud</groupId>
  45. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.cloud</groupId>
  49. <artifactId>spring-cloud-starter-openfeign</artifactId>
  50. </dependency>
  51. <!-- websocket依赖 -->
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-websocket</artifactId>
  55. </dependency>
  56. <!-- springboot集成thymeleaf模板引擎依赖 -->
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  60. </dependency>
  61. <!-- thymeleaf和springSecurity的扩展依赖 -->
  62. <dependency>
  63. <groupId>org.thymeleaf.extras</groupId>
  64. <artifactId>thymeleaf-extras-springsecurity5</artifactId>
  65. </dependency>
  66. <!-- springboot集成springSecurity安全依赖 -->
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-security</artifactId>
  70. </dependency>
  71. <!-- spring security与CAS集成依赖 -->
  72. <dependency>
  73. <groupId>org.springframework.security</groupId>
  74. <artifactId>spring-security-cas</artifactId>
  75. </dependency>
  76. <!-- 数据库session管理依赖 -->
  77. <dependency>
  78. <groupId>org.springframework.session</groupId>
  79. <artifactId>spring-session-jdbc</artifactId>
  80. </dependency>
  81. <!-- easypoi工具包依赖 -->
  82. <dependency>
  83. <groupId>cn.afterturn</groupId>
  84. <artifactId>easypoi-spring-boot-starter</artifactId>
  85. </dependency>
  86. <!-- mybatis-plus依赖 -->
  87. <dependency>
  88. <groupId>com.baomidou</groupId>
  89. <artifactId>mybatis-plus-boot-starter</artifactId>
  90. </dependency>
  91. <!-- mybatis-plus代码生成器依赖 -->
  92. <dependency>
  93. <groupId>com.baomidou</groupId>
  94. <artifactId>mybatis-plus-generator</artifactId>
  95. </dependency>
  96. <!-- velocity模板引擎依赖 -->
  97. <dependency>
  98. <groupId>org.apache.velocity</groupId>
  99. <artifactId>velocity-engine-core</artifactId>
  100. </dependency>
  101. <!-- alibaba的druid数据库连接池依赖 -->
  102. <dependency>
  103. <groupId>com.alibaba</groupId>
  104. <artifactId>druid-spring-boot-starter</artifactId>
  105. </dependency>
  106. <!-- pagehelper分页插件依赖 -->
  107. <dependency>
  108. <groupId>com.github.pagehelper</groupId>
  109. <artifactId>pagehelper</artifactId>
  110. </dependency>
  111. <!-- oracle数据库驱动 -->
  112. <dependency>
  113. <groupId>com.oracle</groupId>
  114. <artifactId>ojdbc6</artifactId>
  115. <scope>runtime</scope>
  116. </dependency>
  117. <!-- mysql数据库驱动 -->
  118. <dependency>
  119. <groupId>mysql</groupId>
  120. <artifactId>mysql-connector-java</artifactId>
  121. <scope>runtime</scope>
  122. </dependency>
  123. </dependencies>
  124. <!-- 构建 -->
  125. <build>
  126. <finalName>phoenix-ui</finalName>
  127. <defaultGoal>package</defaultGoal>
  128. <plugins>
  129. <plugin>
  130. <groupId>org.springframework.boot</groupId>
  131. <artifactId>spring-boot-maven-plugin</artifactId>
  132. <configuration>
  133. <!-- 指定该Main Class为全局的唯一入口 -->
  134. <mainClass>com.gitee.pifeng.monitoring.ui.UiApplication</mainClass>
  135. </configuration>
  136. </plugin>
  137. <!-- sonatype的staging插件 -->
  138. <plugin>
  139. <groupId>org.sonatype.plugins</groupId>
  140. <artifactId>nexus-staging-maven-plugin</artifactId>
  141. <extensions>true</extensions>
  142. <configuration>
  143. <serverId>ossrh</serverId>
  144. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  145. <!-- 忽略这个模块,这个插件此处有一个bug:如果此模块是最后编译打包发布的模块,会导致所有的模块都不发布 -->
  146. <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
  147. </configuration>
  148. </plugin>
  149. <!-- docker插件 -->
  150. <plugin>
  151. <groupId>com.spotify</groupId>
  152. <artifactId>docker-maven-plugin</artifactId>
  153. </plugin>
  154. </plugins>
  155. </build>
  156. </project>