Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-31752

Fix JSF build failing on org.seleniumhq.selenium:selenium-server-standalone:jar:2.53.1 not found

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2023.0
    • Component/s: Seam / JSF UI, Tests

      Description

      Since Dependabot updated the Selenium artifact's version from 2.53.0 to 2.53.1, the JSF build is failing with:

      [2023-03-13T10:27:49.838Z] [INFO] Reactor Summary for Nuxeo JSF UI Functional Tests 2023.0-SNAPSHOT:
      [2023-03-13T10:27:49.838Z] [INFO]
      [2023-03-13T10:27:49.838Z] [INFO] Nuxeo JSF UI Functional Tests ...................... SUCCESS [  1.518 s]
      [2023-03-13T10:27:49.838Z] [INFO] Nuxeo JSF UI WebDriver Tests ....................... SUCCESS [32:35 min]
      [2023-03-13T10:27:49.838Z] [INFO] Error Web Functional Tests with Webdriver .......... FAILURE [  0.069 s]
      [2023-03-13T10:27:49.838Z] [INFO] Layout Demo Functional Tests with Webdriver ........ SKIPPED
      [2023-03-13T10:27:49.838Z] [INFO] ------------------------------------------------------------------------
      [2023-03-13T10:27:49.838Z] [INFO] BUILD FAILURE
      [2023-03-13T10:27:49.838Z] [INFO] ------------------------------------------------------------------------
      [2023-03-13T10:27:49.838Z] [INFO] Total time:  32:38 min
      [2023-03-13T10:27:49.838Z] [INFO] Finished at: 2023-03-13T10:27:49Z
      
      [2023-03-13T10:27:49.838Z] [INFO] ------------------------------------------------------------------------
      
      [2023-03-13T10:27:49.838Z] [ERROR] Failed to execute goal on project nuxeo-platform-error-web-ftest: Could not resolve dependencies for project org.nuxeo.ecm.platform:nuxeo-platform-error-web-ftest:jar:2023.0-SNAPSHOT: Failure to find org.seleniumhq.selenium:selenium-server-standalone:jar:2.53.1 in http://nexus/repository/maven-upstream/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus-internal has elapsed or updates are forced -> [Help 1]
      

      Though the 2.53.1 tag exists, org.seleniumhq.selenium:selenium-server-standalone:jar:2.53.1 isn't deployed in the Maven repositories proxied by packages.nuxeo.com.
      Yet, other artifacts such as selenium-api or selenium-support do exist in version 2.53.1... That's probably why Dependabot suggested such a change.

      Let's revert!

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: