瀏覽代碼

ZOOKEEPER-3718: The tarball generated by assembly is missing some files

There were missing files from the generated source tarball, namely:
-checkstyleSuppressions.xml, .travis.yml and "dev" directory missing
-the generated jute was included with the C client code

Author: Norbert Kalmar <nkalmar@yahoo.com>

Reviewers: Enrico Olivelli <eolivelli@apache.org>

Closes #1250 from nkalmar/ZOOKEEPER-3718

(cherry picked from commit 24240107d0d6cdf8ab9a676b74a48b4e7663bbed)
Signed-off-by: Norbert Kalmar <nkalmar@apache.org>
Norbert Kalmar 5 年之前
父節點
當前提交
bc85887bbe
共有 1 個文件被更改,包括 7 次插入1 次删除
  1. 7 1
      zookeeper-assembly/src/main/assembly/source-package.xml

+ 7 - 1
zookeeper-assembly/src/main/assembly/source-package.xml

@@ -41,6 +41,7 @@
       <directory>${project.basedir}/../zookeeper-client</directory>
       <excludes>
         <exclude>**/target/**</exclude>
+        <exclude>**/generated/**</exclude>
       </excludes>
       <outputDirectory>zookeeper-client</outputDirectory>
     </fileSet>
@@ -86,6 +87,10 @@
       </excludes>
       <outputDirectory>zookeeper-server</outputDirectory>
     </fileSet>
+    <fileSet>
+      <directory>${project.basedir}/../dev</directory>
+      <outputDirectory>dev</outputDirectory>
+    </fileSet>
     <fileSet>
       <directory>${project.basedir}/..</directory>
       <outputDirectory>.</outputDirectory>
@@ -97,7 +102,8 @@
         <include>excludeFindBugsFilter.xml</include>
         <include>owaspSuppressions.xml</include>
         <include>checktyle.xml</include>
-        <include>checktyleSuppressions.xml</include>
+        <include>checkstyleSuppressions.xml</include>
+        <include>.travis.yml</include>
       </includes>
     </fileSet>
   </fileSets>