pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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. <!-- SpringCloud Alibaba Sentinel -->
  27. <dependency>
  28. <groupId>com.alibaba.cloud</groupId>
  29. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  30. </dependency>
  31. <!-- SpringBoot Actuator -->
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-actuator</artifactId>
  35. </dependency>
  36. <!-- soc Api System -->
  37. <dependency>
  38. <groupId>com.xunmei</groupId>
  39. <artifactId>soc-api-system</artifactId>
  40. <version>0.0.1-SNAPSHOT</version>
  41. </dependency>
  42. <!-- soc Common Swagger -->
  43. <dependency>
  44. <groupId>com.xunmei</groupId>
  45. <artifactId>soc-common-swagger</artifactId>
  46. <version>0.0.1-SNAPSHOT</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>cn.hutool</groupId>
  50. <artifactId>hutool-all</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.lowagie</groupId>
  54. <artifactId>itext</artifactId>
  55. <version>4.2.2</version>
  56. <scope>system</scope>
  57. <systemPath>${project.basedir}/src/main/resources/lib/itext-4.2.1.jar</systemPath>
  58. </dependency>
  59. </dependencies>
  60. <build>
  61. <finalName>${project.artifactId}</finalName>
  62. <plugins>
  63. <!--不加此配置会导致引入的第三方jar包依赖 无法被打进jar包,导致线上报错-->
  64. <plugin>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-maven-plugin</artifactId>
  67. <configuration>
  68. <includeSystemScope>true</includeSystemScope>
  69. </configuration>
  70. </plugin>
  71. <plugin>
  72. <groupId>org.apache.maven.plugins</groupId>
  73. <artifactId>maven-compiler-plugin</artifactId>
  74. <configuration>
  75. <source>1.8</source>
  76. <target>1.8</target>
  77. <encoding>UTF-8</encoding>
  78. <compilerArguments>
  79. <extdirs>${project.basedir}/src/main/resources/lib</extdirs>
  80. </compilerArguments>
  81. </configuration>
  82. </plugin>
  83. <plugin>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-maven-plugin</artifactId>
  86. <executions>
  87. <execution>
  88. <goals>
  89. <goal>repackage</goal>
  90. </goals>
  91. </execution>
  92. </executions>
  93. </plugin>
  94. </plugins>
  95. </build>
  96. </project>