From 10366891bd306294b58cf30c7e9382eea913a00f Mon Sep 17 00:00:00 2001 From: Calvin Kirs Date: Thu, 10 Sep 2026 21:18:27 +0800 Subject: [PATCH] Bind RAT license check into the default build The Apache parent pom only runs apache-rat:check in the apache-release profile, so plain mvn verify never enforced license headers. Bind an execution to the validate phase so verify (and CI) fails on missing headers. Fix the two existing violations: exclude the generated uv.lock, and give AGENTS.md a compact SPDX header comment (the markdown form used by Apache Magpie). --- AGENTS.md | 3 +++ pom.xml | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 7adcfa4..c38fb5b 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,3 +1,6 @@ + + # AGENTS.md Guidance for AI coding agents (and the humans running them) working in diff --git a/pom.xml b/pom.xml index 08d2244..6912526 100644 --- a/pom.xml +++ b/pom.xml @@ -120,8 +120,24 @@ examples/**/*.jsonld mappings/**/*.md CHANGELOG.md + + uv.lock + + + + rat-check + + check + + validate + +