diff --git a/Mage.Client/pom.xml b/Mage.Client/pom.xml
index 929e7931ca65..8fe1db8efcc7 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 9b7e36f761ff..ddf248c1b138 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 f67ab5e77710..4d9a46a3ec68 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 835b3b393670..d63170b63c70 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 0576da6a3644..bd4636a455d7 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 f21baff9fdf8..62ccfe103409 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 f53baf3db20b..5364e329224e 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
+
+