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

valdar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git


The following commit(s) were added to refs/heads/master by this push:
     new 6106196  Small adjustment to sourcechecks.
6106196 is described below

commit 6106196e3cd69305f54231a18a066e68d47313b2
Author: Andrea Tarocchi <andrea.taroc...@gmail.com>
AuthorDate: Wed Feb 12 15:27:53 2020 +0100

    Small adjustment to sourcechecks.
---
 .github/workflows/master-pr-build.yml                    |  2 +-
 .github/workflows/master-push-build.yml                  |  2 +-
 buildingtools/src/main/resources/camel-checkstyle.xml    |  1 -
 .../camel/springboot/maven/StarterGeneratorMojo.java     | 16 ++++++++--------
 4 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/.github/workflows/master-pr-build.yml 
b/.github/workflows/master-pr-build.yml
index 653b477..3ff3159 100644
--- a/.github/workflows/master-pr-build.yml
+++ b/.github/workflows/master-pr-build.yml
@@ -34,6 +34,6 @@ jobs:
       with:
         java-version: ${{ matrix.java }}
     - name: mvn sourcecheck
-      run: ./mvnw -V --no-transfer-progress clean install -DskipTests && 
./mvnw -V --no-transfer-progress -Dcheckstyle.failOnViolation=true 
-Psourcecheck -DskipTests clean verify
+      run: ./mvnw -V --no-transfer-progress -DskipTests --projects 
org.apache.camel.kafkaconnector:camel-buildtools clean install && ./mvnw -V 
--no-transfer-progress -Dcheckstyle.failOnViolation=true -Psourcecheck 
-DskipTests clean verify
     - name: mvn build and itests
       run: ./mvnw -V --no-transfer-progress -DskipIntegrationTests=false clean 
install
diff --git a/.github/workflows/master-push-build.yml 
b/.github/workflows/master-push-build.yml
index 25a7195..4cf1389 100644
--- a/.github/workflows/master-push-build.yml
+++ b/.github/workflows/master-push-build.yml
@@ -34,6 +34,6 @@ jobs:
         with:
           java-version: ${{ matrix.java }}
       - name: mvn sourcecheck
-        run: ./mvnw -V --no-transfer-progress clean install -DskipTests && 
./mvnw -V --no-transfer-progress -Dcheckstyle.failOnViolation=true 
-Psourcecheck -DskipTests clean verify
+        run: ./mvnw -V --no-transfer-progress -DskipTests --projects 
org.apache.camel.kafkaconnector:camel-buildtools clean install && ./mvnw -V 
--no-transfer-progress -Dcheckstyle.failOnViolation=true -Psourcecheck 
-DskipTests clean verify
       - name: mvn build and itests
         run: ./mvnw -V --no-transfer-progress -DskipIntegrationTests=false 
clean install
diff --git a/buildingtools/src/main/resources/camel-checkstyle.xml 
b/buildingtools/src/main/resources/camel-checkstyle.xml
index c21a0aa..f699143 100644
--- a/buildingtools/src/main/resources/camel-checkstyle.xml
+++ b/buildingtools/src/main/resources/camel-checkstyle.xml
@@ -374,7 +374,6 @@ lengths, if/try depths, etc...
         <!--module name="TrailingComment"/-->
         <module name="Indentation">
             <property name="lineWrappingIndentation" value="0"/>
-            <property name="caseIndent" value="0"/>
         </module>
         <!--<module name="RequiredRegexp">-->
         <module name="SuppressionCommentFilter">
diff --git 
a/tooling/camel-kafka-connector-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/StarterGeneratorMojo.java
 
b/tooling/camel-kafka-connector-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/StarterGeneratorMojo.java
index 2778c3f..bb8119b 100644
--- 
a/tooling/camel-kafka-connector-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/StarterGeneratorMojo.java
+++ 
b/tooling/camel-kafka-connector-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/StarterGeneratorMojo.java
@@ -91,14 +91,14 @@ public class StarterGeneratorMojo extends AbstractMojo {
 
     protected void doExecute() throws Exception {
         switch (action) {
-        case "create":
-            createStarter();
-            break;
-        case "delete":
-            deleteStarter();
-            break;
-        default:
-            throw new MojoFailureException("Unknown action: " + action);
+            case "create":
+                createStarter();
+                break;
+            case "delete":
+                deleteStarter();
+                break;
+            default:
+                throw new MojoFailureException("Unknown action: " + action);
         }
     }
 

Reply via email to