Skip to content

Commit

Permalink
fix checkShadowJar scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
david-leifker committed Sep 15, 2024
1 parent f65a94b commit 3695406
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ jar -tvf $jarFile |\
grep -v "aix" |\
grep -v "com/sun/" |\
grep -v "VersionInfo.java" |\
grep -v "mime.types"
grep -v "mime.types" |\
grep -v "com/ibm/.*" |\
grep -v "org/glassfish/" |\
grep -v "LICENSE"

if [ $? -ne 0 ]; then
echo "✅ No unexpected class paths found in ${jarFile}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ jar -tvf $jarFile |\
grep -v "library.properties" |\
grep -v "rootdoc.txt" |\
grep -v "VersionInfo.java" |\
grep -v "mime.types"
grep -v "mime.types" |\
grep -v "com/ibm/.*"


if [ $? -ne 0 ]; then
Expand Down

0 comments on commit 3695406

Please sign in to comment.