pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.redhat.training.kafka.coreapi</groupId>
  7. <artifactId>payments-producer</artifactId>
  8. <version>1.0.0-SNAPSHOT</version>
  9. <name>payment producer</name>
  10. <packaging>jar</packaging>
  11. <properties>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <maven.compiler.source>17</maven.compiler.source>
  14. <maven.compiler.target>17</maven.compiler.target>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.apache.kafka</groupId>
  19. <artifactId>kafka-clients</artifactId>
  20. <version>3.7.0.redhat-00007</version>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.slf4j</groupId>
  24. <artifactId>slf4j-api</artifactId>
  25. <version>2.0.7.redhat-00003</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.slf4j</groupId>
  29. <artifactId>slf4j-simple</artifactId>
  30. <version>2.0.7.redhat-00003</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.fasterxml.jackson.core</groupId>
  34. <artifactId>jackson-databind</artifactId>
  35. <version>2.17.2.redhat-00001</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>io.smallrye.config</groupId>
  39. <artifactId>smallrye-config</artifactId>
  40. <version>3.5.4.redhat-00001</version>
  41. </dependency>
  42. </dependencies>
  43. <build>
  44. <plugins>
  45. <plugin>
  46. <groupId>org.codehaus.mojo</groupId>
  47. <artifactId>exec-maven-plugin</artifactId>
  48. <version>3.4.1</version>
  49. <executions>
  50. <execution>
  51. <goals>
  52. <goal>java</goal>
  53. </goals>
  54. </execution>
  55. </executions>
  56. <configuration>
  57. <mainClass>com.redhat.training.kafka.coreapi.PaymentProducer</mainClass>
  58. </configuration>
  59. </plugin>
  60. </plugins>
  61. </build>
  62. <profiles>
  63. <profile>
  64. <id>risk-assessment-updates</id>
  65. <activation>
  66. <property>
  67. <name>risk-assessment-updates</name>
  68. </property>
  69. </activation>
  70. <build>
  71. <plugins>
  72. <plugin>
  73. <groupId>org.codehaus.mojo</groupId>
  74. <artifactId>exec-maven-plugin</artifactId>
  75. <version>3.4.1</version>
  76. <executions>
  77. <execution>
  78. <goals>
  79. <goal>java</goal>
  80. </goals>
  81. </execution>
  82. </executions>
  83. <configuration>
  84. <mainClass>com.redhat.training.kafka.coreapi.RiskAssessmentProducer</mainClass>
  85. </configuration>
  86. </plugin>
  87. </plugins>
  88. </build>
  89. </profile>
  90. <profile>
  91. <id>bank-account-data</id>
  92. <activation>
  93. <property>
  94. <name>bank-account-data</name>
  95. </property>
  96. </activation>
  97. <build>
  98. <plugins>
  99. <plugin>
  100. <groupId>org.codehaus.mojo</groupId>
  101. <artifactId>exec-maven-plugin</artifactId>
  102. <version>3.4.1</version>
  103. <executions>
  104. <execution>
  105. <goals>
  106. <goal>java</goal>
  107. </goals>
  108. </execution>
  109. </executions>
  110. <configuration>
  111. <mainClass>com.redhat.training.kafka.coreapi.BankAccountProducer</mainClass>
  112. </configuration>
  113. </plugin>
  114. </plugins>
  115. </build>
  116. </profile>
  117. </profiles>
  118. </project>