diff --git a/Mage.Client/pom.xml b/Mage.Client/pom.xml
index 929e7931ca..8fe1db8efc 100644
--- a/Mage.Client/pom.xml
+++ b/Mage.Client/pom.xml
@@ -215,6 +215,10 @@
+
+ com.ruleoftech
+ markdown-page-generator-plugin
+
mage-client
diff --git a/Mage.Client/src/main/assembly/distribution.xml b/Mage.Client/src/main/assembly/distribution.xml
index 9b7e36f761..ddf248c1b1 100644
--- a/Mage.Client/src/main/assembly/distribution.xml
+++ b/Mage.Client/src/main/assembly/distribution.xml
@@ -37,8 +37,16 @@
true
../
- readme.md
LICENSE.txt
+ readme.md
+
+ /
+
+
+ true
+ ${project.build.directory}/docs/
+
+ readme.html
/
diff --git a/Mage.Server.Console/pom.xml b/Mage.Server.Console/pom.xml
index f67ab5e777..4d9a46a3ec 100644
--- a/Mage.Server.Console/pom.xml
+++ b/Mage.Server.Console/pom.xml
@@ -62,6 +62,10 @@
+
+ com.ruleoftech
+ markdown-page-generator-plugin
+
mage-serverconsole
diff --git a/Mage.Server.Console/src/main/assembly/distribution.xml b/Mage.Server.Console/src/main/assembly/distribution.xml
index 835b3b3936..d63170b63c 100644
--- a/Mage.Server.Console/src/main/assembly/distribution.xml
+++ b/Mage.Server.Console/src/main/assembly/distribution.xml
@@ -28,8 +28,16 @@
true
../
- readme.md
LICENSE.txt
+ readme.md
+
+ /
+
+
+ true
+ ${project.build.directory}/docs/
+
+ readme.html
/
diff --git a/Mage.Server/pom.xml b/Mage.Server/pom.xml
index 0576da6a36..bd4636a455 100644
--- a/Mage.Server/pom.xml
+++ b/Mage.Server/pom.xml
@@ -352,6 +352,10 @@
org.apache.maven.plugins
maven-surefire-plugin
+
+ com.ruleoftech
+ markdown-page-generator-plugin
+
mage-server
diff --git a/Mage.Server/src/main/assembly/distribution.xml b/Mage.Server/src/main/assembly/distribution.xml
index f21baff9fd..62ccfe1034 100644
--- a/Mage.Server/src/main/assembly/distribution.xml
+++ b/Mage.Server/src/main/assembly/distribution.xml
@@ -54,8 +54,16 @@
true
../
- readme.md
LICENSE.txt
+ readme.md
+
+ /
+
+
+ true
+ ${project.build.directory}/docs/
+
+ readme.html
/
diff --git a/pom.xml b/pom.xml
index f53baf3db2..5364e32922 100644
--- a/pom.xml
+++ b/pom.xml
@@ -116,11 +116,34 @@
2.7
+
org.codehaus.mojo
exec-maven-plugin
3.0.0
+
+
+
+
+
+ com.ruleoftech
+ markdown-page-generator-plugin
+ 2.4.0
+
+
+ process-resources
+
+ generate
+
+
+
+
+ ../
+ md
+ ${project.build.directory}/docs
+
+