olegk 2004/04/24 07:30:29
Modified: httpclient maven.xml
Log:
PR #26499 (Improper EOL for text files on Windows)
Contributed by Oleg Kalnichevski
Reviewed by Michael Becke
Revision Changes Path
1.3 +35 -1 jakarta-commons/httpclient/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/httpclient/maven.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- maven.xml 1 Oct 2003 23:06:38 -0000 1.2
+++ maven.xml 24 Apr 2004 14:30:29 -0000 1.3
@@ -22,7 +22,22 @@
<include name="**/*"/>
</fileset>
</copy>
+
+ <copy file="release_notes.txt"
tofile="${maven.dist.bin.assembly.dir}/RELEASE_NOTES.txt" />
+ <fixcrlf srcdir="${maven.dist.bin.assembly.dir}" eol="lf" encoding="ISO-8859-1"
+ includes="**/*.xml **/*.properties **/*.html **/*.css" />
+
+ <fixcrlf srcdir="${maven.dist.bin.assembly.dir}" eol="crlf" encoding="ISO-8859-1"
+ includes="**/*.txt" />
+
+ <copy file="LICENSE.txt" tofile="${maven.dist.bin.assembly.dir}/LICENSE" />
+ <copy file="README.txt" tofile="${maven.dist.bin.assembly.dir}/README" />
+ <copy file="release_notes.txt"
tofile="${maven.dist.bin.assembly.dir}/RELEASE_NOTES" />
+
+ <fixcrlf srcdir="${maven.dist.bin.assembly.dir}" eol="lf" encoding="ISO-8859-1"
+ includes="LICENSE README RELEASE_NOTES" />
+
</postGoal>
<postGoal name="dist:prepare-src-filesystem">
@@ -44,7 +59,26 @@
<include name="**/*"/>
</fileset>
</copy>
-
+
+ <copy file="release_notes.txt"
tofile="${maven.dist.src.assembly.dir}/RELEASE_NOTES.txt" />
+
+ <fixcrlf srcdir="${maven.dist.src.assembly.dir}" javafiles="true"
+ eol="lf" tab="remove" tablength="4" encoding="ISO-8859-1"
+ includes="**/*.java" />
+
+ <fixcrlf srcdir="${maven.dist.src.assembly.dir}" eol="lf" encoding="ISO-8859-1"
+ includes="**/*.xml **/*.properties **/*.html **/*.css" />
+
+ <fixcrlf srcdir="${maven.dist.src.assembly.dir}" eol="crlf" encoding="ISO-8859-1"
+ includes="**/*.txt" />
+
+ <copy file="LICENSE.txt" tofile="${maven.dist.src.assembly.dir}/LICENSE" />
+ <copy file="README.txt" tofile="${maven.dist.src.assembly.dir}/README" />
+ <copy file="release_notes.txt"
tofile="${maven.dist.src.assembly.dir}/RELEASE_NOTES" />
+
+ <fixcrlf srcdir="${maven.dist.src.assembly.dir}" eol="lf" encoding="ISO-8859-1"
+ includes="LICENSE README RELEASE_NOTES" />
+
</postGoal>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]