We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3a934e commit c103bb8Copy full SHA for c103bb8
1 file changed
scripts/baseline/run-deptree.sh
@@ -0,0 +1,12 @@
1
+#!/usr/bin/env bash
2
+set -euo pipefail
3
+OUT="docs/superpowers/baselines/2026-04-17/raw"
4
+mkdir -p "$OUT"
5
+mvn -B dependency:tree -DoutputType=text -DoutputFile="$PWD/$OUT/dep-tree.txt"
6
+mvn -B license:aggregate-third-party-report \
7
+ -Dlicense.outputDirectory="$PWD/$OUT" 2>&1 | tee "$OUT/license.log" || true
8
+# Fallback if license plugin not configured: list GAV+Maven Central license hints.
9
+if [[ ! -f "$OUT/aggregate-third-party-report.html" ]]; then
10
+ mvn -B dependency:list -DincludeScope=runtime -DoutputFile="$PWD/$OUT/dep-licenses.txt" || true
11
+fi
12
+ls "$OUT" | grep -E '^(dep-tree|dep-licenses|aggregate-third-party)' || true
0 commit comments