diff --git a/distribution/pom.xml b/distribution/pom.xml
new file mode 100644
index 000000000..2b214a55a
--- /dev/null
+++ b/distribution/pom.xml
@@ -0,0 +1,115 @@
+
+
+
+ 4.0.0
+
+
+ org.mapstruct
+ mapstruct-parent
+ 0.1.0-SNAPSHOT
+ ../parent/pom.xml
+
+
+ mapstruct-distribution
+ jar
+ MapStruct Distribution
+
+
+
+ org.mapstruct
+ mapstruct
+
+
+ org.mapstruct
+ mapstruct-processor
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+
+
+ ${basedir}/../core/src/main/java;
+ ${basedir}/../processor/src/main/java
+
+
+ http://docs.oracle.com/javase/6/docs/api
+
+ MapStruct Packages
+ MapStruct ${project.version}
+ MapStruct ${project.version}
+
+
+ MapStruct
+ org.mapstruct*
+
+
+ MapStruct Processor
+ org.mapstruct.ap*
+
+
+
+
+
+ aggregate-javadoc
+ package
+
+ javadoc
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-assembly-plugin
+
+
+ ${basedir}/src/main/assembly/dist.xml
+
+ mapstruct-${project.version}
+ gnu
+
+
+
+ make-assembly
+ package
+
+ single
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-deploy-plugin
+
+ true
+
+
+
+
+
diff --git a/distribution/src/main/assembly/dist.xml b/distribution/src/main/assembly/dist.xml
new file mode 100644
index 000000000..e9f6a1dc9
--- /dev/null
+++ b/distribution/src/main/assembly/dist.xml
@@ -0,0 +1,91 @@
+
+
+
+ dist
+
+ tar.gz
+ zip
+ dir
+
+
+
+
+ lib
+
+ org.mapstruct:mapstruct
+ org.mapstruct:mapstruct-processor
+
+
+
+
+ lib/dependencies
+
+ org.freemarker:freemarker
+
+
+
+
+
+
+ ../CONTRIBUTING.md
+ /
+
+
+ ../copyright.txt
+ /
+
+
+ ../license.txt
+ /
+
+
+ ../readme.md
+ /
+
+
+
+
+
+ ..
+ sources
+ true
+
+ ../*/target/**
+
+
+ ../CONTRIBUTING.md
+ ../copyright.txt
+ ../license.txt
+ ../pom.xml
+ ../readme.md
+ ../etc/license.txt
+ ../*/pom.xml
+ ../*/src/**
+
+
+
+
+ target/site/apidocs
+ docs/api
+
+
+
diff --git a/license.txt b/license.txt
new file mode 100644
index 000000000..3a36d8e24
--- /dev/null
+++ b/license.txt
@@ -0,0 +1,26 @@
+ Copyright 2012-2013 Gunnar Morling (http://www.gunnarmorling.de/)
+ and/or other contributors as indicated by the @authors tag. See the
+ copyright.txt file in the distribution for a full listing of all
+ contributors.
+
+ MapStruct is licensed under the Apache License, Version 2.0 (the
+ "License"); you may not use this software except in compliance with the
+ License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+------------------------------------------------------------------------
+
+ MAPSTRUCT SUBCOMPONENTS WITH DIFFERENT LICENCES
+
+ The MapStruct distribution includes FreeMarker, a software developed by
+ the Visigoth Software Society (http://www.visigoths.org/) which is
+ distributed under a BSD-style license. Your use of FreeMarker is subject
+ to the terms and conditions of this license (see
+ http://freemarker.sourceforge.net/docs/app_license.html).
diff --git a/parent/pom.xml b/parent/pom.xml
index 7f0f6f75d..3ab7766f1 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -111,6 +111,11 @@
+
+ org.apache.maven.plugins
+ maven-assembly-plugin
+ 2.4
+
org.apache.maven.plugins
maven-clean-plugin
@@ -146,6 +151,11 @@
maven-jar-plugin
2.4
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 2.9
+
org.apache.maven.plugins
maven-resources-plugin
@@ -218,6 +228,7 @@
.idea/**
copyright.txt
+ license.txt
diff --git a/pom.xml b/pom.xml
index a6e463171..fdf9a970e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -41,6 +41,7 @@
core
processor
integrationtest
+ distribution