pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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>ant</groupId>
  58. <artifactId>ant</artifactId>
  59. <version>1.6.5</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.lowagie</groupId>
  63. <artifactId>itext</artifactId>
  64. <version>4.2.2</version>
  65. <scope>system</scope>
  66. <systemPath>${project.basedir}/src/main/resources/lib/itext-4.2.1.jar</systemPath>
  67. </dependency>
  68. </dependencies>
  69. <build>
  70. <finalName>${project.artifactId}</finalName>
  71. <plugins>
  72. <!--不加此配置会导致引入的第三方jar包依赖 无法被打进jar包,导致线上报错-->
  73. <plugin>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-maven-plugin</artifactId>
  76. <configuration>
  77. <includeSystemScope>true</includeSystemScope>
  78. </configuration>
  79. </plugin>
  80. <plugin>
  81. <groupId>org.apache.maven.plugins</groupId>
  82. <artifactId>maven-compiler-plugin</artifactId>
  83. <configuration>
  84. <source>1.8</source>
  85. <target>1.8</target>
  86. <encoding>UTF-8</encoding>
  87. <compilerArguments>
  88. <extdirs>${project.basedir}/src/main/resources/lib</extdirs>
  89. </compilerArguments>
  90. </configuration>
  91. </plugin>
  92. <plugin>
  93. <groupId>org.springframework.boot</groupId>
  94. <artifactId>spring-boot-maven-plugin</artifactId>
  95. <executions>
  96. <execution>
  97. <goals>
  98. <goal>repackage</goal>
  99. </goals>
  100. </execution>
  101. </executions>
  102. </plugin>
  103. </plugins>
  104. </build>
  105. </project>