Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass system properties to maven repo session #10117

Conversation

lynxplay
Copy link
Contributor

@lynxplay lynxplay commented Jan 3, 2024

The maven repository sessions used by the maven library loader requires the java.version property to later evaluate the active profiles of dependencies when downloading them during the plugin loader logic.

This commit fixes this by passing all system properties as a hopefully future-proof way to provide the required data to said session.

Resolves: #10116


Download the paperclip jar for this pull request: paper-10117.zip

The maven repository sessions used by the maven library loader requires
the java.version property to later evaluate the active profiles of
dependencies when downloading them during the plugin loader logic.

This commit fixes this by passing all system properties as a hopefully
future-proof way to provide the required data to said session.
@lynxplay lynxplay added the build-pr-jar Enables a workflow to build Paperclip jars on the pull request. label Jan 3, 2024
@lynxplay lynxplay requested a review from a team as a code owner January 3, 2024 19:10
@electronicboy electronicboy merged commit 259bc76 into PaperMC:master Jan 4, 2024
3 checks passed
@lynxplay lynxplay deleted the bugfix/paper-plugin-maven-library-resolver branch February 22, 2024 10:12
lynxplay added a commit to lynxplay/paper that referenced this pull request Feb 23, 2024
The maven repository sessions used by the maven library loader requires
the java.version property to later evaluate the active profiles of
dependencies when downloading them during the plugin loader logic.

This commit fixes this by passing all system properties as a hopefully
future-proof way to provide the required data to said session.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-pr-jar Enables a workflow to build Paperclip jars on the pull request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Paper Plugin dependency is not successfully completely resolved
2 participants