RandomSec/settings.xml
Shubhangi Prasad a27ed31d61
Windows package with embedded JRE (#2486)
* packaging changes for self contained jre for windows

* Updating the path for JRE

* add jre path in settings file

* added profiles for two diferent windows packages build

* removing commented duplicate code

* Build windows package without an embedded JRE by default

Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2020-04-11 11:10:04 +02:00

26 lines
1007 B
XML

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>inject-windows-jre-home</id>
<properties>
<windows.jre.home>C:\jre1.8.0_241</windows.jre.home>
</properties>
</profile>
<profile>
<id>embedded-jre</id>
<properties>
<windows.package.jre.path>server/target/jre</windows.package.jre.path>
<windows.package.jre.directory>${windows.jre.home}</windows.package.jre.directory>
<windows.package.jre.outputDirectory>server/target/jre</windows.package.jre.outputDirectory>
<windows.package.jre.prefix>with-java-</windows.package.jre.prefix>
</properties>
</profile>
</profiles>
<activeProfiles>
<activeProfile>inject-windows-jre-home</activeProfile>
</activeProfiles>
</settings>