Skip to content

Commit

Permalink
Exclude more files from src package (apache#14415)
Browse files Browse the repository at this point in the history
Source packages might include pom.xml.versionsBackup and
dependency-reduced-pom.xml files. This change adds exclude rules to
avoid including them.
  • Loading branch information
Andras Beni authored Feb 22, 2022
1 parent 958fc78 commit 8e9fa9d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/assembly-source-package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@

<!-- misc -->
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?cobertura\.ser]</exclude>

<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?pom\.xml\.versionsBackup]</exclude>
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?dependency-reduced-pom\.xml]</exclude>

<!-- release-plugin temp files -->
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?pom\.xml\.releaseBackup]</exclude>
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?release\.properties]</exclude>
Expand Down

0 comments on commit 8e9fa9d

Please sign in to comment.