Skip to content

Commit 6ca7230

Browse files
authored
HDDS-11769. Add tools folder into ozone src package. (apache#7466)
1 parent 3b8ed58 commit 6ca7230

2 files changed

Lines changed: 25 additions & 23 deletions

File tree

hadoop-ozone/dist/src/main/assemblies/ozone-src.xml

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -32,28 +32,30 @@
3232
<source>NOTICE.txt</source>
3333
<outputDirectory>/</outputDirectory>
3434
</file>
35-
<file>
36-
<source>hadoop-ozone/dist/src/main/license/src/licenses/LICENSE-angular-nvd3.txt</source>
37-
<outputDirectory>/licenses</outputDirectory>
38-
</file>
39-
<file>
40-
<source>hadoop-ozone/dist/src/main/license/src/licenses/LICENSE-angular.txt</source>
41-
<outputDirectory>/licenses</outputDirectory>
42-
</file>
43-
<file>
44-
<source>hadoop-ozone/dist/src/main/license/src/licenses/LICENSE-d3.txt</source>
45-
<outputDirectory>/licenses</outputDirectory>
46-
</file>
47-
<file>
48-
<source>hadoop-ozone/dist/src/main/license/src/licenses/LICENSE-nvd3.txt</source>
49-
<outputDirectory>/licenses</outputDirectory>
50-
</file>
51-
<file>
52-
<source>hadoop-ozone/dist/src/main/license/src/licenses/LICENSE-jquery.txt</source>
53-
<outputDirectory>/licenses</outputDirectory>
54-
</file>
5535
</files>
5636
<fileSets>
37+
<fileSet>
38+
<directory>hadoop-ozone/dist/src/main/license/src/licenses</directory>
39+
<outputDirectory>/licenses</outputDirectory>
40+
<includes>
41+
<include>LICENSE-*.txt</include>
42+
</includes>
43+
</fileSet>
44+
<fileSet>
45+
<directory>tools</directory>
46+
<outputDirectory>/tools</outputDirectory>
47+
<includes>
48+
<include>**/*</include>
49+
</includes>
50+
<useDefaultExcludes>true</useDefaultExcludes>
51+
<excludes>
52+
<exclude>**/.classpath</exclude>
53+
<exclude>**/.project</exclude>
54+
<exclude>**/.settings</exclude>
55+
<exclude>**/*.iml</exclude>
56+
<exclude>**/target/**</exclude>
57+
</excludes>
58+
</fileSet>
5759
<fileSet>
5860
<directory>.</directory>
5961
<includes>

hadoop-ozone/dist/src/main/license/src/licenses/IMPORTANT.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
# Important
1616

17-
The files from this directory are not copied by automatically to the source distribution package.
17+
The files from this directory are copied automatically to the source distribution package
18+
via the `hadoop-ozone/dist/src/main/assemblies/ozone-src.xml` file.
1819

1920
If you add any of the files to here,
20-
* please also adjust `hadoop-ozone/dist/src/main/assemblies/ozone-src.xml` file.
21-
* and copy the dependency to ../../bin/licenses (if it's included in the bin tar)
21+
* copy the dependency to ../../bin/licenses (if it's included in the bin tar)

0 commit comments

Comments
 (0)