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

Add late prop resolution for Liberty configuration specified by Maven props #1706

Merged
merged 5 commits into from
Jul 12, 2023

Conversation

cherylking
Copy link
Member

@cherylking cherylking commented Jul 5, 2023

Fixes #1705 @bmarwell

Question: Do we only need to resolve the @{xxx} properties that are referenced in Maven properties? Or do we also need to handle them in the configuration parameters for the plugin (such as the jvmOptions parameter)?

Answer: Yes, we should handle them in other config parameters for consistency. I have implemented the behavior for the jvmOptions and the bootstrapProperties in this PR.

Also, I presume we do not need to look for and resolve these types of references in config files specified by other parameters such as jvmOptionsFile. Correct me if I am wrong.

Answer: We should not look for / resolve these references in config files other than pom.xml.

@cherylking cherylking requested a review from dshimo July 12, 2023 17:58
@cherylking
Copy link
Member Author

cherylking commented Jul 12, 2023

This is the documentation I plan to add for this.

Screenshot 2023-07-12 at 1 55 01 PM

This will go at the end of the common-server-parameters.md.

@cherylking cherylking merged commit f6dbbea into OpenLiberty:main Jul 12, 2023
16 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.

Support late property resolution to allow easy jacoco agent integration
2 participants