Hi,

My default JAVA_HOME points to java 1.6 and I am trying use
maven-shade-plugin version 3.2.1 which requires java 1.7+

So I looking for a way to configure my maven-shade-plugin to execute using
required java version and not my default JAVA_HOME version.

E.g. I had similar issue with maven-surefire-plugin and I was able to solve
it by specifying <jvm> under its <configuration> but unfortunately this
doesn't works for maven-shade-plugin:

<configuration>
    <jvm>${JAVA_8_HOME}/bin/java</jvm>
</configuration>

Thanks,
Sachin

Reply via email to