pom.xml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. <optional>true</optional>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-web</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-actuator</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-validation</artifactId>
  38. </dependency>
  39. </dependencies>
  40. <build>
  41. <plugins>
  42. <plugin>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-maven-plugin</artifactId>
  45. <version>${spring-boot-maven-plugin.version}</version>
  46. <configuration>
  47. <classifier>exec</classifier>
  48. </configuration>
  49. <executions>
  50. <execution>
  51. <goals>
  52. <goal>repackage</goal>
  53. </goals>
  54. </execution>
  55. </executions>
  56. </plugin>
  57. <plugin>
  58. <groupId>com.arsframework</groupId>
  59. <artifactId>apidoc-maven-plugin</artifactId>
  60. <version>${apidoc-maven-plugin.version}</version>
  61. <configuration>
  62. <includeHeaders>{Long} Id 主体标识,{String} Mobile 手机号码,{Integer} Tenant 租户标识,{String} Device 设备标识,{String} Channel 渠道来源,{String} Platform 平台标识: PC(PC)、IOS(苹果)、ANDROID(安卓),{String} Terminal 终端标识: ADMIN(后台管理)、APP(App)、APPLET(小程序),{String} Version 终端版本,{String} Business 业务类型,{Integer} Sequence 终端序号,{String} Signature 签名信息,{String} Authorization 认证信息,{Boolean} Initial 是否首次请求</includeHeaders>
  63. <excludeClasses>com.chelvc.framework.base.interceptor.GlobalExceptionInterceptor</excludeClasses>
  64. <analyserFactoryClass>com.chelvc.framework.base.apidoc.MethodAnalyserFactory</analyserFactoryClass>
  65. </configuration>
  66. </plugin>
  67. </plugins>
  68. </build>
  69. </project>