this should force java 7 when trying to release

This commit is contained in:
Jesse McConnell 2012-03-05 16:08:25 -06:00
parent 9ba7daceef
commit 3f88a6af41
1 changed files with 32 additions and 0 deletions

32
pom.xml
View File

@ -523,6 +523,38 @@
<module>jetty-spdy</module>
</modules>
</profile>
<profile>
<id>eclipse-release</id>
<activation>
<jdk>[1.7,)</jdk>
</activation>
<modules>
<module>jetty-spdy</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-java</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<version>1.7.0</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!--
Moves the jetty-aggregate build tree to a profile called 'aggregates'.