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 2023/10/23 17:55:41 UTC

[camel-quarkus] 01/02: Fix package path to XmlSlurper in camel-k-maven-plugin integration tests

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

commit ed6533d913340ef5c5b3cf5f645db7fd4093f456
Author: James Netherton <ja...@gmail.com>
AuthorDate: Mon Oct 23 15:08:11 2023 +0100

    Fix package path to XmlSlurper in camel-k-maven-plugin integration tests
    
    Fixes #5450
---
 .../camel-k-maven-plugin/src/it/generate-rest-dsl-from-v2/verify.groovy | 2 +-
 .../camel-k-maven-plugin/src/it/generate-rest-dsl-from-v3/verify.groovy | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tooling/camel-k-maven-plugin/src/it/generate-rest-dsl-from-v2/verify.groovy b/tooling/camel-k-maven-plugin/src/it/generate-rest-dsl-from-v2/verify.groovy
index 9dfe128c1f..38cc8515ab 100644
--- a/tooling/camel-k-maven-plugin/src/it/generate-rest-dsl-from-v2/verify.groovy
+++ b/tooling/camel-k-maven-plugin/src/it/generate-rest-dsl-from-v2/verify.groovy
@@ -17,7 +17,7 @@
 
 
 new File(basedir, "document.xml").withReader {
-    def document = new groovy.util.XmlSlurper().parse(it)
+    def document = new groovy.xml.XmlSlurper().parse(it)
 
     assert document.rest.@path == '/camel/'
     assert document.rest.get.size() == 1
diff --git a/tooling/camel-k-maven-plugin/src/it/generate-rest-dsl-from-v3/verify.groovy b/tooling/camel-k-maven-plugin/src/it/generate-rest-dsl-from-v3/verify.groovy
index 6be540e4c8..215a4d8a6d 100644
--- a/tooling/camel-k-maven-plugin/src/it/generate-rest-dsl-from-v3/verify.groovy
+++ b/tooling/camel-k-maven-plugin/src/it/generate-rest-dsl-from-v3/verify.groovy
@@ -16,7 +16,7 @@
  */
 
 new File(basedir, "document.xml").withReader {
-    def document = new groovy.util.XmlSlurper().parse(it)
+    def document = new groovy.xml.XmlSlurper().parse(it)
 
     assert document.rest.@path == '/v1'
     assert document.rest.get.size() == 2