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

Fixing the tests so that they run with Java **6**, 7 and 8...

git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1782495 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/it/pluginManagement_dependencies/pom.xml b/src/it/pluginManagement_dependencies/pom.xml
index 594c3bd..59472b4 100644
--- a/src/it/pluginManagement_dependencies/pom.xml
+++ b/src/it/pluginManagement_dependencies/pom.xml
@@ -32,12 +32,12 @@
       <plugins>
         <plugin>
           <artifactId>maven-checkstyle-plugin</artifactId>
-          <version>2.17</version>
+          <version>2.10</version>
           <dependencies>
             <dependency>
               <groupId>com.puppycrawl.tools</groupId>
               <artifactId>checkstyle</artifactId>
-              <version>6.18</version>
+              <version>5.8</version>
             </dependency>
           </dependencies>
         </plugin>
diff --git a/src/it/pluginManagement_dependencies/verify.groovy b/src/it/pluginManagement_dependencies/verify.groovy
index 2ee00fc..3571afd 100644
--- a/src/it/pluginManagement_dependencies/verify.groovy
+++ b/src/it/pluginManagement_dependencies/verify.groovy
@@ -20,7 +20,7 @@
 
 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:6.18' );
+assert !content.contains( 'com.puppycrawl.tools:checkstyle:jar:5.6' );
+assert content.contains( 'com.puppycrawl.tools:checkstyle:jar:5.8' );
 
 return true;
\ No newline at end of file