Skip to content

Commit

Permalink
fix(#2702): doc
Browse files Browse the repository at this point in the history
  • Loading branch information
maxonfjvipon committed Dec 15, 2023
1 parent 22cdea2 commit 94fc5a2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions eo-runtime/src/test/groovy/check-runtime-deps.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,17 @@
* SOFTWARE.
*/


/**
* The goal of the test is to check that eo-runtime does not contain any dependencies except those
* that are needed for tests. We need such behaviour because "eo-runtime" is download as separated
* jar (not fat-jar) and we expect that it won't require any outer dependencies
*/
import groovy.xml.XmlSlurper

def pom = new File("pom.xml").text
def project = new XmlSlurper().parseText(pom)

println 'Verify that there aren no any dependencies in eo-runtime except those that are needed for tests'
println 'Verify that there are no any dependencies in eo-runtime except those that are needed for tests'

project.dependencies.dependency.each {
if (it.scope.text() != 'test')
Expand Down

0 comments on commit 94fc5a2

Please sign in to comment.