pom.xml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project>
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>io.quarkus</groupId>
  5. <artifactId>benchmark</artifactId>
  6. <version>1.0-SNAPSHOT</version>
  7. <packaging>pom</packaging>
  8. <properties>
  9. <compiler-plugin.version>3.11.0</compiler-plugin.version>
  10. <maven.compiler.release>17</maven.compiler.release>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  13. <quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
  14. <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
  15. <quarkus.platform.version>3.2.0.Final</quarkus.platform.version>
  16. <skipITs>true</skipITs>
  17. <surefire-plugin.version>3.0.0</surefire-plugin.version>
  18. <netty.io_uring.version>0.0.21.Final</netty.io_uring.version>
  19. <vertx.version>4.4.4</vertx.version>
  20. <rocker.version>1.3.0</rocker.version>
  21. <hibernate-orm.version>6.2.6.Final</hibernate-orm.version>
  22. <hibernate-reactive.version>2.0.2.Final</hibernate-reactive.version>
  23. </properties>
  24. <modules>
  25. <module>quarkus-benchmark-common</module>
  26. <module>resteasy-reactive-hibernate</module>
  27. <module>resteasy-reactive-hibernate-reactive</module>
  28. </modules>
  29. <dependencyManagement>
  30. <dependencies>
  31. <dependency>
  32. <groupId>io.quarkus</groupId>
  33. <artifactId>quarkus-benchmark-common</artifactId>
  34. <version>${project.version}</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.hibernate.orm</groupId>
  38. <artifactId>hibernate-core</artifactId>
  39. <version>${hibernate-orm.version}</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.hibernate.reactive</groupId>
  43. <artifactId>hibernate-reactive-core</artifactId>
  44. <version>${hibernate-reactive.version}</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>io.vertx</groupId>
  48. <artifactId>vertx-core</artifactId>
  49. <version>${vertx.version}</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>${quarkus.platform.group-id}</groupId>
  53. <artifactId>${quarkus.platform.artifact-id}</artifactId>
  54. <version>${quarkus.platform.version}</version>
  55. <type>pom</type>
  56. <scope>import</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.fizzed</groupId>
  60. <artifactId>rocker-runtime</artifactId>
  61. <version>${rocker.version}</version>
  62. </dependency>
  63. </dependencies>
  64. </dependencyManagement>
  65. <build>
  66. <plugins>
  67. <plugin>
  68. <groupId>${quarkus.platform.group-id}</groupId>
  69. <artifactId>quarkus-maven-plugin</artifactId>
  70. <version>${quarkus.platform.version}</version>
  71. <extensions>true</extensions>
  72. <executions>
  73. <execution>
  74. <goals>
  75. <goal>build</goal>
  76. <goal>generate-code</goal>
  77. <goal>generate-code-tests</goal>
  78. </goals>
  79. </execution>
  80. </executions>
  81. </plugin>
  82. <plugin>
  83. <artifactId>maven-compiler-plugin</artifactId>
  84. <version>${compiler-plugin.version}</version>
  85. <configuration>
  86. <compilerArgs>
  87. <arg>-parameters</arg>
  88. </compilerArgs>
  89. </configuration>
  90. </plugin>
  91. <plugin>
  92. <artifactId>maven-surefire-plugin</artifactId>
  93. <version>${surefire-plugin.version}</version>
  94. <configuration>
  95. <systemPropertyVariables>
  96. <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
  97. <maven.home>${maven.home}</maven.home>
  98. </systemPropertyVariables>
  99. </configuration>
  100. </plugin>
  101. <plugin>
  102. <artifactId>maven-failsafe-plugin</artifactId>
  103. <version>${surefire-plugin.version}</version>
  104. <executions>
  105. <execution>
  106. <goals>
  107. <goal>integration-test</goal>
  108. <goal>verify</goal>
  109. </goals>
  110. <configuration>
  111. <systemPropertyVariables>
  112. <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
  113. <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
  114. <maven.home>${maven.home}</maven.home>
  115. </systemPropertyVariables>
  116. </configuration>
  117. </execution>
  118. </executions>
  119. </plugin>
  120. </plugins>
  121. </build>
  122. <profiles>
  123. <profile>
  124. <id>native</id>
  125. <activation>
  126. <property>
  127. <name>native</name>
  128. </property>
  129. </activation>
  130. <properties>
  131. <skipITs>false</skipITs>
  132. <quarkus.package.type>native</quarkus.package.type>
  133. </properties>
  134. </profile>
  135. <profile>
  136. <id>iouring</id>
  137. <activation>
  138. <property>
  139. <!-- Not enabling this by default yet -->
  140. <name>iouring</name>
  141. </property>
  142. </activation>
  143. <dependencies>
  144. <dependency>
  145. <groupId>io.vertx</groupId>
  146. <artifactId>vertx-io_uring-incubator</artifactId>
  147. <version>${vertx.version}</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>io.netty.incubator</groupId>
  151. <artifactId>netty-incubator-transport-native-io_uring</artifactId>
  152. <version>${netty.io_uring.version}</version>
  153. <classifier>linux-x86_64</classifier>
  154. </dependency>
  155. </dependencies>
  156. </profile>
  157. </profiles>
  158. </project>