Uploaded image for project: 'Maven PMD Plugin'
  1. Maven PMD Plugin
  2. MPMD-367

Verify / ubuntu-latest jdk-11-temurin 3.9.1 broken at head in MPMD-270-325-JDK11

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.21.0
    • None
    • None

    Description

      Problem seems to be that this test produces a WARNING on this platform (and only this platform?) that fails the build

      317 kB at 5.4 MB/s)
      [INFO] Changes detected - recompiling the module!
      [INFO] Compiling 2 source files to /home/runner/work/maven-pmd-plugin/maven-pmd-plugin/target/it/MPMD-270-325-JDK11/target/classes
      [INFO] 
      [INFO] --- resources:3.3.0:testResources (default-testResources) @ MPMD-270-325-JDK11 ---
      [INFO] skip non existing resourceDirectory /home/runner/work/maven-pmd-plugin/maven-pmd-plugin/target/it/MPMD-270-325-JDK11/src/test/resources
      [INFO] 
      [INFO] --- compiler:3.8.0:testCompile (default-testCompile) @ MPMD-270-325-JDK11 ---
      [INFO] No sources to compile
      [INFO] 
      [INFO] --- surefire:3.0.0:test (default-test) @ MPMD-270-325-JDK11 ---
      [INFO] No tests to run.
      [INFO] 
      [INFO] --- jar:3.3.0:jar (default-jar) @ MPMD-270-325-JDK11 ---
      [INFO] Building jar: /home/runner/work/maven-pmd-plugin/maven-pmd-plugin/target/it/MPMD-270-325-JDK11/target/MPMD-270-325-JDK11-1.0-SNAPSHOT.jar
      [INFO] 
      [INFO] >>> pmd:3.21.0-SNAPSHOT:check (default) > :pmd @ MPMD-270-325-JDK11 >>>
      [INFO] 
      [INFO] --- pmd:3.21.0-SNAPSHOT:pmd (pmd) @ MPMD-270-325-JDK11 ---
      [WARNING] Parameter \'localRepository\' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to \'${repositorySystemSession}\' expression and get LRM from it instead.
      [INFO] PMD version: 6.55.0
      [INFO] Rendering content with org.apache.maven.skins:maven-default-skin:jar:1.3 skin.
      [INFO] 
      [INFO] <<< pmd:3.21.0-SNAPSHOT:check (default) < :pmd @ MPMD-270-325-JDK11 <<<
      [INFO] 
      [INFO] 
      [INFO] --- pmd:3.21.0-SNAPSHOT:check (default) @ MPMD-270-325-JDK11 ---
      [INFO] PMD version: 6.55.0
      [INFO] PMD Failure: com.mycompany.app.Foo:26 Rule:UnusedFormalParameter Priority:3 Avoid unused constructor parameters such as \'foo\'..
      [INFO] 
      

      Attachments

        Issue Links

          Activity

            People

              elharo Elliotte Rusty Harold
              elharo Elliotte Rusty Harold
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: