pom.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  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. <!--easier 公共版本定义-->
  80. <!-- <dependency>-->
  81. <!-- <groupId>com.yaoyicloud</groupId>-->
  82. <!-- <artifactId>easier-common-bom</artifactId>-->
  83. <!-- <version>${project.version}</version>-->
  84. <!-- <type>pom</type>-->
  85. <!-- <scope>import</scope>-->
  86. <!-- </dependency>-->
  87. <!--spring boot 公共版本定义-->
  88. <dependency>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-dependencies</artifactId>
  91. <version>${spring-boot.version}</version>
  92. <type>pom</type>
  93. <scope>import</scope>
  94. </dependency>
  95. <!--spring cloud 公共版本定义-->
  96. <dependency>
  97. <groupId>org.springframework.cloud</groupId>
  98. <artifactId>spring-cloud-dependencies</artifactId>
  99. <version>${spring-cloud.version}</version>
  100. <type>pom</type>
  101. <scope>import</scope>
  102. </dependency>
  103. <!--spring cloud alibaba-->
  104. <dependency>
  105. <groupId>com.alibaba.cloud</groupId>
  106. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  107. <version>${spring-cloud-alibaba.version}</version>
  108. <type>pom</type>
  109. <scope>import</scope>
  110. </dependency>
  111. <!--web 模块-->
  112. <dependency>
  113. <groupId>org.springframework.boot</groupId>
  114. <artifactId>spring-boot-starter-web</artifactId>
  115. <version>${spring-boot.version}</version>
  116. <exclusions>
  117. <!--排除tomcat依赖-->
  118. <exclusion>
  119. <artifactId>spring-boot-starter-tomcat</artifactId>
  120. <groupId>org.springframework.boot</groupId>
  121. </exclusion>
  122. </exclusions>
  123. </dependency>
  124. </dependencies>
  125. </dependencyManagement>
  126. <build>
  127. <finalName>${project.name}</finalName>
  128. <resources>
  129. <resource>
  130. <directory>src/main/resources</directory>
  131. <filtering>true</filtering>
  132. </resource>
  133. </resources>
  134. <pluginManagement>
  135. <plugins>
  136. <!--spring boot 默认插件-->
  137. <plugin>
  138. <groupId>org.springframework.boot</groupId>
  139. <artifactId>spring-boot-maven-plugin</artifactId>
  140. <version>${spring-boot.version}</version>
  141. <executions>
  142. <execution>
  143. <goals>
  144. <goal>repackage</goal>
  145. </goals>
  146. </execution>
  147. </executions>
  148. </plugin>
  149. <plugin>
  150. <groupId>org.apache.maven.plugins</groupId>
  151. <artifactId>maven-resources-plugin</artifactId>
  152. <version>3.1.0</version>
  153. </plugin>
  154. </plugins>
  155. </pluginManagement>
  156. <plugins>
  157. <!--checkstyle插件-->
  158. <!-- <plugin>-->
  159. <!-- <groupId>org.apache.maven.plugins</groupId>-->
  160. <!-- <artifactId>maven-checkstyle-plugin</artifactId>-->
  161. <!-- <version>3.6.0</version>-->
  162. <!-- <dependencies>-->
  163. <!-- <dependency>-->
  164. <!-- <groupId>com.puppycrawl.tools</groupId>-->
  165. <!-- <artifactId>checkstyle</artifactId>-->
  166. <!-- <version>9.3</version>-->
  167. <!-- </dependency>-->
  168. <!-- </dependencies>-->
  169. <!-- <configuration>-->
  170. <!-- <outputEncoding>UTF-8</outputEncoding>-->
  171. <!-- <skip>${checkstyle.skip}</skip>-->
  172. <!-- <configLocation>.style/alibaba.xml</configLocation>-->
  173. <!-- <consoleOutput>true</consoleOutput>-->
  174. <!-- <failsOnError>false</failsOnError>-->
  175. <!-- <linkXRef>false</linkXRef>-->
  176. <!-- <includeTestSourceDirectory>false</includeTestSourceDirectory>-->
  177. <!-- <sourceDirectories>${project.build.sourceDirectory}</sourceDirectories>-->
  178. <!-- </configuration>-->
  179. <!-- <executions>-->
  180. <!-- <execution>-->
  181. <!-- <id>validate</id>-->
  182. <!-- <phase>validate</phase>-->
  183. <!-- <goals>-->
  184. <!-- <goal>check</goal>-->
  185. <!-- </goals>-->
  186. <!-- </execution>-->
  187. <!-- </executions>-->
  188. <!-- </plugin>-->
  189. <!-- &lt;!&ndash;代码格式插件,默认使用spring 规则&ndash;&gt;-->
  190. <!-- <plugin>-->
  191. <!-- <groupId>io.spring.javaformat</groupId>-->
  192. <!-- <artifactId>spring-javaformat-maven-plugin</artifactId>-->
  193. <!-- <version>${spring.checkstyle.version}</version>-->
  194. <!-- </plugin>-->
  195. <!--代码编译指定版本插件-->
  196. <plugin>
  197. <groupId>org.apache.maven.plugins</groupId>
  198. <artifactId>maven-compiler-plugin</artifactId>
  199. <version>${maven.compiler.version}</version>
  200. <configuration>
  201. <target>${maven.compiler.target}</target>
  202. <source>${maven.compiler.source}</source>
  203. <encoding>UTF-8</encoding>
  204. <skip>true</skip>
  205. </configuration>
  206. </plugin>
  207. <!--打包关联最新 git commit 信息插件-->
  208. <plugin>
  209. <groupId>pl.project13.maven</groupId>
  210. <artifactId>git-commit-id-plugin</artifactId>
  211. <version>${git.commit.version}</version>
  212. </plugin>
  213. </plugins>
  214. </build>
  215. <!-- 增加云效nexus示例仓库 (演示使用,可自行删除) -->
  216. <distributionManagement>
  217. <repository>
  218. <id>rdc-releases</id>
  219. <url>https://packages.aliyun.com/maven/repository/2161442-release-DcBZC1/</url>
  220. </repository>
  221. <snapshotRepository>
  222. <id>rdc-snapshots</id>
  223. <url>https://packages.aliyun.com/maven/repository/2161442-snapshot-FzKqZK/</url>
  224. </snapshotRepository>
  225. </distributionManagement>
  226. <repositories>
  227. <repository>
  228. <id>public</id>
  229. <name>aliyun nexus</name>
  230. <url>https://maven.aliyun.com/repository/public/</url>
  231. <releases>
  232. <enabled>true</enabled>
  233. </releases>
  234. </repository>
  235. </repositories>
  236. <pluginRepositories>
  237. <pluginRepository>
  238. <id>aliyun-plugin</id>
  239. <url>https://maven.aliyun.com/repository/public</url>
  240. <releases>
  241. <enabled>true</enabled>
  242. </releases>
  243. <snapshots>
  244. <enabled>false</enabled>
  245. </snapshots>
  246. </pluginRepository>
  247. </pluginRepositories>
  248. <profiles>
  249. <!-- 默认环境 -->
  250. <profile>
  251. <id>loc</id>
  252. <activation>
  253. <activeByDefault>true</activeByDefault>
  254. </activation>
  255. <properties>
  256. <profiles.active>loc</profiles.active>
  257. <nacos.username>nacos</nacos.username>
  258. <nacos.password>nacos</nacos.password>
  259. <nacos.server-addr>127.0.0.1:8848</nacos.server-addr>
  260. <nacos.namespace>f9b40f1d-c7e6-4be2-b0bc-f08375368dcb</nacos.namespace>
  261. <profiles.gateway.port>14010</profiles.gateway.port>
  262. <profiles.auth.port>14020</profiles.auth.port>
  263. <profiles.workspace.biz.port>14030</profiles.workspace.biz.port>
  264. <profiles.filerepo.biz.port>14050</profiles.filerepo.biz.port>
  265. <profiles.warehouse.biz.port>14080</profiles.warehouse.biz.port>
  266. <profiles.quartz.biz.port>14090</profiles.quartz.biz.port>
  267. <profiles.report.biz.port>14070</profiles.report.biz.port>
  268. </properties>
  269. </profile>
  270. <profile>
  271. <id>pre</id>
  272. <properties>
  273. <profiles.active>pre</profiles.active>
  274. <nacos.username>nacos</nacos.username>
  275. <nacos.password>n1a2c3o4s5</nacos.password>
  276. <nacos.server-addr>nacos2.yaoyi.net:57260</nacos.server-addr>
  277. <nacos.namespace>ef23465c-e198-4ada-a3f2-88e014c69a3f</nacos.namespace>
  278. <profiles.gateway.port>14010</profiles.gateway.port>
  279. <profiles.auth.port>14020</profiles.auth.port>
  280. <profiles.workspace.biz.port>14030</profiles.workspace.biz.port>
  281. <profiles.filerepo.biz.port>14050</profiles.filerepo.biz.port>
  282. <profiles.warehouse.biz.port>14080</profiles.warehouse.biz.port>
  283. <profiles.quartz.biz.port>14090</profiles.quartz.biz.port>
  284. <profiles.report.biz.port>14070</profiles.report.biz.port>
  285. </properties>
  286. </profile>
  287. <profile>
  288. <id>demo</id>
  289. <properties>
  290. <profiles.active>demo</profiles.active>
  291. <nacos.username>nacos</nacos.username>
  292. <nacos.password>n1a2c3o4s5</nacos.password>
  293. <nacos.server-addr>nacos2.yaoyi.net:57260</nacos.server-addr>
  294. <nacos.namespace>ef23465c-e198-4ada-a3f2-88e014c69a3f</nacos.namespace>
  295. <profiles.gateway.port>14010</profiles.gateway.port>
  296. <profiles.auth.port>14020</profiles.auth.port>
  297. <profiles.workspace.biz.port>14030</profiles.workspace.biz.port>
  298. <profiles.filerepo.biz.port>14050</profiles.filerepo.biz.port>
  299. <profiles.warehouse.biz.port>14080</profiles.warehouse.biz.port>
  300. <profiles.quartz.biz.port>14090</profiles.quartz.biz.port>
  301. <profiles.report.biz.port>14070</profiles.report.biz.port>
  302. </properties>
  303. </profile>
  304. <profile>
  305. <id>prod</id>
  306. <properties>
  307. <profiles.active>prod</profiles.active>
  308. <nacos.username>nacos</nacos.username>
  309. <nacos.password>n1a2c3o4s5</nacos.password>
  310. <nacos.server-addr>nacos2.yaoyi.net:57260</nacos.server-addr>
  311. <nacos.namespace>ef23465c-e198-4ada-a3f2-88e014c69a3f</nacos.namespace>
  312. <profiles.gateway.port>14010</profiles.gateway.port>
  313. <profiles.auth.port>14020</profiles.auth.port>
  314. <profiles.workspace.biz.port>14030</profiles.workspace.biz.port>
  315. <profiles.filerepo.biz.port>14050</profiles.filerepo.biz.port>
  316. <profiles.warehouse.biz.port>14080</profiles.warehouse.biz.port>
  317. <profiles.quartz.biz.port>14090</profiles.quartz.biz.port>
  318. <profiles.report.biz.port>14070</profiles.report.biz.port>
  319. </properties>
  320. </profile>
  321. </profiles>
  322. </project>