Page MenuHomePhabricator

Adapt gitlab pipelines for the new wmf-jvm-parent-pom
Closed, DeclinedPublic

Description

This new pom requires a custom settings.xml to access archiva. This is valid also for CI. The JDK docker images already provide a settings.xml, we just need to add the the appropriate section as documented in https://gitlab.wikimedia.org/repos/ci-tools/wmf-jvm-parent-pom#how-to-use

An example of a build that fails with the new pom: https://gitlab.wikimedia.org/repos/data-engineering/metrics-platform/-/merge_requests/36

AC

  • Java builds on Gitlab can run with the new parent pom

Details

TitleReferenceAuthorSource BranchDest Branch
Update documentation as the pom is deployed on Maven Central.repos/ci-tools/wmf-jvm-parent-pom!10geheldeploy-to-centralmain
Customize query in GitLab

Event Timeline

Change 1007861 had a related patch set uploaded (by Gehel; author: Gehel):

[integration/config@master] Added Archiva configuration to Maven's settings.xml

https://gerrit.wikimedia.org/r/1007861

Gehel triaged this task as Low priority.Mar 1 2024, 10:35 AM
Gehel raised the priority of this task from Low to Medium.
Gehel moved this task from Backlog to In Progress on the Java-Scala-Standardization board.
Gehel moved this task from Incoming to Toil / Automation on the Data-Platform-SRE board.
Gehel moved this task from needs triage to watching / waiting on the Discovery-Search board.

After discussion, we will deploy the parent pom to Maven Central, so we will not need any specific configuration.

Change #1007861 abandoned by Gehel:

[integration/config@master] Added Archiva configuration to Maven's settings.xml

Reason:

we'll publish the pom to central instead

https://gerrit.wikimedia.org/r/1007861