You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2023/04/04 12:06:00 UTC

[jira] [Commented] (MPMD-367) Verify / ubuntu-latest jdk-11-temurin 3.9.1 broken at head in MPMD-270-325-JDK11

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

Elliotte Rusty Harold commented on MPMD-367:
--------------------------------------------

Specifically I think the issue is \n[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.\n[INFO] 



> Verify / ubuntu-latest jdk-11-temurin 3.9.1 broken at head in MPMD-270-325-JDK11
> --------------------------------------------------------------------------------
>
>                 Key: MPMD-367
>                 URL: https://issues.apache.org/jira/browse/MPMD-367
>             Project: Maven PMD Plugin
>          Issue Type: Task
>            Reporter: Elliotte Rusty Harold
>            Priority: Major
>
> 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)\n[INFO] Changes detected - recompiling the module!\n[INFO] Compiling 2 source files to /home/runner/work/maven-pmd-plugin/maven-pmd-plugin/target/it/MPMD-270-325-JDK11/target/classes\n[INFO] \n[INFO] --- resources:3.3.0:testResources (default-testResources) @ MPMD-270-325-JDK11 ---\n[INFO] skip non existing resourceDirectory /home/runner/work/maven-pmd-plugin/maven-pmd-plugin/target/it/MPMD-270-325-JDK11/src/test/resources\n[INFO] \n[INFO] --- compiler:3.8.0:testCompile (default-testCompile) @ MPMD-270-325-JDK11 ---\n[INFO] No sources to compile\n[INFO] \n[INFO] --- surefire:3.0.0:test (default-test) @ MPMD-270-325-JDK11 ---\n[INFO] No tests to run.\n[INFO] \n[INFO] --- jar:3.3.0:jar (default-jar) @ MPMD-270-325-JDK11 ---\n[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\n[INFO] \n[INFO] >>> pmd:3.21.0-SNAPSHOT:check (default) > :pmd @ MPMD-270-325-JDK11 >>>\n[INFO] \n[INFO] --- pmd:3.21.0-SNAPSHOT:pmd (pmd) @ MPMD-270-325-JDK11 ---\n[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.\n[INFO] PMD version: 6.55.0\n[INFO] Rendering content with org.apache.maven.skins:maven-default-skin:jar:1.3 skin.\n[INFO] \n[INFO] <<< pmd:3.21.0-SNAPSHOT:check (default) < :pmd @ MPMD-270-325-JDK11 <<<\n[INFO] \n[INFO] \n[INFO] --- pmd:3.21.0-SNAPSHOT:check (default) @ MPMD-270-325-JDK11 ---\n[INFO] PMD version: 6.55.0\n[INFO] PMD Failure: com.mycompany.app.Foo:26 Rule:UnusedFormalParameter Priority:3 Avoid unused constructor parameters such as \'foo\'..\n[INFO] 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)