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

[support-core] Upgrade parent pom and fix HTMLForm API usage

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • support-core-plugin
    • None

      In order to validate the bahaviour of the plugin on Java 11, we need to upgrade the parent-pom used by the plugin. 

      Initial tests shows that some dependencies changed, resulting in the usage of removed API in SupportActionTest

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:testCompile (default-testCompile) on project support-core: Compilation failure
      [ERROR] /home/adrien/workspaces/jenkinsci/support-core-plugin/src/test/java/com/cloudbees/jenkins/support/SupportActionTest.java:[105,50] cannot find symbol
      [ERROR]   symbol:   method getHtmlElementsByTagName(java.lang.String)
      [ERROR]   location: variable form of type com.gargoylesoftware.htmlunit.html.HtmlForm
      

            alecharp Adrien Lecharpentier
            alecharp Adrien Lecharpentier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: