File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
src/main/java/io/github/fvarrui/javapackager/maven Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -288,6 +288,13 @@ public class PackageMojo extends AbstractMojo {
288288 */
289289 @ Parameter (property = "additionalModulePaths" , required = false )
290290 private List <File > additionalModulePaths ;
291+
292+ /**
293+ * Packaging JDK
294+ */
295+ @ Parameter (defaultValue = "${java.home}" , property = "packagingJdk" , required = false )
296+ private File packagingJdk ;
297+
291298
292299 public void execute () throws MojoExecutionException {
293300
@@ -307,9 +314,9 @@ public void execute() throws MojoExecutionException {
307314 .additionalModulePaths (additionalModulePaths )
308315 .additionalResources (additionalResources )
309316 .administratorRequired (administratorRequired )
310- .version (version )
311317 .assetsDir (assetsDir )
312318 .bundleJre (bundleJre )
319+ .classpath (classpath )
313320 .copyDependencies (copyDependencies )
314321 .createTarball (createTarball )
315322 .createZipball (createZipball )
@@ -335,10 +342,11 @@ public void execute() throws MojoExecutionException {
335342 .organizationName (organizationName )
336343 .organizationUrl (organizationUrl )
337344 .outputDirectory (outputDirectory )
338- .classpath ( classpath )
345+ .packagingJdk ( packagingJdk )
339346 .runnableJar (runnableJar )
340347 .useResourcesAsWorkingDir (useResourcesAsWorkingDir )
341348 .url (url )
349+ .version (version )
342350 .vmArgs (vmArgs )
343351 .winConfig (winConfig );
344352
You can’t perform that action at this time.
0 commit comments