[infinispan-issues] [JBoss JIRA] (ISPN-10149) Keep only one checkstyle plugin configuration
Dan Berindei (Jira)
issues at jboss.org
Fri Apr 26 07:42:00 EDT 2019
[ https://issues.jboss.org/browse/ISPN-10149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13727017#comment-13727017 ]
Dan Berindei commented on ISPN-10149:
-------------------------------------
> Today the checkstyle configuration is duplicated across multiple projects
As it should be, IMO every project should be free to define its own rules.
> $ mvn checktyle:check
That's a typo, it should be {{checkstyle:check}}. But {{checkstyle}} already runs as part of the build, so I don't think developers should ever run {{checkstyle:check}} manually.
> Keep only one checkstyle plugin configuration
> ---------------------------------------------
>
> Key: ISPN-10149
> URL: https://issues.jboss.org/browse/ISPN-10149
> Project: Infinispan
> Issue Type: Bug
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Major
>
> Today the checkstyle configuration is duplicated across multiple projects
> The docs say
> {noformat}
> ===== Checking coding style
> If you have written any new code, it is highly recommended to validate formatting before submitting a Pull Request.
> This might be done by invoking:
> $ mvn checktyle:check
> {noformat}
> but it is failing
> {noformat}
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 7.296 s
> [INFO] Finished at: 2019-04-25T19:55:17-03:00
> [INFO] ------------------------------------------------------------------------
> [ERROR] No plugin found for prefix 'checktyle' in the current project and in the plugin groups [com.oracle.weblogic, org.jenkins-ci.tools, org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/dlovison/.m2/repository), -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the infinispan-issues
mailing list