This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git

commit cc08fa30f0fb5bcfd7133b366812ca752d1dc1e3
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue Oct 19 10:12:34 2021 +0200

    Kafka Service Registry Example: Added plugin configuration
---
 .../kafka-registry-consumer/pom.xml                | 28 ++++++++++++++++++++++
 .../kafka-registry-producer/pom.xml                | 28 ++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/kafka-service-registry/kafka-registry-consumer/pom.xml 
b/kafka-service-registry/kafka-registry-consumer/pom.xml
index fc34ad9..8865537 100644
--- a/kafka-service-registry/kafka-registry-consumer/pom.xml
+++ b/kafka-service-registry/kafka-registry-consumer/pom.xml
@@ -238,6 +238,34 @@
                     </execution>
                 </executions>
             </plugin>
+
+            <plugin>
+                <groupId>net.revelc.code.formatter</groupId>
+                <artifactId>formatter-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>format</id>
+                        <goals>
+                            <goal>format</goal>
+                        </goals>
+                        <phase>process-sources</phase>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <groupId>net.revelc.code</groupId>
+                <artifactId>impsort-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>sort-imports</id>
+                        <goals>
+                            <goal>sort</goal>
+                        </goals>
+                        <phase>process-sources</phase>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
 
diff --git a/kafka-service-registry/kafka-registry-producer/pom.xml 
b/kafka-service-registry/kafka-registry-producer/pom.xml
index a9c4839..34037a6 100644
--- a/kafka-service-registry/kafka-registry-producer/pom.xml
+++ b/kafka-service-registry/kafka-registry-producer/pom.xml
@@ -228,6 +228,34 @@
                     </execution>
                 </executions>
             </plugin>
+
+            <plugin>
+                <groupId>net.revelc.code.formatter</groupId>
+                <artifactId>formatter-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>format</id>
+                        <goals>
+                            <goal>format</goal>
+                        </goals>
+                        <phase>process-sources</phase>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <groupId>net.revelc.code</groupId>
+                <artifactId>impsort-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>sort-imports</id>
+                        <goals>
+                            <goal>sort</goal>
+                        </goals>
+                        <phase>process-sources</phase>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
 

Reply via email to