mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 10:04:21 +00:00
[DS-2590] Fix multiple issues with distributed archives.
Include dspace/modules/*/src/main/webapps so build succeeds. Avoid damaging a sample ZIP archive by munging "line endings". Upgrade to maven-assembly-plugin 2.5.4 (which uncovered the line ending problem).
This commit is contained in:
@@ -46,6 +46,19 @@
|
||||
<!-- Ensure line endings in all files are Unix (LF) line endings-->
|
||||
<lineEnding>unix</lineEnding>
|
||||
</fileSet>
|
||||
<!-- Ensure the presence of "empty" directories for build steps
|
||||
that need them. -->
|
||||
<fileSet>
|
||||
<directory>..</directory>
|
||||
<useDefaultExcludes>false</useDefaultExcludes>
|
||||
<includes>
|
||||
<include>dspace/modules/**/.gitignore</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>**/target/**</exclude>
|
||||
</excludes>
|
||||
<lineEnding>unix</lineEnding>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
|
||||
</assembly>
|
||||
|
@@ -33,10 +33,35 @@
|
||||
<excludes>
|
||||
<exclude>**/target/**</exclude>
|
||||
<exclude>.*</exclude>
|
||||
<exclude>**/*.zip</exclude>
|
||||
</excludes>
|
||||
<!-- Ensure line endings in all files are Unix (LF) line endings-->
|
||||
<lineEnding>unix</lineEnding>
|
||||
</fileSet>
|
||||
<!-- Do not destroy ZIP archives by changing "line" endings! -->
|
||||
<fileSet>
|
||||
<directory>..</directory>
|
||||
<useDefaultExcludes>true</useDefaultExcludes>
|
||||
<includes>
|
||||
<include>**/*.zip</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>**/target/**</exclude>
|
||||
</excludes>
|
||||
</fileSet>
|
||||
<!-- Ensure the presence of "empty" directories for build steps
|
||||
that need them. -->
|
||||
<fileSet>
|
||||
<directory>..</directory>
|
||||
<useDefaultExcludes>false</useDefaultExcludes>
|
||||
<includes>
|
||||
<include>dspace/modules/**/.gitignore</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>**/target/**</exclude>
|
||||
</excludes>
|
||||
<lineEnding>unix</lineEnding>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
|
||||
</assembly>
|
Reference in New Issue
Block a user