]> source.dussan.org Git - sonarqube.git/commitdiff
Fix ITs for sonar-packaging-maven-plugin
authorGodin <mandrikov@gmail.com>
Sat, 25 Sep 2010 02:23:51 +0000 (02:23 +0000)
committerGodin <mandrikov@gmail.com>
Sat, 25 Sep 2010 02:23:51 +0000 (02:23 +0000)
subprojects/sonar-update-center/sonar-packaging-maven-plugin/src/it/doNotAddMavenDescriptor/verify.bsh
subprojects/sonar-update-center/sonar-packaging-maven-plugin/src/it/doNotPackageDepsProvidedBySonar/verify.bsh
subprojects/sonar-update-center/sonar-packaging-maven-plugin/src/it/packageDependencies/verify.bsh

index 8847454f9864c2b180ed3456d55d3441d373b403..5715c00b23ac2f16127d1aee9b57fdd1efcb5bbc 100644 (file)
@@ -9,9 +9,9 @@ if ( !file.isFile() )
 
 ZipFile zipFile = new ZipFile(file);
 try {
-  if (zipFile.getEntry("META-INF/lib/commons-email-1.2.jar")!=null) {
+  if (zipFile.getEntry("META-INF/lib/commons-email-1.2.jar")==null) {
     throw new FileNotFoundException("The dependency commons-email must be copied in JAR");
   }
 } finally {
   zipFile.close();
-}
\ No newline at end of file
+}