this should force java 7 when trying to release
This commit is contained in:
parent
9ba7daceef
commit
3f88a6af41
32
pom.xml
32
pom.xml
|
@ -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'.
|
||||
|
|
Loading…
Reference in New Issue