pom.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <parent>
  5. <artifactId>parent</artifactId>
  6. <groupId>com.sp.friendship</groupId>
  7. <version>5.1.0</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <packaging>jar</packaging>
  11. <artifactId>logic</artifactId>
  12. <version>5.1.0</version>
  13. <name>logic</name>
  14. <properties>
  15. <org.mapstruct.version>1.3.1.Final</org.mapstruct.version>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>com.sp.friendship</groupId>
  20. <artifactId>core</artifactId>
  21. <version>${version}</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>commons-fileupload</groupId>
  25. <artifactId>commons-fileupload</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-test</artifactId>
  30. <scope>test</scope>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.alibaba</groupId>
  34. <artifactId>druid-spring-boot-starter</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.auth0</groupId>
  38. <artifactId>jwks-rsa</artifactId>
  39. <version>0.9.0</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.bitbucket.b_c</groupId>
  43. <artifactId>jose4j</artifactId>
  44. <version>0.6.4</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>io.jsonwebtoken</groupId>
  48. <artifactId>jjwt</artifactId>
  49. <version>0.9.1</version>
  50. </dependency>
  51. </dependencies>
  52. <build>
  53. <finalName>friendship-logic</finalName>
  54. <plugins>
  55. <plugin>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-maven-plugin</artifactId>
  58. <configuration>
  59. <includeSystemScope>true</includeSystemScope>
  60. </configuration>
  61. </plugin>
  62. <!-- 打包的时候跳过测试用例 -->
  63. <plugin>
  64. <groupId>org.apache.maven.plugins</groupId>
  65. <artifactId>maven-surefire-plugin</artifactId>
  66. <version>2.18.1</version>
  67. <configuration>
  68. <skipTests>true</skipTests>
  69. </configuration>
  70. </plugin>
  71. </plugins>
  72. <resources>
  73. <resource>
  74. <directory>src/main/java</directory>
  75. <includes>
  76. <include>**/*.xml</include>
  77. </includes>
  78. <filtering>true</filtering>
  79. </resource>
  80. <resource>
  81. <directory>src/main/resources</directory>
  82. <includes>
  83. <include>**/*.*</include>
  84. </includes>
  85. <filtering>true</filtering>
  86. </resource>
  87. </resources>
  88. </build>
  89. </project>