Failure in building local xwiki-platform

Hello,

I encountered several issues when trying to build the XWiki project and run integration tests on my local XWiki instance with version 10.8. I faced an error related to the Spoon package with a snapshot that could not be fetched from a repository, as the repository at fr.irnia responded with an HTTP 500 error to my request.

Although I preferred to work with version 10.8, after spending hours dealing with this issue, I decided to switch to the stable versions 15.x, 16.x, and 17.x. However, I was unable to successfully build any of these versions using Maven 3.6.3 or 3.9.

For version 17.2.2 with Maven 3.6.3, I encountered the following error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.5.0:enforce (enforce-valid-poms) on project xwiki-platform: Execution enforce-valid-poms of goal org.apache.maven.plugins:maven-enforcer-plugin:3.5.0:enforce failed: Failed to create enforcer rules with name: externalExtensionCheck or for class: org.apache.maven.plugins.enforcer.ExternalExtensionCheck -> [Help 1]

For Maven 3.9+, I received this error:

Unresolved plugin: 'org.xwiki.platform:xwiki-platform-tool-packager-plugin:17.2.2'

Is there a specific Docker container in which I can successfully build the source? My goal is to run integration tests for the entire platform and capture HTTP requests, function calls, traces, and SQL queries using XRebel.

Not sure what this error means. If you build with -e you should have a more detailed error.

You might be missing the XWiki nexus repository in your settings.xml, as described on https://dev.xwiki.org/xwiki/bin/view/Community/Building/#HInstallingMaven. If you have the right settings, you might want to try again as there was some work on the nexus repository 2 days ago I think.