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

Drop @requiresDependencyResolution test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 2.8
    • None
    • None
    • None
    • N/A

    Description

      Currently, the CheckstyleViolationCheckMojo class declares:

      @requiresDependencyResolution test

      However, that should not be necessary. Checkstyle works on source files, not on bytecode.

      If this declaration would be removed, then this Checkstyle plugin should still work perfectly fine (I would expect without any further code changes).

      The advantage would be that in our Continuous Integration pipeline I can skip the compile stage and immediately trigger the checkstyle stage. That would save us multiple minutes on the feedback roundtrip.

      Attachments

        Issue Links

          Activity

            People

              struberg Mark Struberg
              znerd Ernst de Haan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: