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

Documentation mentions systemPropertyVariables but only systemProperties seems to work #669

Open
wirthi opened this issue Jan 8, 2025 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@wirthi
Copy link
Member

wirthi commented Jan 8, 2025

added native-maven-plugin system properties configuration to pom as described in https://graalvm.github.io/native-build-tools/latest/maven-plugin.html

<plugin>
 <groupId>org.graalvm.buildtools</groupId>
 <artifactId>native-maven-plugin</artifactId>
 ...
  <configuration>
    <fallback>false</fallback>
    <systemPropertyVariables>
      <propertyName>value</propertyName>
    </systemPropertyVariables>
     ...

but the expected system property -DpropertyName=value was not added to the generated cli command 

turned out that it works when is used instead of

<configuration>
  <fallback>false</fallback>
  <systemProperties>
      <propertyName>value</propertyName>
  </systemProperties>
  ... 

 
(reported to GraalVM as GR-60691 and copied here)

@wirthi wirthi added the bug Something isn't working label Jan 8, 2025
@brahimhaddou brahimhaddou added this to the 0.10.6 milestone Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants