Skip to content

Commit

Permalink
HBASE-25792 Filter out o.a.hadoop.thirdparty building shaded jars (#3184
Browse files Browse the repository at this point in the history
)

Need to add to allowed-licenses list too....

Signed-off-by: Wei-Chiu Chuang <[email protected]>
Reviewed-by: Duo Zhang <[email protected]>
Reviewed-by: Nick Dimiduk <[email protected]>
  • Loading branch information
saintstack authored Apr 27, 2021
1 parent 8856f61 commit 2382f68
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
5 changes: 2 additions & 3 deletions hbase-mapreduce/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@
<configuration>
<archive>
<manifest>
<!--Include the Driver class as the 'main'.
Executing the jar will then show a list of the basic MR jobs.
-->
<!--Include the Driver class as the 'main'. Executing the jar will then show a
list of the basic MR jobs.-->
<mainClass>org/apache/hadoop/hbase/mapreduce/Driver</mainClass>
</manifest>
</archive>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1343,7 +1343,7 @@ You can redistribute it and/or modify it under either the terms of the
## See this FAQ link for justifications: https://www.apache.org/legal/resolved.html
##
## NB: This list is later compared as lower-case. New entries must also be all lower-case
#set($non_aggregate_fine = [ 'public domain', 'new bsd license', 'bsd license', 'bsd', 'bsd 2-clause license', 'mozilla public license version 1.1', 'mozilla public license version 2.0', 'creative commons attribution license, version 2.5' ])
#set($non_aggregate_fine = [ 'public domain', 'new bsd license', 'bsd license', 'bsd', 'bsd 2-clause license', 'mozilla public license version 1.1', 'mozilla public license version 2.0', 'creative commons attribution license, version 2.5', 'apache-2.0' ])
## include LICENSE sections for anything not under ASL2.0
#foreach( ${dep} in ${projects} )
## if there are no licenses we'll fail the build later, so
Expand Down
3 changes: 1 addition & 2 deletions hbase-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
<license.bundles.jquery>true</license.bundles.jquery>
</properties>
<build>
<!-- Make sure resources get added before they are processed
by placing this first
<!-- Make sure resources get added before they are processed by placing this first
-->
<resources>
<!-- Add the build webabpps to the classpth -->
Expand Down
2 changes: 2 additions & 0 deletions hbase-shaded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,8 @@
<!-- We already concat NOTICE, safe to drop individual ones -->
<exclude>LICENSE</exclude>
<exclude>NOTICE</exclude>
<!-- Remove the shaded guava added in hadoop-3.3.1+-->
<exclude>org/apache/hadoop/thirdparty/**/*</exclude>
</excludes>
</filter>
<filter>
Expand Down

0 comments on commit 2382f68

Please sign in to comment.