You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2025/03/12 12:01:02 UTC
(camel-quarkus) 02/04: Add option to disable sanity checks in individual modules
This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch 3.15.x
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 41423de603851306055c3aad4b06cbbacb9320a0
Author: James Netherton <ja...@gmail.com>
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() &&