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

Make java-agent binding configurable #555

Open
AFulgens opened this issue Jan 4, 2024 · 0 comments
Open

Make java-agent binding configurable #555

AFulgens opened this issue Jan 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@AFulgens
Copy link

AFulgens commented Jan 4, 2024

Is your feature request related to a problem? Please describe.

In the maven plugin the agent execution is currently hard-coded for an execution with ID java-agent (cf.

).

In some projects execution IDs are renamed (e.g., for easier build-log correlation). Thus, it would be nice to have a dynamic binding for the ID instead of hard-coding it.

Describe the solution you'd like

Proposed solution is to have a new configuration value for the org.graalvm.buildtools:native-maven-plugin e.g.,

<configuration>
  <agentExecutionId>myId</agentExecutionId>
</configuration>

Describe alternatives you've considered

It could be left as it is, but hard-coding is never nice.

Additional context

N/A

@AFulgens AFulgens added the enhancement New feature or request label Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant