Skip to content

Maven wrapper improvement#323

Merged
krystian-panek-vmltech merged 1 commit intomainfrom
mvnw-improvement
Aug 28, 2025
Merged

Maven wrapper improvement#323
krystian-panek-vmltech merged 1 commit intomainfrom
mvnw-improvement

Conversation

@krystian-panek-vmltech
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
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

This PR improves the Maven wrapper by moving Java home detection and setup from Taskfile configuration to the Maven wrapper script itself. This change enables the Maven wrapper to automatically prepare and configure Java when needed, making it more self-contained and robust.

Key changes:

  • Moved Java home detection from Taskfile environment variables to Maven wrapper initialization
  • Added automatic Java vendor tool preparation with error handling
  • Simplified version check commands in Taskfiles

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

File Description
pkg/project/instance/Taskfile.yml Replaced JAVA_HOME environment detection with AEM_JAVA_ENABLED flag
pkg/project/common/mvnw Added Java detection, preparation, and JAVA_HOME setup logic
pkg/project/app_cloud/Taskfile.yml Replaced JAVA_HOME environment detection with AEM_JAVA_ENABLED flag and simplified version command
pkg/project/app_classic/Taskfile.yml Replaced JAVA_HOME environment detection with AEM_JAVA_ENABLED flag and simplified version command

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@krystian-panek-vmltech krystian-panek-vmltech merged commit 1e4755a into main Aug 28, 2025
1 check passed
@krystian-panek-vmltech krystian-panek-vmltech deleted the mvnw-improvement branch August 28, 2025 09:26
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