powered by Jive Software

[4.6.2] Docker build failed - Could not resolve dependencies

Hi. Not sure, that it relates to 4.6.* major release, but I can’t build docker image for 4.6.0 and upper.

build	19-Feb-2021 21:53:46	[ERROR] Failed to execute goal on project xmppserver: Could not resolve dependencies for project org.igniterealtime.openfire:xmppserver:jar:4.6.2: Could not find artifact org.igniterealtime.openfire:i18n:jar:4.6.2 in atlassian-public (https://maven.atlassian.com/repository/public) -> [Help 1]

Full build log:

|build|19-Feb-2021 21:53:46|Downloaded from igniterealtime: https://igniterealtime.org/archiva/repository/maven/org/igniterealtime/tinder/2.0.0/tinder-2.0.0.jar (100 kB at 310 kB/s)|
|---|---|---|
|build|19-Feb-2021 21:53:46|Downloaded from igniterealtime: https://igniterealtime.org/archiva/repository/maven/org/gnu/inet/libidn/1.35/libidn-1.35.jar (115 kB at 337 kB/s)|
|build|19-Feb-2021 21:53:46|Downloading from central: https://repo.maven.apache.org/maven2/org/igniterealtime/openfire/i18n/4.6.2/i18n-4.6.2.jar|
|build|19-Feb-2021 21:53:46|[INFO] ------------------------------------------------------------------------|
|build|19-Feb-2021 21:53:46|[INFO] Reactor Summary for Parent 4.6.2:|
|build|19-Feb-2021 21:53:46|[INFO] |
|build|19-Feb-2021 21:53:46|[INFO] Parent ............................................. SUCCESS [01:11 min]|
|build|19-Feb-2021 21:53:46|[INFO] Internationalization files for Openfire ............ SUCCESS [ 23.116 s]|
|build|19-Feb-2021 21:53:46|[INFO] Core XMPP Server ................................... FAILURE [02:26 min]|
|build|19-Feb-2021 21:53:46|[INFO] Starter for Openfire ............................... SKIPPED|
|build|19-Feb-2021 21:53:46|[INFO] Openfire Plugins ................................... SKIPPED|
|build|19-Feb-2021 21:53:46|[INFO] Openfire Plugin Assembly Descriptor ................ SKIPPED|
|build|19-Feb-2021 21:53:46|[INFO] Distribution ....................................... SKIPPED|
|build|19-Feb-2021 21:53:46|[INFO] ------------------------------------------------------------------------|
|build|19-Feb-2021 21:53:46|[INFO] BUILD FAILURE|
|build|19-Feb-2021 21:53:46|[INFO] ------------------------------------------------------------------------|
|build|19-Feb-2021 21:53:46|[INFO] Total time:  05:03 min|
|build|19-Feb-2021 21:53:46|[INFO] Finished at: 2021-02-19T19:53:46Z|
|build|19-Feb-2021 21:53:46|[INFO] ------------------------------------------------------------------------|
|build|19-Feb-2021 21:53:46|[ERROR] Failed to execute goal on project xmppserver: Could not resolve dependencies for project org.igniterealtime.openfire:xmppserver:jar:4.6.2: Could not find artifact org.igniterealtime.openfire:i18n:jar:4.6.2 in atlassian-public (https://maven.atlassian.com/repository/public) -> [Help 1]|
|build|19-Feb-2021 21:53:46|[ERROR] |
|build|19-Feb-2021 21:53:46|[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.|
|build|19-Feb-2021 21:53:46|[ERROR] Re-run Maven using the -X switch to enable full debug logging.|
|build|19-Feb-2021 21:53:46|[ERROR] |
|build|19-Feb-2021 21:53:46|[ERROR] For more information about the errors and possible solutions, please read the following articles:|
|build|19-Feb-2021 21:53:46|[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException|
|build|19-Feb-2021 21:53:46|[ERROR] |
|build|19-Feb-2021 21:53:46|[ERROR] After correcting the problems, you can resume the build with the command|
|build|19-Feb-2021 21:53:46|[ERROR]   mvn <args> -rf :xmppserver|
|build|19-Feb-2021 21:53:47|Removing intermediate container 29ba37d378af|
|error|19-Feb-2021 21:53:47|The command '/bin/sh -c mvn dependency:go-offline' returned a non-zero code: 1|

Notice: docker build for v4.5.4 is OK.

Any idea how to solve it ?

Thanks.

Sadly, we are having issues with CI building properly and thus publishing the build artifact jar to our archiva instance :frowning:

Thanks for the quick answer. One more - do you plan to fix this till 4.6.3 or earlier ? :pray: