Index: xdocs/properties.xml =================================================================== --- xdocs/properties.xml (revision 349180) +++ xdocs/properties.xml (working copy) @@ -62,6 +62,19 @@ yes - default is ${maven.final.name}.jar. The name of the binary artifact to include in distribution, relative to target dir. + + maven.dist.crlf.filter + yes - default is "**/*.txt". + Filter specifying files to convert to CRLF (Windows style) line endings in zip distributions. + + + maven.dist.lf.filter + yes - default is no filter applied (no change to any files). + Filter specifying files to convert to LF line endings in both tar + 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. + Index: plugin.properties =================================================================== --- plugin.properties (revision 349180) +++ plugin.properties (working copy) @@ -27,3 +27,5 @@ maven.dist.src.assembly.dir=${maven.dist.assembly.dir}/src/${maven.final.name} maven.dist.dir=${maven.build.dir}/distributions maven.dist.bin.artifact=${maven.final.name}.jar +maven.dist.crlf.filter=**/*.txt +maven.dist.lf.filter= Index: plugin.jelly =================================================================== --- plugin.jelly (revision 349180) +++ plugin.jelly (working copy) @@ -27,9 +27,9 @@ xmlns:util="jelly:util"> - - - + @@ -140,6 +140,8 @@ description="Set up directories for a distribution build"> + + + + + + + @@ -159,9 +168,12 @@ - - + + + + @@ -174,6 +186,13 @@ prereqs="dist:build-setup,dist:prepare-src-filesystem" description="Build the source distribution."> + + + + + @@ -186,9 +205,12 @@ - - + + + +