Skip to content

Commit 0039189

Browse files
committed
Fix groovy script
1 parent a7f0b09 commit 0039189

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/it/MDEPLOY-178_deployfile-with-embedded-pom/verify.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ File buildLog = new File( basedir, 'build.log' )
2525
assert buildLog.exists()
2626
assert buildLog.text.contains( "[DEBUG] Using META-INF/maven/org.apache.maven.plugins.deploy.its/mdeploy178/pom.xml as pomFile" )
2727

28-
def pomProject = new XmlSlurper().parse( deployedPom )
29-
assert "https://issues.apache.org/jira/browse/MDEPLOY-178".equals( pomProject.url.text() )
28+
def pomProject = new groovy.xml.XmlParser().parse( deployedPom )
29+
assert "https://issues.apache.org/jira/browse/MDEPLOY-178".equals( pomProject.get("url").text() )

0 commit comments

Comments
 (0)