wix-maven/wix-maven-plugin


A maven plugin to provide lifecycle of a Windows Installer build using WiX. http://wix-maven.github.io/wix-maven-plugin

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.wix-maven:wix-maven-plugin:wix-maven-plugin-0.3.0'
	}
	dependencies {
		implementation("com.github.wix-maven:wix-maven-plugin:wix-maven-plugin-0.3.0")
	}
	<dependency>
	    <groupId>com.github.wix-maven</groupId>
	    <artifactId>wix-maven-plugin</artifactId>
	    <version>wix-maven-plugin-0.3.0</version>
	</dependency>

                            
    libraryDependencies += "com.github.wix-maven" % "wix-maven-plugin" % "wix-maven-plugin-0.3.0"
        
        

                            
    :dependencies [[com.github.wix-maven/wix-maven-plugin "wix-maven-plugin-0.3.0"]]
        
        

Readme


wix-maven-plugin

Maven Central Master Build status AppVeyor Build status

A maven plugin to provide lifecycle of a Windows Installer build using WiX. A work in progress, Sorry no doc yet. Attempts some dependencies references for wix build types and also NAR.

Provides lifecycles for

  • msi
  • msp
  • wixlib
  • bundle

Goals

  • wix:toolset
  • wix:unpack-dependencies
  • wix:candle
  • wix:lit
  • wix:light
  • wix:transform
  • wix:patch
  • wix:detach-bundle
  • wix:attach-bundle
  • wix:inscribe
  • wix:prepare-package
  • wix:package
  • resources:resources
  • jar:jar
  • install:install
  • deploy:deploy

Major TODO:

  • doc & site
  • expanded integration tests
  • patch goal completion
  • appropriate meta added in prepare-package, reading the meta from dependencies to reduce 'searching' behaviour for unknown cultures
  • lifecycle for msm
  • goal for repacking transforms/cabs into msi with correct language id