pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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. <parent>
  7. <groupId>com.xunmei</groupId>
  8. <artifactId>soc-modules</artifactId>
  9. <version>0.0.1-SNAPSHOT</version>
  10. </parent>
  11. <artifactId>soc-modules-file</artifactId>
  12. <description>
  13. soc-modules-file文件服务
  14. </description>
  15. <dependencies>
  16. <!-- SpringCloud Alibaba Nacos -->
  17. <dependency>
  18. <groupId>com.alibaba.cloud</groupId>
  19. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  20. </dependency>
  21. <!-- SpringCloud Alibaba Nacos Config -->
  22. <dependency>
  23. <groupId>com.alibaba.cloud</groupId>
  24. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-data-redis</artifactId>
  29. </dependency>
  30. <!-- SpringCloud Alibaba Sentinel -->
  31. <dependency>
  32. <groupId>com.alibaba.cloud</groupId>
  33. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  34. </dependency>
  35. <!-- SpringBoot Actuator -->
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-actuator</artifactId>
  39. </dependency>
  40. <!-- soc Api System -->
  41. <dependency>
  42. <groupId>com.xunmei</groupId>
  43. <artifactId>soc-api-system</artifactId>
  44. <version>0.0.1-SNAPSHOT</version>
  45. </dependency>
  46. <!-- soc Common Swagger -->
  47. <dependency>
  48. <groupId>com.xunmei</groupId>
  49. <artifactId>soc-common-swagger</artifactId>
  50. <version>0.0.1-SNAPSHOT</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>cn.hutool</groupId>
  54. <artifactId>hutool-all</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.xunmei</groupId>
  58. <artifactId>soc-common-redis</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.xunmei</groupId>
  62. <artifactId>soc-common-core</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.xunmei</groupId>
  66. <artifactId>soc-api-system</artifactId>
  67. <version>0.0.1-SNAPSHOT</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>ant</groupId>
  71. <artifactId>ant</artifactId>
  72. <version>1.6.5</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.lowagie</groupId>
  76. <artifactId>itext</artifactId>
  77. <version>4.2.2</version>
  78. <scope>system</scope>
  79. <systemPath>${project.basedir}/src/main/resources/lib/itext-4.2.1.jar</systemPath>
  80. </dependency>
  81. </dependencies>
  82. <build>
  83. <finalName>${project.artifactId}</finalName>
  84. <plugins>
  85. <!--不加此配置会导致引入的第三方jar包依赖 无法被打进jar包,导致线上报错-->
  86. <plugin>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-maven-plugin</artifactId>
  89. <configuration>
  90. <includeSystemScope>true</includeSystemScope>
  91. </configuration>
  92. </plugin>
  93. <plugin>
  94. <groupId>org.apache.maven.plugins</groupId>
  95. <artifactId>maven-compiler-plugin</artifactId>
  96. <configuration>
  97. <source>1.8</source>
  98. <target>1.8</target>
  99. <encoding>UTF-8</encoding>
  100. <compilerArguments>
  101. <extdirs>${project.basedir}/src/main/resources/lib</extdirs>
  102. </compilerArguments>
  103. </configuration>
  104. </plugin>
  105. <plugin>
  106. <groupId>org.springframework.boot</groupId>
  107. <artifactId>spring-boot-maven-plugin</artifactId>
  108. <executions>
  109. <execution>
  110. <goals>
  111. <goal>repackage</goal>
  112. </goals>
  113. </execution>
  114. </executions>
  115. </plugin>
  116. </plugins>
  117. </build>
  118. </project>