pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project>
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>io.quarkus</groupId>
  6. <artifactId>benchmark</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. </parent>
  9. <groupId>io.quarkus.benchmark</groupId>
  10. <artifactId>resteasy-hibernate</artifactId>
  11. <dependencies>
  12. <dependency>
  13. <groupId>io.quarkus</groupId>
  14. <artifactId>quarkus-benchmark-common</artifactId>
  15. </dependency>
  16. <dependency>
  17. <groupId>io.quarkus</groupId>
  18. <artifactId>quarkus-hibernate-orm</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>io.quarkus</groupId>
  22. <artifactId>quarkus-scheduler</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>io.quarkus</groupId>
  26. <artifactId>quarkus-resteasy</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>io.quarkus</groupId>
  30. <artifactId>quarkus-resteasy-jackson</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>io.quarkus</groupId>
  34. <artifactId>quarkus-jdbc-postgresql</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.fizzed</groupId>
  38. <artifactId>rocker-compiler</artifactId>
  39. <version>1.3.0</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>io.netty</groupId>
  43. <artifactId>netty-transport-native-epoll</artifactId>
  44. <classifier>linux-x86_64</classifier>
  45. </dependency>
  46. </dependencies>
  47. <build>
  48. <plugins>
  49. <plugin>
  50. <groupId>com.fizzed</groupId>
  51. <artifactId>rocker-maven-plugin</artifactId>
  52. <version>1.3.0</version>
  53. <executions>
  54. <execution>
  55. <id>generate-rocker-templates</id>
  56. <phase>generate-sources</phase>
  57. <goals>
  58. <goal>generate</goal>
  59. </goals>
  60. <configuration>
  61. <templateDirectory>${project.basedir}/src/main/resources</templateDirectory>
  62. <optimize>true</optimize>
  63. </configuration>
  64. </execution>
  65. </executions>
  66. </plugin>
  67. </plugins>
  68. </build>
  69. <profiles>
  70. <profile>
  71. <!-- Optionally activate this profile to compile to native! -->
  72. <id>native</id>
  73. <activation>
  74. <property>
  75. <name>native</name>
  76. </property>
  77. </activation>
  78. <properties>
  79. <quarkus.package.type>native</quarkus.package.type>
  80. </properties>
  81. <build>
  82. <plugins>
  83. <plugin>
  84. <groupId>org.apache.maven.plugins</groupId>
  85. <artifactId>maven-failsafe-plugin</artifactId>
  86. <version>${surefire-plugin.version}</version>
  87. <executions>
  88. <execution>
  89. <goals>
  90. <goal>integration-test</goal>
  91. <goal>verify</goal>
  92. </goals>
  93. <configuration>
  94. <systemPropertyVariables>
  95. <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
  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. </execution>
  101. </executions>
  102. </plugin>
  103. </plugins>
  104. </build>
  105. </profile>
  106. </profiles>
  107. </project>