Add a Maven module for JDK8-specific tests to open-source Guice.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=78097782
diff --git a/pom.xml b/pom.xml
index cc93bc7..7ded5d8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -99,6 +99,7 @@
   <modules>
     <module>core</module>
     <module>extensions</module>
+    <!-- jdk8-tests module activated only when running under JDK8, below -->
   </modules>
 
   <prerequisites>
@@ -431,12 +432,17 @@
 
   <profiles>
     <profile>
-      <id>doclint-java8-disable</id>
+      <id>java8</id>
       <activation>
         <jdk>[1.8,)</jdk>
       </activation>
+      <modules>
+        <!-- Activate jdk8-tests module only under JDK 8 -->
+        <module>jdk8-tests</module>
+      </modules>
       <build>
         <plugins>
+          <!-- Disable doclint under JDK 8 -->
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-javadoc-plugin</artifactId>