From 53ec46a4ed3ce4e9811296bde1fa28560114f7ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Galder=20Zamarren=CC=83o?= Date: Wed, 4 Nov 2020 15:19:41 +0100 Subject: [PATCH] Add a native profile with no build args #26 * A workaround to keep `mvn ... -Dnative` working as expected, while it easily offers a way to build native passing in -Dquarkus.native.additional-build-args via command line. * Additional build args via command line can help pass in diverse debugging and profiling options. --- server-runner/pom.xml | 62 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/server-runner/pom.xml b/server-runner/pom.xml index 3c3ae0cb..afdb8703 100644 --- a/server-runner/pom.xml +++ b/server-runner/pom.xml @@ -169,5 +169,67 @@ + + native-noargs + + + native-noargs + + + + + + io.quarkus + quarkus-maven-plugin + ${quarkus.version} + + + + native-image + + + + + + maven-failsafe-plugin + + + + integration-test + verify + + + + ${project.build.directory}/${project.build.finalName}-runner + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.1.0 + + + attach-artifacts + package + + attach-artifact + + + + + ${project.build.directory}/${project.build.finalName}-runner + bin + + + + + + + + +