Skip to content

Maven wrapper#25

Merged
alexheifetz merged 4 commits intomainfrom
maven-wrapper
Jul 15, 2025
Merged

Maven wrapper#25
alexheifetz merged 4 commits intomainfrom
maven-wrapper

Conversation

@alexheifetz
Copy link
Contributor

This pull request introduces the Maven Wrapper to the project, enabling a consistent Maven version across environments and simplifying build and runtime dependencies. Key changes include adding Maven Wrapper scripts, updating the build process to use the wrapper, and configuring the wrapper properties.

Maven Wrapper Integration:

  • Added mvnw and mvnw.cmd scripts for Unix and Windows environments, respectively, to enable the use of the Maven Wrapper for managing Maven versions. These scripts include logic for downloading and validating the Maven distribution. [1] [2]

  • Included maven-wrapper.properties in the .mvn/wrapper directory to configure the Maven Wrapper. It specifies the Maven version (3.9.6) and the distribution URL for downloading Maven.

Build Process Updates:

  • Updated scripts/shell.sh to replace direct Maven calls with the Maven Wrapper (mvnw). This ensures the specified Maven version is used during the build process.

  • Modified scripts/support/agent.bat and scripts/support/agent.sh to use the Maven Wrapper (mvnw.cmd and mvnw, respectively) instead of directly invoking Maven. [1] [2]

@alexheifetz alexheifetz merged commit f33ffc1 into main Jul 15, 2025
2 checks passed
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.

1 participant