diff --git a/packaging/linux.xml b/packaging/linux.xml
index 9d78bcf38..2556b5093 100644
--- a/packaging/linux.xml
+++ b/packaging/linux.xml
@@ -41,6 +41,10 @@
**/tests/**
**/src/**
**/*.java
+ **/lib-src/**
+ **/pom.xml
+ **/.settings/**
+ **/.project
diff --git a/packaging/pom.xml b/packaging/pom.xml
index 43e78f54f..d4d6021db 100644
--- a/packaging/pom.xml
+++ b/packaging/pom.xml
@@ -17,10 +17,50 @@
${basedir}/..
+ 0.0.0.0
+
+ com.akathist.maven.plugins.launch4j
+ launch4j-maven-plugin
+
+
+ l4j-clui
+ package
+ launch4j
+
+ console
+ target/openrefine.exe
+ ${rootdir}/server/target/openrefine-${project.version}-server.jar
+
+ com.google.refine.Refine
+
+
+ 1.8.0
+ preferJre
+ 256
+ 1024
+
+ -Djava.library.path=server/target/lib/native/windows
+
+
+
+ ${fullversion}
+ ${project.version}
+ openrefine
+ Copyright (c) 2018 OpenRefine contributors, 2010 Google, Inc.
+ ${fullversion}
+ ${project.version}
+ OpenRefine
+ openrefine
+ openrefine.exe
+
+
+
+
+
org.apache.maven.plugins
maven-assembly-plugin
@@ -35,6 +75,7 @@
linux.xml
+ windows.xml
diff --git a/packaging/windows.xml b/packaging/windows.xml
new file mode 100644
index 000000000..4223d67f4
--- /dev/null
+++ b/packaging/windows.xml
@@ -0,0 +1,88 @@
+
+ win-${project.version}
+
+ zip
+
+ ${project.build.finalName}-${project.version}
+
+
+ ${rootdir}/server/target/lib
+ server/target/lib
+
+ *.jar
+
+
+
+ ${rootdir}/server/lib/native
+ server/target/lib/native
+
+ **/*.dll
+
+
+
+ ${rootdir}/main/webapp
+ webapp
+
+
+ **/*.java
+ **/butterfly.properties
+
+
+
+ ${rootdir}/licenses
+ licenses
+
+
+ ${rootdir}/licenses
+ licenses
+
+
+ ${rootdir}/extensions
+ webapp/extensions
+
+ **
+
+
+ **/target/**
+ **/tests/**
+ **/src/**
+ **/*.java
+ **/lib-src/**
+ **/pom.xml
+ **/.settings/**
+ **/.project
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ webapp/WEB-INF
+
+
+
+ server/target/lib
+
+
+
+