4.0.0
org.openidentityplatform.opendj
opendj-msi
5.2.0-SNAPSHOT
opendj-msi-standard
pom
OpenDJ MSI Standard Package
This module generates an OpenDJ MSI package using the WiX Toolset v5 .NET tool
(Windows only: WiX's build task P/Invokes msi.dll). The `wix` tool must be on the
PATH with the UI extension installed:
set DOTNET_ROLL_FORWARD=Major
dotnet tool install --global wix --version 5.0.2
wix extension add -g WixToolset.UI.wixext/5.0.2
The module itself is part of every reactor so that the release plugin keeps its
version in step with the rest of the build; the toolchain profile below is what
turns the MSI build on, and only when %USERPROFILE%\.dotnet\tools\wix.exe exists.
${basedir}/resources/msi
${project.build.directory}/${product.name.lowercase}
${project.build.directory}/msi-staging
${project.build.directory}/msi-staging-lib
${project.build.directory}/${product.name.lowercase}-${project.version}.msi
distribution-windows-msi
windows
${env.USERPROFILE}/.dotnet/tools/wix.exe
${project.groupId}.${project.artifactId}
org.apache.maven.plugins
maven-dependency-plugin
org.apache.maven.plugins
maven-antrun-plugin
stage-msi-payload
package
run
org.codehaus.mojo
exec-maven-plugin
wix-build-msi
package
exec
wix
${project.build.directory}
build
${msi.resources}/package.wxs
-archx64
-extWixToolset.UI.wixext
-bindpath${msi.resources}
-dname=${product.name}
-dmajor=${parsedVersion.majorVersion}
-dminor=${parsedVersion.minorVersion}
-dpoint=${parsedVersion.incrementalVersion}
-dstagingRoot=${staging.root}
-dstagingLib=${staging.lib}
-o${msi.file}
org.codehaus.mojo
build-helper-maven-plugin
attach-msi
package
attach-artifact
${msi.file}msi