Uploaded image for project: 'Maven Checkstyle Plugin'
  1. Maven Checkstyle Plugin
  2. MCHECKSTYLE-332

maven plugin not using cache property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.17
    • 3.0.0
    • checkstyle:checkstyle
    • None
    • Windows 7, 64 bit, JDK 8

    Description

      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:

      <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.

      Attachments

        Activity

          People

            gboue Guillaume Boué
            rveach richard
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: