pom.xml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.redhat.training</groupId>
  6. <artifactId>demo</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. <name>demo</name>
  9. <properties>
  10. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  11. <maven.compiler.source>17</maven.compiler.source>
  12. <maven.compiler.target>17</maven.compiler.target>
  13. <maven.compiler.release>17</maven.compiler.release>
  14. <java.version>17</java.version>
  15. <maven.repo.redhat.ga>https://maven.repository.redhat.com/ga/</maven.repo.redhat.ga>
  16. <maven.repo.redhat.ea>https://maven.repository.redhat.com/earlyaccess/all/</maven.repo.redhat.ea>
  17. <!-- Red Hat Build of (Plain) Camel -->
  18. <!-- <camel.bom.group>org.apache.camel</camel.bom.group>
  19. <camel.bom.artifact>camel-bom</camel.bom.artifact>
  20. <camel.bom.version>4.4.0.redhat-00041</camel.bom.version> -->
  21. <!-- Red Hat Fuse -->
  22. <!-- <camel.bom.group>org.jboss.redhat-fuse</camel.bom.group>
  23. <camel.bom.artifact>fuse-springboot-bom</camel.bom.artifact>
  24. <camel.bom.version>7.13.0.fuse-7_13_0-00012-redhat-00001</camel.bom.version> -->
  25. <!-- Red Hat Build of Camel SpringBoot -->
  26. <camel.bom.group>com.redhat.camel.springboot.platform</camel.bom.group>
  27. <camel.bom.artifact>camel-spring-boot-bom</camel.bom.artifact>
  28. <camel.bom.version>4.4.0.redhat-00033</camel.bom.version>
  29. <openshift.plugin.version>7.13.0.fuse-7_13_0-00012-redhat-00001</openshift.plugin.version>
  30. </properties>
  31. <repositories>
  32. <repository>
  33. <id>redhat-ga</id>
  34. <url>${maven.repo.redhat.ga}</url>
  35. <releases>
  36. <enabled>true</enabled>
  37. </releases>
  38. <snapshots>
  39. <enabled>false</enabled>
  40. </snapshots>
  41. </repository>
  42. <repository>
  43. <id>redhat-ea</id>
  44. <url>${maven.repo.redhat.ea}</url>
  45. <releases>
  46. <enabled>true</enabled>
  47. </releases>
  48. <snapshots>
  49. <enabled>false</enabled>
  50. </snapshots>
  51. </repository>
  52. </repositories>
  53. <pluginRepositories>
  54. <pluginRepository>
  55. <id>redhat-ga</id>
  56. <url>${maven.repo.redhat.ga}</url>
  57. <releases>
  58. <enabled>true</enabled>
  59. </releases>
  60. <snapshots>
  61. <enabled>false</enabled>
  62. </snapshots>
  63. </pluginRepository>
  64. <pluginRepository>
  65. <id>redhat-ea</id>
  66. <url>${maven.repo.redhat.ea}</url>
  67. <releases>
  68. <enabled>true</enabled>
  69. </releases>
  70. <snapshots>
  71. <enabled>false</enabled>
  72. </snapshots>
  73. </pluginRepository>
  74. </pluginRepositories>
  75. <dependencyManagement>
  76. <dependencies>
  77. <dependency>
  78. <groupId>${camel.bom.group}</groupId>
  79. <artifactId>${camel.bom.artifact}</artifactId>
  80. <version>${camel.bom.version}</version>
  81. <type>pom</type>
  82. <scope>import</scope>
  83. </dependency>
  84. </dependencies>
  85. </dependencyManagement>
  86. <dependencies>
  87. <dependency>
  88. <groupId>org.apache.camel.springboot</groupId>
  89. <artifactId>camel-spring-boot-starter</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.apache.camel.springboot</groupId>
  93. <artifactId>camel-jaxb-starter</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.apache.camel.springboot</groupId>
  97. <artifactId>camel-jackson-starter</artifactId>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.camel.springboot</groupId>
  101. <artifactId>camel-bindy-starter</artifactId>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.apache.camel.springboot</groupId>
  105. <artifactId>camel-xj-starter</artifactId>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.apache.camel.springboot</groupId>
  109. <artifactId>camel-amqp-starter</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.apache.camel.springboot</groupId>
  113. <artifactId>camel-jms-starter</artifactId>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.apache.activemq</groupId>
  117. <artifactId>artemis-jakarta-client</artifactId>
  118. <version>2.33.0.redhat-00016</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.apache.camel.springboot</groupId>
  122. <artifactId>camel-kafka-starter</artifactId>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.apache.camel.springboot</groupId>
  126. <artifactId>camel-jdbc-starter</artifactId>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.apache.camel.springboot</groupId>
  130. <artifactId>camel-sql-starter</artifactId>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.apache.camel.springboot</groupId>
  134. <artifactId>camel-jpa-starter</artifactId>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.postgresql</groupId>
  138. <artifactId>postgresql</artifactId>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.hibernate.orm</groupId>
  142. <artifactId>hibernate-core</artifactId>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.springframework.boot</groupId>
  146. <artifactId>spring-boot-starter-web</artifactId>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.apache.camel.springboot</groupId>
  150. <artifactId>camel-rest-starter</artifactId>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.apache.camel.springboot</groupId>
  154. <artifactId>camel-servlet-starter</artifactId>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.apache.camel.springboot</groupId>
  158. <artifactId>camel-http-starter</artifactId>
  159. </dependency>
  160. <dependency>
  161. <groupId>jakarta.servlet</groupId>
  162. <artifactId>jakarta.servlet-api</artifactId>
  163. <version>5.0.0</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.springframework.boot</groupId>
  167. <artifactId>spring-boot-starter-actuator</artifactId>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.springframework.boot</groupId>
  171. <artifactId>spring-boot-starter-test</artifactId>
  172. </dependency>
  173. <dependency>
  174. <groupId>org.apache.camel</groupId>
  175. <artifactId>camel-test-spring-junit5</artifactId>
  176. <scope>test</scope>
  177. </dependency>
  178. </dependencies>
  179. <build>
  180. <pluginManagement>
  181. <plugins>
  182. <plugin>
  183. <groupId>org.springframework.boot</groupId>
  184. <artifactId>spring-boot-maven-plugin</artifactId>
  185. <executions>
  186. <execution>
  187. <goals>
  188. <goal>repackage</goal>
  189. </goals>
  190. </execution>
  191. </executions>
  192. </plugin>
  193. </plugins>
  194. </pluginManagement>
  195. </build>
  196. <profiles>
  197. <profile>
  198. <id>openshift</id>
  199. <properties>
  200. <jkube.generator.from>registry.access.redhat.com/ubi9/openjdk-17:latest</jkube.generator.from>
  201. </properties>
  202. <build>
  203. <plugins>
  204. <plugin>
  205. <groupId>org.jboss.redhat-fuse</groupId>
  206. <artifactId>openshift-maven-plugin</artifactId>
  207. <version>${openshift.plugin.version}</version>
  208. <executions>
  209. <execution>
  210. <goals>
  211. <goal>resource</goal>
  212. <goal>build</goal>
  213. <goal>apply</goal>
  214. </goals>
  215. </execution>
  216. </executions>
  217. </plugin>
  218. </plugins>
  219. </build>
  220. </profile>
  221. </profiles>
  222. </project>