This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new eaf2fce2cd Add option to disable sanity checks in individual modules
eaf2fce2cd is described below
commit eaf2fce2cdb0e7badb4ba300982358992e958fb8
Author: James Netherton <[email protected]>
AuthorDate: Wed Mar 12 07:35:45 2025 +0000
Add option to disable sanity checks in individual modules
---
tooling/scripts/sanity-checks.groovy | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tooling/scripts/sanity-checks.groovy
b/tooling/scripts/sanity-checks.groovy
index 2a3c0c1264..2f5afa09a7 100644
--- a/tooling/scripts/sanity-checks.groovy
+++ b/tooling/scripts/sanity-checks.groovy
@@ -34,6 +34,11 @@ if (skip) {
if (pomXml.exists()) {
def pomXmlProject = new XmlParser().parseText(pomXml.getText('UTF-8'))
+ if (pomXmlProject.properties.'sanity-checks.skip'.text() == "true") {
+ println "Sanity checks are disabled in ${project.basedir}/pom.xml"
+ return
+ }
+
pomXmlProject.dependencies.dependency
.findAll {
!it.version.text().isEmpty() &&