Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-38586

Confluence Source Distribution fails to build due to missing webdriver-page-weight dependency

    XMLWordPrintable

Details

    Description

      Summary

      When attempting to build the Confluence Source Distribution, the build will fail due to a missing dependency

      Steps to Reproduce

      1. Download Confluence Source 5.8 or higher
      2. Attempt to build the source following instructions from Building Confluence From Source Code

      Expected Results

      Confluence source build succeeds

      Actual Results

      The build fails and the following error message appears:

      [ERROR] Failed to execute goal on project confluence-webdriver-test: Could not resolve dependencies for project com.atlassian.confluence:confluence-webdriver-test:jar:5.8.2: Could not find artifact com.atlassian.pageweight:webdriver-page-weight:jar:1.4 in atlassian-proxy (https://m2proxy.atlassian.com/repository/public) -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <goals> -rf :confluence-webdriver-test
      

      Workaround

      • Download the attached webdriver-page-weight-1.4.jar file
      • Install it locally into the source via the following:
        ./mvn3.sh install:install-file -DgroupId=com.atlassian.pageweight -DartifactId=webdriver-page-weight -Dversion=1.4 -Dpackaging=jar -Dfile=/path/to/webdriver-page-weight-1.4.jar -s "settings.xml" -Dmaven.repo.local="`pwd`/localrepo"

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sbrannen@atlassian.com Branno
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: