Details
-
Bug
-
Resolution: Timed out
-
Low
-
None
-
5.8.2, 5.8.4, 5.8.5, 5.8.6
-
3
-
Severity 2 - Major
-
1
-
Description
Summary
When attempting to build the Confluence Source Distribution, the build will fail due to a missing dependency
Steps to Reproduce
- Download Confluence Source 5.8 or higher
- 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
- is related to
-
CONFSERVER-38585 Confluence Source Distribution fails to build due to missing Team Calendars dependency
- Closed
-
CONFSERVER-38586 Confluence Source Distribution fails to build due to missing webdriver-page-weight dependency
- Gathering Impact