| package org.apache.felix.atomos.maven.configs; |
| |
| import java.io.File; |
| import java.util.ArrayList; |
| import java.util.List; |
| import java.util.Map; |
| |
| import org.apache.maven.plugins.annotations.Parameter; |
| |
| public class MavenNativeImageConfig |
| { |
| final private static String ATOMOS_PATH = "ATOMOS"; |
| @Parameter(required = false, readonly = false) |
| public List<String> additionalInitializeAtBuildTime = new ArrayList<>(); |
| @Parameter(required = false, readonly = false) |
| public List<File> dynamicProxyConfigurationFiles = new ArrayList<>(); |
| @Parameter(required = false, readonly = false) |
| public List<File> reflectionConfigurationFiles = new ArrayList<>(); |
| @Parameter(required = false, readonly = false) |
| public List<File> resourceConfigurationFiles = new ArrayList<>(); |
| @Parameter(required = false, readonly = false) |
| public Boolean noFallBack; |
| |
| @Parameter(defaultValue = "false") //TODO: CHECK GRAAL EE ONLY |
| public boolean debug; |
| |
| @Parameter(defaultValue = "${project.artifactId}", required = false, readonly = false) |
| public String applicationName; |
| |
| @Parameter(required = false, readonly = false) |
| public String mainClass; |
| |
| @Parameter(defaultValue = "${project.build.directory}/" + ATOMOS_PATH) |
| public File outputDirectory; |
| @Parameter(defaultValue = "graal.native.image.build.args") |
| public String nativeImageArgsPropertyName; |
| |
| @Parameter |
| public File nativeImageExecutable; |
| |
| @Parameter |
| public List<String> vmFlags; |
| |
| @Parameter |
| public Map<String, String> vmSystemProperties; |
| |
| } |