Browse Source

change group id to reflect library, ensure slf4j-api is in pom

Grega Bremec 7 months ago
parent
commit
893c947508
3 changed files with 13 additions and 3 deletions
  1. 6 1
      sample-consumer/pom.xml
  2. 6 1
      sample-producer/pom.xml
  3. 1 1
      sample-stream/pom.xml

+ 6 - 1
sample-consumer/pom.xml

@@ -3,7 +3,7 @@
 <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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
 
-  <groupId>com.redhat.training.kafka</groupId>
+  <groupId>com.redhat.training.kafka.coreapi</groupId>
   <artifactId>sample-consumer</artifactId>
   <version>1.0.1</version>
   <name>consumer</name>
@@ -22,6 +22,11 @@
       <version>3.7.0.redhat-00007</version>
     </dependency>
     <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>slf4j-api</artifactId>
+        <version>2.0.7.redhat-00003</version>
+      </dependency>
+      <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-simple</artifactId>
       <version>2.0.7.redhat-00003</version>

+ 6 - 1
sample-producer/pom.xml

@@ -3,7 +3,7 @@
 <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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
 
-  <groupId>com.redhat.training.kafka</groupId>
+  <groupId>com.redhat.training.kafka.coreapi</groupId>
   <artifactId>sample-producer</artifactId>
   <version>1.0.1</version>
   <name>producer</name>
@@ -22,6 +22,11 @@
       <version>3.7.0.redhat-00007</version>
     </dependency>
     <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>slf4j-api</artifactId>
+        <version>2.0.7.redhat-00003</version>
+      </dependency>
+      <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-simple</artifactId>
       <version>2.0.7.redhat-00003</version>

+ 1 - 1
sample-stream/pom.xml

@@ -3,7 +3,7 @@
 <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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
 
-  <groupId>com.redhat.training.kafka</groupId>
+  <groupId>com.redhat.training.kafka.streams</groupId>
   <artifactId>sample-stream</artifactId>
   <version>1.0.1</version>
   <name>streams</name>