[jboss-jira] [JBoss JIRA] (WFLY-9079) maven-checkstyle-plugin should not run on generated sources

Radoslav Husar (JIRA) issues at jboss.org
Wed Jul 12 12:41:00 EDT 2017


    [ https://issues.jboss.org/browse/WFLY-9079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13434851#comment-13434851 ] 

Radoslav Husar commented on WFLY-9079:
--------------------------------------

For reference the problem is that the default value for the directories that checkstyle runs on..
https://maven.apache.org/plugins/maven-checkstyle-plugin/checkstyle-mojo.html#sourceDirectories

> maven-checkstyle-plugin should not run on generated sources
> -----------------------------------------------------------
>
>                 Key: WFLY-9079
>                 URL: https://issues.jboss.org/browse/WFLY-9079
>             Project: WildFly
>          Issue Type: Component Upgrade
>          Components: Quickstarts
>            Reporter: Radoslav Husar
>            Assignee: Radoslav Husar
>            Priority: Blocker
>             Fix For: 11.0.0.Beta1
>
>
> {noformat}
> [INFO] --- maven-checkstyle-plugin:2.17:checkstyle (check-style) @ batch-processing ---
> [INFO] Starting audit...
> [ERROR] /Users/rhusar/git/wildfly-quickstarts/batch-processing/target/generated-sources/annotations/org/jboss/as/quickstarts/batch/model/Contact_.java:11:1: Line contains a tab character. [FileTabCharacter]
> [ERROR] /Users/rhusar/git/wildfly-quickstarts/batch-processing/target/generated-sources/annotations/org/jboss/as/quickstarts/batch/model/Contact_.java:12:1: Line contains a tab character. [FileTabCharacter]
> [ERROR] /Users/rhusar/git/wildfly-quickstarts/batch-processing/target/generated-sources/annotations/org/jboss/as/quickstarts/batch/model/Contact_.java:13:1: Line contains a tab character. [FileTabCharacter]
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list