pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.yaoyicloud</groupId>
  6. <artifactId>easier-render</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>pom</packaging>
  9. <name>easier-render</name>
  10. <description>easier-render</description>
  11. <modules>
  12. <!-- <module>easier-common</module>-->
  13. <module>easier-report-biz</module>
  14. <module>easier-report-api</module>
  15. </modules>
  16. <properties>
  17. <maven.compiler.version>3.11.0</maven.compiler.version>
  18. <maven.compiler.source>17</maven.compiler.source>
  19. <maven.compiler.target>17</maven.compiler.target>
  20. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  21. <spring-boot.version>2.7.18</spring-boot.version>
  22. <spring-cloud.version>2021.0.8</spring-cloud.version>
  23. <spring-cloud-alibaba.version>2021.0.5.0</spring-cloud-alibaba.version>
  24. <checkstyle.skip>false</checkstyle.skip>
  25. <spring.checkstyle.version>0.0.34</spring.checkstyle.version>
  26. <git.commit.version>2.2.5</git.commit.version>
  27. <jasypt.version>3.0.5</jasypt.version>
  28. <spring-boot-admin.version>2.7.14</spring-boot-admin.version>
  29. <cas.sdk.version>3.6.4</cas.sdk.version>
  30. </properties>
  31. <dependencies>
  32. <!--feign 依赖-->
  33. <dependency>
  34. <groupId>org.springframework.cloud</groupId>
  35. <artifactId>spring-cloud-starter-openfeign</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.cloud</groupId>
  39. <artifactId>spring-cloud-context</artifactId>
  40. </dependency>
  41. <!--配置文件处理器-->
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-configuration-processor</artifactId>
  45. <optional>true</optional>
  46. </dependency>
  47. <!--jasypt配置文件加解密-->
  48. <dependency>
  49. <groupId>com.github.ulisesbocchio</groupId>
  50. <artifactId>jasypt-spring-boot-starter</artifactId>
  51. <version>${jasypt.version}</version>
  52. </dependency>
  53. <!--监控-->
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-actuator</artifactId>
  57. </dependency>
  58. <!--监控客户端-->
  59. <dependency>
  60. <groupId>de.codecentric</groupId>
  61. <artifactId>spring-boot-admin-starter-client</artifactId>
  62. <version>${spring-boot-admin.version}</version>
  63. </dependency>
  64. <!--Lombok-->
  65. <dependency>
  66. <groupId>org.projectlombok</groupId>
  67. <artifactId>lombok</artifactId>
  68. <scope>provided</scope>
  69. </dependency>
  70. <!--测试依赖-->
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-test</artifactId>
  74. <scope>test</scope>
  75. </dependency>
  76. </dependencies>
  77. <dependencyManagement>
  78. <dependencies>
  79. <!--spring boot 公共版本定义-->
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-dependencies</artifactId>
  83. <version>${spring-boot.version}</version>
  84. <type>pom</type>
  85. <scope>import</scope>
  86. </dependency>
  87. <!--spring cloud 公共版本定义-->
  88. <dependency>
  89. <groupId>org.springframework.cloud</groupId>
  90. <artifactId>spring-cloud-dependencies</artifactId>
  91. <version>${spring-cloud.version}</version>
  92. <type>pom</type>
  93. <scope>import</scope>
  94. </dependency>
  95. <!--spring cloud alibaba-->
  96. <dependency>
  97. <groupId>com.alibaba.cloud</groupId>
  98. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  99. <version>${spring-cloud-alibaba.version}</version>
  100. <type>pom</type>
  101. <scope>import</scope>
  102. </dependency>
  103. <!--web 模块-->
  104. <dependency>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-starter-web</artifactId>
  107. <version>${spring-boot.version}</version>
  108. <!-- <exclusions>-->
  109. <!-- &lt;!&ndash;排除tomcat依赖&ndash;&gt;-->
  110. <!-- <exclusion>-->
  111. <!-- <artifactId>spring-boot-starter-tomcat</artifactId>-->
  112. <!-- <groupId>org.springframework.boot</groupId>-->
  113. <!-- </exclusion>-->
  114. <!-- </exclusions>-->
  115. </dependency>
  116. </dependencies>
  117. </dependencyManagement>
  118. <build>
  119. <finalName>${project.name}</finalName>
  120. <resources>
  121. <resource>
  122. <directory>src/main/resources</directory>
  123. <filtering>true</filtering>
  124. </resource>
  125. </resources>
  126. <pluginManagement>
  127. <plugins>
  128. <!--spring boot 默认插件-->
  129. <plugin>
  130. <groupId>org.springframework.boot</groupId>
  131. <artifactId>spring-boot-maven-plugin</artifactId>
  132. <version>${spring-boot.version}</version>
  133. <executions>
  134. <execution>
  135. <goals>
  136. <goal>repackage</goal>
  137. </goals>
  138. </execution>
  139. </executions>
  140. </plugin>
  141. <plugin>
  142. <groupId>org.apache.maven.plugins</groupId>
  143. <artifactId>maven-resources-plugin</artifactId>
  144. <version>3.1.0</version>
  145. </plugin>
  146. </plugins>
  147. </pluginManagement>
  148. <plugins>
  149. <!--checkstyle插件-->
  150. <!-- <plugin>-->
  151. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  152. <!-- <artifactId>maven-checkstyle-plugin</artifactId>-->
  153. <!-- <version>3.6.0</version>-->
  154. <!-- <dependencies>-->
  155. <!-- <dependency>-->
  156. <!-- <groupId>com.puppycrawl.tools</groupId>-->
  157. <!-- <artifactId>checkstyle</artifactId>-->
  158. <!-- <version>9.3</version>-->
  159. <!-- </dependency>-->
  160. <!-- </dependencies>-->
  161. <!-- <configuration>-->
  162. <!-- <outputEncoding>UTF-8</outputEncoding>-->
  163. <!-- <skip>${checkstyle.skip}</skip>-->
  164. <!-- <configLocation>.style/alibaba.xml</configLocation>-->
  165. <!-- <consoleOutput>true</consoleOutput>-->
  166. <!-- <failsOnError>false</failsOnError>-->
  167. <!-- <linkXRef>false</linkXRef>-->
  168. <!-- <includeTestSourceDirectory>false</includeTestSourceDirectory>-->
  169. <!-- <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>-->
  170. <!-- </configuration>-->
  171. <!-- <executions>-->
  172. <!-- <execution>-->
  173. <!-- <id>validate</id>-->
  174. <!-- <phase>validate</phase>-->
  175. <!-- <goals>-->
  176. <!-- <goal>check</goal>-->
  177. <!-- </goals>-->
  178. <!-- </execution>-->
  179. <!-- </executions>-->
  180. <!-- </plugin>-->
  181. <!-- &lt;!&ndash;代码格式插件,默认使用spring 规则&ndash;&gt;-->
  182. <!-- <plugin>-->
  183. <!-- <groupId>io.spring.javaformat</groupId>-->
  184. <!-- <artifactId>spring-javaformat-maven-plugin</artifactId>-->
  185. <!-- <version>${spring.checkstyle.version}</version>-->
  186. <!-- </plugin>-->
  187. <!--代码编译指定版本插件-->
  188. <plugin>
  189. <groupId>org.apache.maven.plugins</groupId>
  190. <artifactId>maven-compiler-plugin</artifactId>
  191. <version>${maven.compiler.version}</version>
  192. <configuration>
  193. <target>${maven.compiler.target}</target>
  194. <source>${maven.compiler.source}</source>
  195. <encoding>UTF-8</encoding>
  196. <skip>true</skip>
  197. </configuration>
  198. </plugin>
  199. <!--打包关联最新 git commit 信息插件-->
  200. <plugin>
  201. <groupId>pl.project13.maven</groupId>
  202. <artifactId>git-commit-id-plugin</artifactId>
  203. <version>${git.commit.version}</version>
  204. </plugin>
  205. </plugins>
  206. </build>
  207. <!-- 增加云效nexus示例仓库 (演示使用,可自行删除) -->
  208. <distributionManagement>
  209. <repository>
  210. <id>rdc-releases</id>
  211. <url>https://packages.aliyun.com/maven/repository/2161442-release-DcBZC1/</url>
  212. </repository>
  213. <snapshotRepository>
  214. <id>rdc-snapshots</id>
  215. <url>https://packages.aliyun.com/maven/repository/2161442-snapshot-FzKqZK/</url>
  216. </snapshotRepository>
  217. </distributionManagement>
  218. <repositories>
  219. <repository>
  220. <id>public</id>
  221. <name>aliyun nexus</name>
  222. <url>https://maven.aliyun.com/repository/public/</url>
  223. <releases>
  224. <enabled>true</enabled>
  225. </releases>
  226. </repository>
  227. </repositories>
  228. <pluginRepositories>
  229. <pluginRepository>
  230. <id>aliyun-plugin</id>
  231. <url>https://maven.aliyun.com/repository/public</url>
  232. <releases>
  233. <enabled>true</enabled>
  234. </releases>
  235. <snapshots>
  236. <enabled>false</enabled>
  237. </snapshots>
  238. </pluginRepository>
  239. </pluginRepositories>
  240. <profiles>
  241. <!-- 默认环境 -->
  242. <profile>
  243. <id>loc</id>
  244. <activation>
  245. <activeByDefault>true</activeByDefault>
  246. </activation>
  247. <properties>
  248. <profiles.active>loc</profiles.active>
  249. <nacos.username>nacos</nacos.username>
  250. <nacos.password>nacos</nacos.password>
  251. <nacos.server-addr>127.0.0.1:8848</nacos.server-addr>
  252. <nacos.namespace>f9b40f1d-c7e6-4be2-b0bc-f08375368dcb</nacos.namespace>
  253. <profiles.gateway.port>14010</profiles.gateway.port>
  254. <profiles.auth.port>14020</profiles.auth.port>
  255. <profiles.workspace.biz.port>14030</profiles.workspace.biz.port>
  256. <profiles.filerepo.biz.port>14050</profiles.filerepo.biz.port>
  257. <profiles.warehouse.biz.port>14080</profiles.warehouse.biz.port>
  258. <profiles.quartz.biz.port>14090</profiles.quartz.biz.port>
  259. <profiles.report.biz.port>14070</profiles.report.biz.port>
  260. </properties>
  261. </profile>
  262. <profile>
  263. <id>pre</id>
  264. <properties>
  265. <profiles.active>pre</profiles.active>
  266. <nacos.username>nacos</nacos.username>
  267. <nacos.password>n1a2c3o4s5</nacos.password>
  268. <nacos.server-addr>nacos2.yaoyi.net:57260</nacos.server-addr>
  269. <nacos.namespace>ef23465c-e198-4ada-a3f2-88e014c69a3f</nacos.namespace>
  270. <profiles.gateway.port>14010</profiles.gateway.port>
  271. <profiles.auth.port>14020</profiles.auth.port>
  272. <profiles.workspace.biz.port>14030</profiles.workspace.biz.port>
  273. <profiles.filerepo.biz.port>14050</profiles.filerepo.biz.port>
  274. <profiles.warehouse.biz.port>14080</profiles.warehouse.biz.port>
  275. <profiles.quartz.biz.port>14090</profiles.quartz.biz.port>
  276. <profiles.report.biz.port>14070</profiles.report.biz.port>
  277. </properties>
  278. </profile>
  279. <profile>
  280. <id>demo</id>
  281. <properties>
  282. <profiles.active>demo</profiles.active>
  283. <nacos.username>nacos</nacos.username>
  284. <nacos.password>n1a2c3o4s5</nacos.password>
  285. <nacos.server-addr>nacos2.yaoyi.net:57260</nacos.server-addr>
  286. <nacos.namespace>ef23465c-e198-4ada-a3f2-88e014c69a3f</nacos.namespace>
  287. <profiles.gateway.port>14010</profiles.gateway.port>
  288. <profiles.auth.port>14020</profiles.auth.port>
  289. <profiles.workspace.biz.port>14030</profiles.workspace.biz.port>
  290. <profiles.filerepo.biz.port>14050</profiles.filerepo.biz.port>
  291. <profiles.warehouse.biz.port>14080</profiles.warehouse.biz.port>
  292. <profiles.quartz.biz.port>14090</profiles.quartz.biz.port>
  293. <profiles.report.biz.port>14070</profiles.report.biz.port>
  294. </properties>
  295. </profile>
  296. <profile>
  297. <id>prod</id>
  298. <properties>
  299. <profiles.active>prod</profiles.active>
  300. <nacos.username>nacos</nacos.username>
  301. <nacos.password>n1a2c3o4s5</nacos.password>
  302. <nacos.server-addr>nacos2.yaoyi.net:57260</nacos.server-addr>
  303. <nacos.namespace>ef23465c-e198-4ada-a3f2-88e014c69a3f</nacos.namespace>
  304. <profiles.gateway.port>14010</profiles.gateway.port>
  305. <profiles.auth.port>14020</profiles.auth.port>
  306. <profiles.workspace.biz.port>14030</profiles.workspace.biz.port>
  307. <profiles.filerepo.biz.port>14050</profiles.filerepo.biz.port>
  308. <profiles.warehouse.biz.port>14080</profiles.warehouse.biz.port>
  309. <profiles.quartz.biz.port>14090</profiles.quartz.biz.port>
  310. <profiles.report.biz.port>14070</profiles.report.biz.port>
  311. </properties>
  312. </profile>
  313. </profiles>
  314. </project>