We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ec1263 commit 522f493Copy full SHA for 522f493
1 file changed
melting-pot.sh
@@ -285,7 +285,9 @@ retrieveSource() {
285
286
# Gets the list of dependencies for the project in the CWD.
287
deps() {
288
+ cd "$1"
289
mvn dependency:list | grep '^\[INFO\] [^ ]' | sed 's/\[INFO\] //'
290
+ cd - > /dev/null
291
}
292
293
# Checks whether the given GA(V) matches the specified filter pattern.
@@ -373,9 +375,7 @@ meltDown() {
373
375
374
376
# Get the project dependencies.
377
debug "$1: determining project dependencies"
- cd "$dir"
- local deps="$(deps)"
378
- cd - > /dev/null
+ local deps="$(deps "$dir")"
379
380
args="-Denforcer.skip"
381
0 commit comments