pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  6. <modelVersion>4.0.0</modelVersion>
  7. <groupId>com.github.iapt_platform</groupId>
  8. <artifactId>mint</artifactId>
  9. <version>2022.9.26</version>
  10. <packaging>jar</packaging>
  11. <name>International Academy Of Pali Tipitaka(国际巴利三藏学院)</name>
  12. <properties>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  15. <dropwizard.version>4.0.0-beta.2</dropwizard.version>
  16. <mainClass>com.github.iapt_platform.mintApplication</mainClass>
  17. </properties>
  18. <dependencyManagement>
  19. <dependencies>
  20. <dependency>
  21. <groupId>io.dropwizard</groupId>
  22. <artifactId>dropwizard-dependencies</artifactId>
  23. <version>${dropwizard.version}</version>
  24. <type>pom</type>
  25. <scope>import</scope>
  26. </dependency>
  27. </dependencies>
  28. </dependencyManagement>
  29. <dependencies>
  30. <dependency>
  31. <groupId>io.dropwizard</groupId>
  32. <artifactId>dropwizard-core</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>io.dropwizard</groupId>
  36. <artifactId>dropwizard-assets</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>io.dropwizard</groupId>
  40. <artifactId>dropwizard-client</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>io.dropwizard</groupId>
  44. <artifactId>dropwizard-migrations</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>io.dropwizard</groupId>
  48. <artifactId>dropwizard-jdbi3</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>io.dropwizard</groupId>
  52. <artifactId>dropwizard-hibernate</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>io.dropwizard</groupId>
  56. <artifactId>dropwizard-auth</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>io.dropwizard</groupId>
  60. <artifactId>dropwizard-forms</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>io.dropwizard</groupId>
  64. <artifactId>dropwizard-views-mustache</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.postgresql</groupId>
  68. <artifactId>postgresql</artifactId>
  69. <version>42.4.0</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>com.fasterxml.jackson.core</groupId>
  73. <artifactId>jackson-annotations</artifactId>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.fasterxml.jackson.datatype</groupId>
  77. <artifactId>jackson-datatype-jsr310</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>jakarta.validation</groupId>
  81. <artifactId>jakarta.validation-api</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.hibernate.validator</groupId>
  85. <artifactId>hibernate-validator</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.hibernate.validator</groupId>
  89. <artifactId>hibernate-validator</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>com.rabbitmq</groupId>
  93. <artifactId>amqp-client</artifactId>
  94. <version>5.15.0</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>io.lettuce</groupId>
  98. <artifactId>lettuce-core</artifactId>
  99. <version>6.1.8.RELEASE</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>io.minio</groupId>
  103. <artifactId>minio</artifactId>
  104. <version>8.4.2</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>io.grpc</groupId>
  108. <artifactId>grpc-netty-shaded</artifactId>
  109. <version>1.47.0</version>
  110. <scope>runtime</scope>
  111. </dependency>
  112. <dependency>
  113. <groupId>io.grpc</groupId>
  114. <artifactId>grpc-protobuf</artifactId>
  115. <version>1.47.0</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>io.grpc</groupId>
  119. <artifactId>grpc-stub</artifactId>
  120. <version>1.47.0</version>
  121. </dependency>
  122. <dependency> <!-- necessary for Java 9+ -->
  123. <groupId>org.apache.tomcat</groupId>
  124. <artifactId>annotations-api</artifactId>
  125. <version>6.0.53</version>
  126. <scope>provided</scope>
  127. </dependency>
  128. <dependency>
  129. <groupId>com.google.crypto.tink</groupId>
  130. <artifactId>tink</artifactId>
  131. <version>1.6.1</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>io.jsonwebtoken</groupId>
  135. <artifactId>jjwt-api</artifactId>
  136. <version>0.11.5</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>io.jsonwebtoken</groupId>
  140. <artifactId>jjwt-impl</artifactId>
  141. <version>0.11.5</version>
  142. <scope>runtime</scope>
  143. </dependency>
  144. <dependency>
  145. <groupId>io.jsonwebtoken</groupId>
  146. <artifactId>jjwt-jackson</artifactId>
  147. <version>0.11.5</version>
  148. <scope>runtime</scope>
  149. </dependency>
  150. <dependency>
  151. <groupId>com.google.zxing</groupId>
  152. <artifactId>core</artifactId>
  153. <version>3.5.0</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>com.google.zxing</groupId>
  157. <artifactId>javase</artifactId>
  158. <version>3.5.0</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.junit.jupiter</groupId>
  162. <artifactId>junit-jupiter</artifactId>
  163. <version>5.8.2</version>
  164. <scope>test</scope>
  165. </dependency>
  166. </dependencies>
  167. <build>
  168. <plugins>
  169. <plugin>
  170. <artifactId>maven-shade-plugin</artifactId>
  171. <version>3.3.0</version>
  172. <configuration>
  173. <createDependencyReducedPom>true</createDependencyReducedPom>
  174. <transformers>
  175. <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
  176. <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  177. <mainClass>${mainClass}</mainClass>
  178. </transformer>
  179. </transformers>
  180. <!-- exclude signed Manifests -->
  181. <filters>
  182. <filter>
  183. <artifact>*:*</artifact>
  184. <excludes>
  185. <exclude>META-INF/*.SF</exclude>
  186. <exclude>META-INF/*.DSA</exclude>
  187. <exclude>META-INF/*.RSA</exclude>
  188. </excludes>
  189. </filter>
  190. </filters>
  191. </configuration>
  192. <executions>
  193. <execution>
  194. <phase>package</phase>
  195. <goals>
  196. <goal>shade</goal>
  197. </goals>
  198. </execution>
  199. </executions>
  200. </plugin>
  201. <plugin>
  202. <artifactId>maven-jar-plugin</artifactId>
  203. <version>3.2.2</version>
  204. <configuration>
  205. <archive>
  206. <manifest>
  207. <addClasspath>true</addClasspath>
  208. <mainClass>${mainClass}</mainClass>
  209. </manifest>
  210. </archive>
  211. </configuration>
  212. </plugin>
  213. <plugin>
  214. <artifactId>maven-compiler-plugin</artifactId>
  215. <version>3.10.1</version>
  216. <configuration>
  217. <source>11</source>
  218. <target>11</target>
  219. </configuration>
  220. </plugin>
  221. <plugin>
  222. <artifactId>maven-surefire-plugin</artifactId>
  223. <version>2.22.2</version>
  224. </plugin>
  225. <plugin>
  226. <artifactId>maven-source-plugin</artifactId>
  227. <version>3.2.1</version>
  228. <executions>
  229. <execution>
  230. <id>attach-sources</id>
  231. <goals>
  232. <goal>jar</goal>
  233. </goals>
  234. </execution>
  235. </executions>
  236. </plugin>
  237. <plugin>
  238. <artifactId>maven-javadoc-plugin</artifactId>
  239. <version>3.4.0</version>
  240. <executions>
  241. <execution>
  242. <id>attach-javadocs</id>
  243. <goals>
  244. <goal>jar</goal>
  245. </goals>
  246. </execution>
  247. </executions>
  248. </plugin>
  249. </plugins>
  250. </build>
  251. <reporting>
  252. <plugins>
  253. <plugin>
  254. <artifactId>maven-project-info-reports-plugin</artifactId>
  255. <version>3.3.0</version>
  256. <configuration>
  257. <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
  258. <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
  259. </configuration>
  260. </plugin>
  261. <plugin>
  262. <artifactId>maven-javadoc-plugin</artifactId>
  263. <version>3.4.0</version>
  264. </plugin>
  265. </plugins>
  266. </reporting>
  267. <profiles>
  268. <profile>
  269. <id>java11+</id>
  270. <activation>
  271. <jdk>[11,)</jdk>
  272. </activation>
  273. <properties>
  274. <!--
  275. Workaround for "javadoc: error - The code being documented uses modules but the packages
  276. defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module."
  277. -->
  278. <maven.javadoc.skip>true</maven.javadoc.skip>
  279. </properties>
  280. </profile>
  281. </profiles>
  282. </project>