commit | 60f3653626df905bad92cf048ebe35890111e10e | [log] [tgz] |
---|---|---|
author | Hervé Boutemy <hboutemy@apache.org> | Tue Apr 07 23:20:45 2020 +0200 |
committer | Hervé Boutemy <hboutemy@apache.org> | Tue Apr 07 23:20:45 2020 +0200 |
tree | acd348a97de98aaf8990aaba4ad4a39e81978006 | |
parent | c82f3847b90d19333407eac40a454006a14b82c4 [diff] |
[MJMOD-26] make build Reproducible
If you running your Maven installation with a different JDK than JDK 9 you have give the JDK 9 path via the command line:
mvn clean verify -Prun-its -Dinvoker.javaHome=JDK9JAVAHOME
The reason behind this is simply cause Maven JMod Plugin will call jmod
tool of the JDK which is needed to be found. Otherwise none of the integration tests can work.