pom.xml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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-sysmgr</artifactId>
  7. <version>${micro.version}</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>service-sysmgr-biz</artifactId>
  11. <packaging>jar</packaging>
  12. <properties>
  13. <start-class>com.crunii.micro.service.sysmgr.Application</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.crunii.microservice</groupId>
  22. <artifactId>service-sysmgr-api</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.apache.velocity</groupId>
  26. <artifactId>velocity-engine-core</artifactId>
  27. <version>2.3</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.crunii.microservice</groupId>
  31. <artifactId>micro-common-web</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.crunii.microservice</groupId>
  35. <artifactId>micro-core</artifactId>
  36. </dependency>
  37. <!-- <dependency>-->
  38. <!-- <groupId>com.crunii.microservice</groupId>-->
  39. <!-- <artifactId>micro-common-swagger</artifactId>-->
  40. <!-- </dependency>-->
  41. <dependency>
  42. <groupId>org.apache.pdfbox</groupId>
  43. <artifactId>fontbox</artifactId>
  44. <version>2.0.9</version>
  45. </dependency>
  46. <!-- https://mvnrepository.com/artifact/org.apache.pdfbox/pdfbox -->
  47. <dependency>
  48. <groupId>org.apache.pdfbox</groupId>
  49. <artifactId>pdfbox</artifactId>
  50. <version>2.0.9</version>
  51. </dependency>
  52. <!-- https://mvnrepository.com/artifact/commons-logging/commons-logging -->
  53. <dependency>
  54. <groupId>commons-logging</groupId>
  55. <artifactId>commons-logging</artifactId>
  56. <version>1.2</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.google.zxing</groupId>
  60. <artifactId>core</artifactId>
  61. <version>3.3.0</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.google.zxing</groupId>
  65. <artifactId>javase</artifactId>
  66. <version>3.4.0</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-starter-websocket</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>cn.hutool</groupId>
  74. <artifactId>hutool-all</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.belerweb</groupId>
  78. <artifactId>pinyin4j</artifactId>
  79. <version>2.5.1</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.mapstruct</groupId>
  83. <artifactId>mapstruct</artifactId>
  84. </dependency>
  85. </dependencies>
  86. <build>
  87. <plugins>
  88. <!-- <plugin>-->
  89. <!-- <groupId>org.openapitools</groupId>-->
  90. <!-- <artifactId>openapi-generator-maven-plugin</artifactId>-->
  91. <!-- <version>6.6.0</version>-->
  92. <!-- <executions>-->
  93. <!-- <execution>-->
  94. <!-- <goals>-->
  95. <!-- <goal>generate</goal>-->
  96. <!-- </goals>-->
  97. <!-- <configuration>-->
  98. <!-- <templateDirectory>${session.executionRootDirectory}/openapi/template</templateDirectory>-->
  99. <!-- <inputSpec>openapi/sysmgr.yaml</inputSpec>-->
  100. <!-- <generatorName>spring</generatorName>-->
  101. <!-- <apiPackage>com.crunii.micro.service.sysmgr.controller</apiPackage>-->
  102. <!-- <modelPackage>com.crunii.micro.service.sysmgr.dto</modelPackage>-->
  103. <!-- <generateModelDocumentation>true</generateModelDocumentation>-->
  104. <!-- <skipValidateSpec>false</skipValidateSpec>-->
  105. <!-- <configOptions>-->
  106. <!-- <delegatePattern>true</delegatePattern>-->
  107. <!-- <title>swagger</title>-->
  108. <!-- <serializableModel>true</serializableModel>-->
  109. <!-- </configOptions>-->
  110. <!-- &lt;!&ndash; https://github.com/OpenAPITools/openapi-generator/issues/4680#issuecomment-656199687&ndash;&gt;-->
  111. <!-- <importMappings>-->
  112. <!-- <importMapping>Request=javax.servlet.http.HttpServletRequest</importMapping>-->
  113. <!-- </importMappings>-->
  114. <!-- </configuration>-->
  115. <!-- </execution>-->
  116. <!-- </executions>-->
  117. <!-- </plugin>-->
  118. <plugin>
  119. <groupId>org.apache.maven.plugins</groupId>
  120. <artifactId>maven-compiler-plugin</artifactId>
  121. <version>3.11.0</version>
  122. <configuration>
  123. <target>${maven.compiler.target}</target>
  124. <encoding>${project.build.sourceEncoding}</encoding>
  125. <annotationProcessorPaths>
  126. <path>
  127. <groupId>org.projectlombok</groupId>
  128. <artifactId>lombok</artifactId>
  129. <version>${org.projectlombok.version}</version>
  130. </path>
  131. <path>
  132. <groupId>org.mapstruct</groupId>
  133. <artifactId>mapstruct-processor</artifactId>
  134. <version>${mapstruct.version}</version>
  135. </path>
  136. </annotationProcessorPaths>
  137. <compilerArgs>
  138. <compilerArg>-Amapstruct.suppressGeneratorTimestamp=true</compilerArg>
  139. <compilerArg>-Amapstruct.verbose=true</compilerArg>
  140. <!--由spring管理转换器类 -->
  141. <compilerArg>-Amapstruct.defaultComponentModel=spring</compilerArg>
  142. </compilerArgs>
  143. </configuration>
  144. </plugin>
  145. <!-- 指定多个源代码目录、多个资源文件目录 -->
  146. <plugin>
  147. <groupId>org.codehaus.mojo</groupId>
  148. <artifactId>build-helper-maven-plugin</artifactId>
  149. <version>3.3.0</version>
  150. <executions>
  151. <execution>
  152. <id>add-source</id>
  153. <phase>generate-sources</phase>
  154. <goals>
  155. <goal>add-source</goal>
  156. </goals>
  157. <configuration>
  158. <sources>
  159. <source>src/java/main</source>
  160. <source>
  161. ${project.build.directory}/generated-sources/openapi/src/java/main
  162. </source>
  163. </sources>
  164. </configuration>
  165. </execution>
  166. </executions>
  167. </plugin>
  168. </plugins>
  169. </build>
  170. </project>