Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse McConnell2012-03-05 22:08:25 +0000
committerJesse McConnell2012-03-05 22:08:25 +0000
commit3f88a6af418e9a8539deb4977f28b43ef63f61d9 (patch)
tree092fd9b972ec5bc7e51c9be36cf8ec1ff881f950
parent9ba7daceefc333debd9a8c3b834c1f48497dec74 (diff)
downloadorg.eclipse.jetty.project-3f88a6af418e9a8539deb4977f28b43ef63f61d9.tar.gz
org.eclipse.jetty.project-3f88a6af418e9a8539deb4977f28b43ef63f61d9.tar.xz
org.eclipse.jetty.project-3f88a6af418e9a8539deb4977f28b43ef63f61d9.zip
this should force java 7 when trying to release
-rw-r--r--pom.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index c51a109947..8edf9e2e28 100644
--- a/pom.xml
+++ b/pom.xml
@@ -524,6 +524,38 @@
</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'.
It is active by default, but being in a profile allows it to be

Back to the top