diff --git a/dist/plugin.jelly b/dist/plugin.jelly
index 3f4bc370..f863b475 100644
--- a/dist/plugin.jelly
+++ b/dist/plugin.jelly
@@ -190,73 +190,93 @@
prereqs="dist:build-setup,dist:prepare-bin-filesystem"
description="Build the binary distribution.">
-
-
-
-
+ ${maven.dist.formats}
-
-
-
-
+
-
-
-
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+ ${maven.dist.formats}
-
-
-
+
-
-
-
-
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -494,33 +514,44 @@
-
- +---------------------------------------------+
- | C R E A T I N G B I N A R Y T A R B A L L |
- +---------------------------------------------+
-
+ ${maven.dist.formats}
-
-
-
-
-
-
-
+
-
- +----------------------------------------------+
- | C R E A T I N G B I N A R Y Z I P F I L E |
- +----------------------------------------------+
-
+
+
+ +---------------------------------------------+
+ | C R E A T I N G B I N A R Y T A R B A L L |
+ +---------------------------------------------+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +----------------------------------------------+
+ | C R E A T I N G B I N A R Y Z I P F I L E |
+ +----------------------------------------------+
+
+
+
+
+
+
+
+
+
-
-
-
-
@@ -562,34 +593,42 @@
-
+ ${maven.dist.formats}
- +---------------------------------------------+
- | C R E A T I N G S O U R C E T A R B A L L |
- +---------------------------------------------+
-
+
-
-
-
-
-
-
-
+
+
+ +---------------------------------------------+
+ | C R E A T I N G S O U R C E T A R B A L L |
+ +---------------------------------------------+
+
-
- +----------------------------------------------+
- | C R E A T I N G S O U R C E Z I P F I L E |
- +----------------------------------------------+
-
+
+
+
+
+
+
+
-
-
-
-
+
+
+ +----------------------------------------------+
+ | C R E A T I N G S O U R C E Z I P F I L E |
+ +----------------------------------------------+
+
+
+
+
+
+
+
+
+
+ New property maven.dist.formats to allow creation of only zip or tar.gz archives.Allow distribution of artifact types other than jar. New property maven.dist.bin.artifact.type, deprecated property maven.dist.bin.artifact.New property maven.dist.bin.include.site to optionally include the site docs in the binary distribution.build-src goal does not use pom.build.sourceDirectory.
diff --git a/dist/xdocs/properties.xml b/dist/xdocs/properties.xml
index 093ce6a7..4fbbe22e 100644
--- a/dist/xdocs/properties.xml
+++ b/dist/xdocs/properties.xml
@@ -100,7 +100,15 @@
and zip distributions. This filter is applied before the crlf
filter, so in zip archives, the crlf filter will take precendence
for files that satisfy both filters.
-
+
+
+
maven.dist.formats
+
yes - default is zip,tgz.
+
+ A comma-separated list of distribution formats to build.
+ Possible values are tgz and zip.
+