Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-65720

Can't build plugin with Maven 3.6.3 and Java 1.8

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I'm trying to build the plugin project with Maven 3.6.3 and Oracle JDK 1.8, but it fails:

      [ERROR] Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs (findbugs) on project anchore-container-scanner: Unable to parse configuration of mojo org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs for parameter pluginArtifacts: Cannot assign configuration entry 'pluginArtifacts' with value '${plugin.artifacts}' of type java.util.Collections.UnmodifiableRandomAccessList to property of type java.util.ArrayList -> [Help 1]

        Attachments

          Activity

          Hide
          ahammar Anders Hammar added a comment -

          I can build if I:

          • Upgrade parent to v4.15
          • Change jenkins.version to 2.249.1
          • Change java.level to 8

          jenkins.version and java.level can most likely be lowered, but I tested something I have in another plugin. But I strongly suggest upgrading to a newer parent. Or adding info about build environment requirements.

          Show
          ahammar Anders Hammar added a comment - I can build if I: Upgrade parent to v4.15 Change jenkins.version to 2.249.1 Change java.level to 8 jenkins.version and java.level can most likely be lowered, but I tested something I have in another plugin. But I strongly suggest upgrading to a newer parent. Or adding info about build environment requirements.

            People

            Assignee:
            nurmi Daniel Nurmi
            Reporter:
            ahammar Anders Hammar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: