pom.xml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>com.redhat.training.kafka</groupId>
  6. <artifactId>parent</artifactId>
  7. <version>1.0.0-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>core-api-producer</artifactId>
  10. <dependencies>
  11. <dependency>
  12. <groupId>org.apache.kafka</groupId>
  13. <artifactId>kafka-clients</artifactId>
  14. <version>${kafka.release}</version>
  15. </dependency>
  16. <dependency>
  17. <groupId>io.smallrye.config</groupId>
  18. <artifactId>smallrye-config</artifactId>
  19. <version>${smallrye.release}</version>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.slf4j</groupId>
  23. <artifactId>slf4j-simple</artifactId>
  24. <version>${slf4j.release}</version>
  25. </dependency>
  26. </dependencies>
  27. <build>
  28. <plugins>
  29. <plugin>
  30. <groupId>org.codehaus.mojo</groupId>
  31. <artifactId>exec-maven-plugin</artifactId>
  32. <version>3.4.1</version>
  33. <executions>
  34. <execution>
  35. <goals>
  36. <goal>java</goal>
  37. </goals>
  38. </execution>
  39. </executions>
  40. <configuration>
  41. <mainClass>com.redhat.training.kafka.coreapi.producer.Producer</mainClass>
  42. </configuration>
  43. </plugin>
  44. </plugins>
  45. </build>
  46. </project>