You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "richard (JIRA)" <ji...@apache.org> on 2017/12/05 16:52:00 UTC

[jira] [Commented] (MCHECKSTYLE-332) maven plugin not using cache property

    [ https://issues.apache.org/jira/browse/MCHECKSTYLE-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16278846#comment-16278846 ] 

richard commented on MCHECKSTYLE-332:
-------------------------------------

Is there a timetable when 2.18 will come out or are releases now abandoned for this project? We have been waiting a year for this change.
Checkstyle cannot make backward breaking changes until the new version is released. The old version will abend with the method in TreeWalker is removed so we cannot remove it until the new version comes out.
See Issue: https://github.com/checkstyle/checkstyle/issues/2883

> maven plugin not using cache property
> -------------------------------------
>
>                 Key: MCHECKSTYLE-332
>                 URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-332
>             Project: Maven Checkstyle Plugin
>          Issue Type: Bug
>          Components: checkstyle:checkstyle
>    Affects Versions: 2.17
>         Environment: Windows 7, 64 bit, JDK 8
>            Reporter: richard
>            Assignee: Guillaume Boué
>             Fix For: 3.0.0
>
>
> When enabling cache in the pom for checkstyle via `cacheFile`, no cache file is ever created after the run and multiple runs are not using any cache as there is no speed up.
> POM: https://github.com/checkstyle/checkstyle/blob/481406f2d5c07b8766757eb45bcc15fd1fa51bed/pom.xml#L453-L492
> I am specifying the cache after line 472 with the following:
> bq. <cacheFile>${project.build.directory}/cachefile-sevntu</cacheFile>
> When I specify the cache directly into the configuration file, the cache file is created, so this looks like an issue directly related to the maven plugin.
> I shouldn't need to specify it into the configuration since a property is available in the POM.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)