aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorcgdecker <cgdecker@google.com>2014-10-20 10:32:51 -0700
committerSam Berlin <sameb@google.com>2014-10-20 15:40:08 -0400
commitded13a7604d0c5bb0549f800e4ba92b8bd79784e (patch)
tree15018874eb64f30ba04aaf481b64e03f76eef02c /pom.xml
parente73f22b4be6ea563395ec737b409d7f3671d65e3 (diff)
downloadguice-ded13a7604d0c5bb0549f800e4ba92b8bd79784e.tar.gz
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
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index cc93bc73..7ded5d89 100644
--- a/pom.xml
+++ b/pom.xml
@@ -99,6 +99,7 @@ See the Apache License Version 2.0 for the specific language governing permissio
<modules>
<module>core</module>
<module>extensions</module>
+ <!-- jdk8-tests module activated only when running under JDK8, below -->
</modules>
<prerequisites>
@@ -431,12 +432,17 @@ See the Apache License Version 2.0 for the specific language governing permissio
<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>