Skip to content

Commit 1dc8888

Browse files
committed
wip
1 parent a675c99 commit 1dc8888

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

scripts/checkCopyrightPresent.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ for i in $(find "${repo_root}" -name pom.xml); do
99
if [[ "$i" == "${repo_root}/core/queryparser/sparql/JavaCC/"* ]]; then
1010
continue
1111
fi
12+
if [[ "$i" == *"/target/"* ]]; then
13+
target_parent="${i%%/target/*}"
14+
if [[ -f "${target_parent}/pom.xml" ]]; then
15+
echo "Skipping target dir pom: $i"
16+
continue
17+
fi
18+
fi
1219
echo $i;
1320
# only look in non test files but make sure src/main exists.
1421
# and not in package-info

0 commit comments

Comments
 (0)