pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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. <groupId>com.crunii.microservice</groupId>
  6. <artifactId>service-qzh</artifactId>
  7. <version>${micro.version}</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>service-qzh-biz</artifactId>
  11. <packaging>jar</packaging>
  12. <properties>
  13. <start-class>com.crunii.micro.service.qzh.QzhApplication</start-class>
  14. </properties>
  15. <dependencies>
  16. <dependency>
  17. <groupId>cn.hutool</groupId>
  18. <artifactId>hutool-dfa</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>com.belerweb</groupId>
  22. <artifactId>pinyin4j</artifactId>
  23. <version>2.5.1</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>com.crunii.microservice</groupId>
  27. <artifactId>service-qzh-api</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.crunii.microservice</groupId>
  31. <artifactId>micro-common-swagger</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.apache.velocity</groupId>
  35. <artifactId>velocity-engine-core</artifactId>
  36. <version>2.3</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.crunii.microservice</groupId>
  40. <artifactId>micro-common-web</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.crunii.microservice</groupId>
  44. <artifactId>micro-core</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.crunii.microservice</groupId>
  48. <artifactId>micro-domain</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.crunii</groupId>
  52. <artifactId>crunii-module-flow-api</artifactId>
  53. <version>1.8.1-snapshot</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.baomidou</groupId>
  57. <artifactId>dynamic-datasource-spring-boot-common</artifactId>
  58. <version>4.2.0_crunii</version>
  59. </dependency>
  60. <!--pdf处理-->
  61. <!-- https://mvnrepository.com/artifact/com.itextpdf/itextpdf -->
  62. <dependency>
  63. <groupId>com.itextpdf</groupId>
  64. <artifactId>itextpdf</artifactId>
  65. <version>5.5.13</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.itextpdf</groupId>
  69. <artifactId>itext-asian</artifactId>
  70. <version>5.2.0</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.itextpdf.tool</groupId>
  74. <artifactId>xmlworker</artifactId>
  75. <version>5.5.13</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.google.zxing</groupId>
  79. <artifactId>core</artifactId>
  80. <version>3.4.0</version>
  81. <scope>compile</scope>
  82. </dependency>
  83. <!-- https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk-s3 -->
  84. <dependency>
  85. <groupId>com.amazonaws</groupId>
  86. <artifactId>aws-java-sdk-s3</artifactId>
  87. <version>1.11.604</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.amazonaws</groupId>
  91. <artifactId>aws-java-sdk-core</artifactId>
  92. <version>1.11.604</version>
  93. </dependency>
  94. </dependencies>
  95. <build>
  96. <plugins>
  97. <plugin>
  98. <groupId>org.openapitools</groupId>
  99. <artifactId>openapi-generator-maven-plugin</artifactId>
  100. <version>6.6.0</version>
  101. <executions>
  102. <execution>
  103. <goals>
  104. <goal>generate</goal>
  105. </goals>
  106. <configuration>
  107. <templateDirectory>${session.executionRootDirectory}/openapi/template</templateDirectory>
  108. <inputSpec>openapi/qzh.yaml</inputSpec>
  109. <generatorName>spring</generatorName>
  110. <apiPackage>com.crunii.micro.service.qzh.controller</apiPackage>
  111. <modelPackage>com.crunii.micro.service.qzh.api.domain.dto</modelPackage>
  112. <generateModelDocumentation>true</generateModelDocumentation>
  113. <skipValidateSpec>false</skipValidateSpec>
  114. <configOptions>
  115. <delegatePattern>true</delegatePattern>
  116. <title>swagger</title>
  117. <serializableModel>true</serializableModel>
  118. </configOptions>
  119. <!-- https://github.com/OpenAPITools/openapi-generator/issues/4680#issuecomment-656199687-->
  120. <importMappings>
  121. <importMapping>Request=javax.servlet.http.HttpServletRequest</importMapping>
  122. </importMappings>
  123. </configuration>
  124. </execution>
  125. </executions>
  126. </plugin>
  127. <!-- 指定多个源代码目录、多个资源文件目录 -->
  128. <plugin>
  129. <groupId>org.codehaus.mojo</groupId>
  130. <artifactId>build-helper-maven-plugin</artifactId>
  131. <version>3.3.0</version>
  132. <executions>
  133. <execution>
  134. <id>add-source</id>
  135. <phase>generate-sources</phase>
  136. <goals>
  137. <goal>add-source</goal>
  138. </goals>
  139. <configuration>
  140. <sources>
  141. <source>src/java/main</source>
  142. <source>
  143. ${project.build.directory}/generated-sources/openapi/src/java/main
  144. </source>
  145. </sources>
  146. </configuration>
  147. </execution>
  148. </executions>
  149. </plugin>
  150. </plugins>
  151. </build>
  152. </project>