PageRenderTime 9ms CodeModel.GetById 7ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/maven-amps-plugin/src/it/copyBundledDependencies/validate.groovy

https://bitbucket.org/mmeinhold/amps
Groovy | 10 lines | 8 code | 2 blank | 0 comment | 1 complexity | 1248d7e572467e340ff5b8fc7ed3d5b6 MD5 | raw file
 1assert mavenExitCode == 0, "The maven build should not have failed!"
 2
 3def metaInfLib = new File(basedir, 'target/classes/META-INF/lib')
 4assert metaInfLib.exists(), "The $metaInfLib directory should exist"
 5
 6assert new File(metaInfLib, 'commons-io-1.4.jar').exists()
 7assert new File(metaInfLib, 'commons-logging-1.1.1.jar').exists()
 8assert !new File(metaInfLib, 'servlet-api-2.4.jar').exists()
 9assert !new File(metaInfLib, 'junit-4.5.jar').exists()
10assert !new File(metaInfLib, 'atlassian-base-pom-26.pom').exists()