Comment #1 on issue 402 by estebistec: Guice 1.0 in maven repository has
been compiled with Java 6
http://code.google.com/p/google-guice/issues/detail?id=402
The maven-enforcer-plugin [1] can be used in the pom to ensure that the
project isn't
accidentally built on a newer or older jvm. E.g.:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.0-beta-1</version>
<configuration>
<rules>
<requireJavaVersion>
<version>[1.5,1.6)</version>
</requireJavaVersion>
<requireMavenVersion>
<version>[2.1.0,2.2)</version>
</requireMavenVersion>
</rules>
</configuration>
<executions>
<execution>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
</plugin>
[1] http://maven.apache.org/plugins/maven-enforcer-plugin
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-guice-dev?hl=en
-~----------~----~----~----~------~----~------~--~---