[MSHARED-616] Dependencies inside pluginManagement are not taken into account in reporting

Fixing the tests so that they run with Java 7 and 8 (the checkstyle version used was Java 8 specific...).

git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1782407 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/it/pluginManagement_dependencies/pom.xml b/src/it/pluginManagement_dependencies/pom.xml
index 12d6735..594c3bd 100644
--- a/src/it/pluginManagement_dependencies/pom.xml
+++ b/src/it/pluginManagement_dependencies/pom.xml
@@ -37,7 +37,7 @@
             <dependency>
               <groupId>com.puppycrawl.tools</groupId>
               <artifactId>checkstyle</artifactId>
-              <version>7.5</version>
+              <version>6.18</version>
             </dependency>
           </dependencies>
         </plugin>
diff --git a/src/it/pluginManagement_dependencies/verify.groovy b/src/it/pluginManagement_dependencies/verify.groovy
index 6084a7d..2ee00fc 100644
--- a/src/it/pluginManagement_dependencies/verify.groovy
+++ b/src/it/pluginManagement_dependencies/verify.groovy
@@ -21,6 +21,6 @@
 content = new File( basedir, 'build.log' ).text;
 
 assert !content.contains( 'com.puppycrawl.tools:checkstyle:jar:6.11.2' );
-assert content.contains( 'com.puppycrawl.tools:checkstyle:jar:7.5' );
+assert content.contains( 'com.puppycrawl.tools:checkstyle:jar:6.18' );
 
 return true;
\ No newline at end of file