You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/03/02 08:18:00 UTC
[jira] [Resolved] (CAMEL-19107) add "fae" to check-style in CI
[ https://issues.apache.org/jira/browse/CAMEL-19107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-19107.
---------------------------------
Resolution: Won't Fix
That will take too long to run on CI for every PRs - you can quickly check CS locally as well in case of an error
mvn checkstyle:checkstyle -Dcheckstyle.failOnViolation=true
> add "fae" to check-style in CI
> ------------------------------
>
> Key: CAMEL-19107
> URL: https://issues.apache.org/jira/browse/CAMEL-19107
> Project: Camel
> Issue Type: Improvement
> Components: build system
> Reporter: Shmakov Alexey
> Priority: Minor
>
> Now style check fail after each failed module in CI
> If you add "-fae" at the end of the maven command, the style check will go through all modules and an error will occur at the end. As a result, it will be possible to find out about all style errors in the project, and not just in the first failure module
>
> Now mvn command is
> _mvn -l checkstyle.log -Dmvnd.threads=2 -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress -Dcheckstyle.failOnViolation=true -e checkstyle:checkstyle_
>
> Need
> _mvn -l checkstyle.log -Dmvnd.threads=2 -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress -Dcheckstyle.failOnViolation=true -e checkstyle:checkstyle_ *-fae*
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)