pom.xml 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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.3.13</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>com.fasterxml.jackson.module</groupId>
  32. <artifactId>jackson-module-parameter-names</artifactId>
  33. </exclusion>
  34. </exclusions>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-actuator</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-validation</artifactId>
  43. </dependency>
  44. </dependencies>
  45. <build>
  46. <plugins>
  47. <plugin>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-maven-plugin</artifactId>
  50. <version>${spring-boot-maven-plugin.version}</version>
  51. <configuration>
  52. <classifier>exec</classifier>
  53. </configuration>
  54. <executions>
  55. <execution>
  56. <goals>
  57. <goal>repackage</goal>
  58. </goals>
  59. </execution>
  60. </executions>
  61. </plugin>
  62. <plugin>
  63. <groupId>com.arsframework</groupId>
  64. <artifactId>apidoc-maven-plugin</artifactId>
  65. <version>${apidoc-maven-plugin.version}</version>
  66. <configuration>
  67. <includeHeaders>{String} using 使用信息: NORMAL(常规使用)、NEWLY(当日首次使用)、INITIAL(历史首次使用),{String} device 设备标识,{String} channel 渠道来源,{String} platform 平台标识: PC(PC)、IOS(苹果)、ANDROID(安卓),{String} terminal 终端标识: WEB(Web)、APP(App)、APPLET(小程序),{String} version 终端版本,{Long} timestamp 请求时间戳,{String} signature 签名信息,{String} fingerprint 设备指纹,{String} authorization 认证信息</includeHeaders>
  68. <excludeClasses>com.chelvc.framework.base.interceptor.GlobalExceptionInterceptor</excludeClasses>
  69. <analyserFactoryClass>com.chelvc.framework.base.apidoc.MethodAnalyserFactory</analyserFactoryClass>
  70. </configuration>
  71. </plugin>
  72. </plugins>
  73. </build>
  74. </project>