pom.xml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>2.4.3</version>
  10. <relativePath/> <!-- lookup parent from repository -->
  11. </parent>
  12. <groupId>com.netflix</groupId>
  13. <artifactId>midjourney</artifactId>
  14. <packaging>jar</packaging>
  15. <properties>
  16. <java.version>11</java.version>
  17. <maven.compiler.source>11</maven.compiler.source>
  18. <maven.compiler.target>11</maven.compiler.target>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. <io-undertow.version>2.0.30.Final</io-undertow.version>
  21. <xnio-nio.version>3.7.7.Final</xnio-nio.version>
  22. </properties>
  23. <dependencies>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-web</artifactId>
  27. <exclusions>
  28. <exclusion>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-tomcat</artifactId>
  31. </exclusion>
  32. <exclusion>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-json</artifactId>
  35. </exclusion>
  36. <exclusion>
  37. <groupId>org.hibernate.validator</groupId>
  38. <artifactId>hibernate-validator</artifactId>
  39. </exclusion>
  40. <exclusion>
  41. <groupId>com.fasterxml.jackson.core</groupId>
  42. <artifactId>jackson-databind</artifactId>
  43. </exclusion>
  44. </exclusions>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-undertow</artifactId>
  49. <exclusions>
  50. <exclusion>
  51. <groupId>io.undertow</groupId>
  52. <artifactId>undertow-core</artifactId>
  53. </exclusion>
  54. <exclusion>
  55. <groupId>io.undertow</groupId>
  56. <artifactId>undertow-servlet</artifactId>
  57. </exclusion>
  58. </exclusions>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.jboss.xnio</groupId>
  62. <artifactId>xnio-nio</artifactId>
  63. <version>${xnio-nio.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>io.undertow</groupId>
  67. <artifactId>undertow-core</artifactId>
  68. <version>${io-undertow.version}</version>
  69. <exclusions>
  70. <exclusion>
  71. <groupId>org.jboss.xnio</groupId>
  72. <artifactId>xnio-nio</artifactId>
  73. </exclusion>
  74. <exclusion>
  75. <groupId>org.jboss.xnio</groupId>
  76. <artifactId>xnio-api</artifactId>
  77. </exclusion>
  78. </exclusions>
  79. </dependency>
  80. <dependency>
  81. <groupId>io.undertow</groupId>
  82. <artifactId>undertow-servlet</artifactId>
  83. <version>${io-undertow.version}</version>
  84. <exclusions>
  85. <exclusion>
  86. <groupId>io.undertow</groupId>
  87. <artifactId>undertow-core</artifactId>
  88. </exclusion>
  89. </exclusions>
  90. </dependency>
  91. <dependency>
  92. <groupId>com.netflix</groupId>
  93. <artifactId>netflix-common</artifactId>
  94. <exclusions>
  95. <exclusion>
  96. <groupId>mysql</groupId>
  97. <artifactId>mysql-connector-java</artifactId>
  98. </exclusion>
  99. <exclusion>
  100. <groupId>org.bouncycastle</groupId>
  101. <artifactId>bcprov-jdk15on</artifactId>
  102. </exclusion>
  103. <exclusion>
  104. <groupId>com.google.zxing</groupId>
  105. <artifactId>core</artifactId>
  106. </exclusion>
  107. <exclusion>
  108. <groupId>org.springframework.boot</groupId>
  109. <artifactId>spring-boot-starter-test</artifactId>
  110. </exclusion>
  111. <exclusion>
  112. <groupId>com.alipay.sdk</groupId>
  113. <artifactId>alipay-sdk-java</artifactId>
  114. </exclusion>
  115. <exclusion>
  116. <groupId>org.springframework.boot</groupId>
  117. <artifactId>spring-boot-starter-aop</artifactId>
  118. </exclusion>
  119. <exclusion>
  120. <groupId>com.google.guava</groupId>
  121. <artifactId>guava</artifactId>
  122. </exclusion>
  123. <exclusion>
  124. <groupId>com.tencentcloudapi</groupId>
  125. <artifactId>tencentcloud-sdk-java-sms</artifactId>
  126. </exclusion>
  127. <exclusion>
  128. <groupId>com.tencentcloudapi</groupId>
  129. <artifactId>tencentcloud-sdk-java-faceid</artifactId>
  130. </exclusion>
  131. <exclusion>
  132. <groupId>com.tencentcloudapi</groupId>
  133. <artifactId>tencentcloud-sdk-java</artifactId>
  134. </exclusion>
  135. </exclusions>
  136. <version>1.0</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>mysql</groupId>
  140. <artifactId>mysql-connector-java</artifactId>
  141. <scope>runtime</scope>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.springframework.boot</groupId>
  145. <artifactId>spring-boot-configuration-processor</artifactId>
  146. <optional>true</optional>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.springframework.boot</groupId>
  150. <artifactId>spring-boot-starter-websocket</artifactId>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.projectlombok</groupId>
  154. <artifactId>lombok</artifactId>
  155. <scope>provided</scope>
  156. </dependency>
  157. </dependencies>
  158. <build>
  159. <plugins>
  160. <plugin>
  161. <groupId>org.springframework.boot</groupId>
  162. <artifactId>spring-boot-maven-plugin</artifactId>
  163. <configuration>
  164. <mainClass>${start-class}</mainClass>
  165. <layout>ZIP</layout><!-- Replace with your main class -->
  166. </configuration>
  167. </plugin>
  168. <plugin>
  169. <groupId>org.apache.maven.plugins</groupId>
  170. <artifactId>maven-compiler-plugin</artifactId>
  171. <version>3.8.1</version>
  172. <configuration>
  173. <source>${java.version}</source>
  174. <target>${java.version}</target>
  175. <encoding>${project.build.sourceEncoding}</encoding>
  176. <compilerArgument>-Xlint:unchecked</compilerArgument>
  177. </configuration>
  178. </plugin>
  179. </plugins>
  180. <resources>
  181. <resource>
  182. <directory>src/main/resources</directory>
  183. <includes>
  184. <include>**/*</include>
  185. </includes>
  186. <filtering>true</filtering>
  187. </resource>
  188. </resources>
  189. <finalName>midjourney</finalName>
  190. </build>
  191. </project>