Skip to content

build-container: include Maven from wrapper#36079

Closed
arnej27959 wants to merge 2 commits intomasterfrom
arnej/make-new-maven-available
Closed

build-container: include Maven from wrapper#36079
arnej27959 wants to merge 2 commits intomasterfrom
arnej/make-new-maven-available

Conversation

@arnej27959
Copy link
Member

Before building the Vespa preview container, locate the Maven distribution that was downloaded by the Maven wrapper (~/.m2/wrapper/dists/apache-maven-*) and copy it into share/maven/ so that the exact wrapper-managed Maven version is available to the container build.

Before building the Vespa preview container, locate the Maven distribution
that was downloaded by the Maven wrapper (~/.m2/wrapper/dists/apache-maven-*)
and copy it into share/maven/ so that the exact wrapper-managed Maven version
is available to the container build.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Buildkite container build script to bundle the Maven distribution downloaded by the Maven wrapper into the Docker build context, aiming to make the container build use the exact wrapper-managed Maven version.

Changes:

  • Add a step to locate a Maven wrapper distribution under ~/.m2/wrapper/dists/.
  • Copy the detected Maven distribution into share/maven/ before building the Vespa preview container.
  • Log the presence of the copied share/maven/bin/mvn.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@arnej27959
Copy link
Member Author

we'll do this another way

@arnej27959 arnej27959 closed this Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants