pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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.chelvc.framework</groupId>
  8. <artifactId>framework-dependencies</artifactId>
  9. <version>1.0.0-RELEASE</version>
  10. <relativePath/>
  11. </parent>
  12. <artifactId>framework-boot</artifactId>
  13. <version>1.0.0-RELEASE</version>
  14. <packaging>pom</packaging>
  15. <properties>
  16. <framework-base.version>1.0.0-RELEASE</framework-base.version>
  17. <apidoc-maven-plugin.version>1.4.0</apidoc-maven-plugin.version>
  18. <spring-boot-maven-plugin.version>2.3.9.RELEASE</spring-boot-maven-plugin.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>com.chelvc.framework</groupId>
  23. <artifactId>framework-base</artifactId>
  24. <version>${framework-base.version}</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-web</artifactId>
  29. <exclusions>
  30. <exclusion>
  31. <groupId>org.apache.logging.log4j</groupId>
  32. <artifactId>log4j-to-slf4j</artifactId>
  33. </exclusion>
  34. <exclusion>
  35. <groupId>com.fasterxml.jackson.module</groupId>
  36. <artifactId>jackson-module-parameter-names</artifactId>
  37. </exclusion>
  38. </exclusions>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-actuator</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-validation</artifactId>
  47. </dependency>
  48. </dependencies>
  49. <build>
  50. <plugins>
  51. <plugin>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-maven-plugin</artifactId>
  54. <version>${spring-boot-maven-plugin.version}</version>
  55. <configuration>
  56. <classifier>exec</classifier>
  57. </configuration>
  58. <executions>
  59. <execution>
  60. <goals>
  61. <goal>repackage</goal>
  62. </goals>
  63. </execution>
  64. </executions>
  65. </plugin>
  66. <plugin>
  67. <groupId>com.arsframework</groupId>
  68. <artifactId>apidoc-maven-plugin</artifactId>
  69. <version>${apidoc-maven-plugin.version}</version>
  70. <configuration>
  71. <includeHeaders>{String} device 设备标识,{String} channel 渠道来源,{String} platform 平台标识: PC(PC)、IOS(苹果)、ANDROID(安卓)、HARMONY(鸿蒙),{String} terminal 终端标识: WEB(Web)、APP(App)、APPLET(小程序),{String} version 终端版本,{Long} timestamp 请求时间戳,{String} signature 签名信息,{String} authorization 认证信息</includeHeaders>
  72. <includeGroupIdentities>com.chelvc.framework</includeGroupIdentities>
  73. <excludeClasses>com.chelvc.framework.base.interceptor.GlobalExceptionInterceptor</excludeClasses>
  74. <analyserFactoryClass>com.chelvc.framework.base.apidoc.MethodAnalyserFactory</analyserFactoryClass>
  75. </configuration>
  76. </plugin>
  77. </plugins>
  78. </build>
  79. </project>