maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Boué (JIRA) <>
Subject [jira] [Commented] (MCHECKSTYLE-332) maven plugin not using cache property
Date Sat, 19 Nov 2016 23:23:58 GMT


Guillaume Boué commented on MCHECKSTYLE-332:

The [{{cacheFile}}|]
has a default value so, even if left out, there should be a cache file created, by default
it is {{target/checkstyle-cachefile}}.

Furthermore, I don't see any {{<cacheFile>}} configuration for the {{checkstyle:checkstyle}}
goal in the linked section of the POM, nor in its {{<properties>}}. Can you clarify
what is the issue and make a sample project demonstrating it?

> maven plugin not using cache property
> -------------------------------------
>                 Key: MCHECKSTYLE-332
>                 URL:
>             Project: Maven Checkstyle Plugin
>          Issue Type: Bug
>          Components: checkstyle:checkstyle
>    Affects Versions: 2.17
>         Environment: Windows 7, 64 bit, JDK 8
>            Reporter: richard
> 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:
> I am specifying the cache after line 472 with the following:
> bq. <cacheFile>${}/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

View raw message