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

Confluence Source Distribution fails to build due to missing confluence-soke-runner 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-soke-runner: Could not resolve dependencies for project com.atlassian.confluence.test:confluence-soke-runner:jar:5.8.2: The following artifacts could not be resolved: com.atlassian.soke:soke-client:jar:5.0.2, com.atlassian.soke:soke-http:jar:5.0.2, com.atlassian.confluence.test:confluence-soke-dataset:jar:1.13: Could not find artifact com.atlassian.soke:soke-client:jar:5.0.2 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-soke-runner
      

      Notes

      The confluence-soke-runner has some private dependencies which are not included in the source distribution.

      Workaround

      The Confluence pom has an optional flag to disable soke by invoking mvn3.sh directly and supplying this flag:

      ./mvn3.sh clean install -e -X -f confluence-project/pom.xml -Ddisable.cluster=true -Ddisable.studio -Dmaven.test.skip -Ddisable.soke -s settings.xml -Dmaven.repo.local="`pwd`/localrepo" "$@"
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: