pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <?xml version="1.0"?>
  2. <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.redhat.training</groupId>
  6. <artifactId>hello</artifactId>
  7. <version>1.0.0-SNAPSHOT</version>
  8. <properties>
  9. <compiler-plugin.version>3.8.1</compiler-plugin.version>
  10. <maven.compiler.release>11</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>2.7.6.Final-redhat-00006</quarkus.platform.version>
  16. <skipITs>true</skipITs>
  17. <surefire-plugin.version>3.0.0-M7</surefire-plugin.version>
  18. </properties>
  19. <dependencyManagement>
  20. <dependencies>
  21. <dependency>
  22. <groupId>${quarkus.platform.group-id}</groupId>
  23. <artifactId>${quarkus.platform.artifact-id}</artifactId>
  24. <version>${quarkus.platform.version}</version>
  25. <type>pom</type>
  26. <scope>import</scope>
  27. </dependency>
  28. </dependencies>
  29. </dependencyManagement>
  30. <dependencies>
  31. <dependency>
  32. <groupId>io.quarkus</groupId>
  33. <artifactId>quarkus-resteasy</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>io.quarkus</groupId>
  37. <artifactId>quarkus-arc</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>io.quarkus</groupId>
  41. <artifactId>quarkus-junit5</artifactId>
  42. <scope>test</scope>
  43. </dependency>
  44. <dependency>
  45. <groupId>io.rest-assured</groupId>
  46. <artifactId>rest-assured</artifactId>
  47. <scope>test</scope>
  48. </dependency>
  49. </dependencies>
  50. <build>
  51. <plugins>
  52. <plugin>
  53. <groupId>${quarkus.platform.group-id}</groupId>
  54. <artifactId>quarkus-maven-plugin</artifactId>
  55. <version>${quarkus.platform.version}</version>
  56. <extensions>true</extensions>
  57. <executions>
  58. <execution>
  59. <goals>
  60. <goal>build</goal>
  61. <goal>generate-code</goal>
  62. <goal>generate-code-tests</goal>
  63. </goals>
  64. </execution>
  65. </executions>
  66. </plugin>
  67. <plugin>
  68. <artifactId>maven-compiler-plugin</artifactId>
  69. <version>${compiler-plugin.version}</version>
  70. <configuration>
  71. <compilerArgs>
  72. <arg>-parameters</arg>
  73. </compilerArgs>
  74. </configuration>
  75. </plugin>
  76. <plugin>
  77. <artifactId>maven-surefire-plugin</artifactId>
  78. <version>${surefire-plugin.version}</version>
  79. <configuration>
  80. <systemPropertyVariables>
  81. <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
  82. <maven.home>${maven.home}</maven.home>
  83. </systemPropertyVariables>
  84. </configuration>
  85. </plugin>
  86. <plugin>
  87. <artifactId>maven-failsafe-plugin</artifactId>
  88. <version>${surefire-plugin.version}</version>
  89. <executions>
  90. <execution>
  91. <goals>
  92. <goal>integration-test</goal>
  93. <goal>verify</goal>
  94. </goals>
  95. <configuration>
  96. <systemPropertyVariables>
  97. <native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
  98. <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
  99. <maven.home>${maven.home}</maven.home>
  100. </systemPropertyVariables>
  101. </configuration>
  102. </execution>
  103. </executions>
  104. </plugin>
  105. </plugins>
  106. </build>
  107. <profiles>
  108. <profile>
  109. <id>native</id>
  110. <activation>
  111. <property>
  112. <name>native</name>
  113. </property>
  114. </activation>
  115. <properties>
  116. <skipITs>false</skipITs>
  117. <quarkus.package.type>native</quarkus.package.type>
  118. </properties>
  119. </profile>
  120. </profiles>
  121. </project>