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

Fix latest version of Native Build Tools #900

Merged
merged 1 commit into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ private void buildDockerfile(String dockerfileName, boolean passClassName) throw
private BuildImageCmd addNativeImageBuildArgs(Map<String, String> buildImageCmdArguments, Supplier<BuildImageCmd> buildImageCmdSupplier) throws IOException {
String argsFile = mavenProject.getProperties().getProperty(ARGS_FILE_PROPERTY_NAME);
List<String> allNativeImageBuildArgs = MojoUtils.computeNativeImageArgs(nativeImageBuildArgs, baseImageRun, argsFile);
//Remove extra main class argument
allNativeImageBuildArgs.remove(mainClass);
getLog().info("GraalVM native image build args: " + allNativeImageBuildArgs);
List<String> conversionResult = NativeImageUtils.convertToArgsFile(allNativeImageBuildArgs, Paths.get(mavenProject.getBuild().getDirectory()));
if (conversionResult.size() == 1) {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<maven.compiler.target>17</maven.compiler.target>
<maven.version>3.9.4</maven.version>
<micronaut.version>4.0.3</micronaut.version>
<native-maven-plugin.version>0.9.25</native-maven-plugin.version>
<native-maven-plugin.version>0.9.28</native-maven-plugin.version>
<micronaut.aot.version>2.0.1</micronaut.aot.version>
<micronaut.test.resources.version>2.0.0</micronaut.test.resources.version>
<micronaut.openapi.version>5.0.1</micronaut.openapi.version>
Expand Down
Loading