summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2007-06-19 01:26:34 +0000
committerBrett Porter <brett@apache.org>2007-06-19 01:26:34 +0000
commit7aaa1c52af1734b78b7c2b84cf14f43c637632a7 (patch)
treeca0ea5e0b321cbfbeae751cfdad3c1c1ff1b64ba
parentc76b659bdcad1209dac303aa8112635edca3a573 (diff)
downloadarchiva-7aaa1c52af1734b78b7c2b84cf14f43c637632a7.tar.gz
archiva-7aaa1c52af1734b78b7c2b84cf14f43c637632a7.zip
allow use of JDK 5 in Archiva
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@548544 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--pom.xml24
1 files changed, 22 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index dad283372..bd5abc3fe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -95,11 +95,31 @@
</execution>
</executions>
</plugin>
+<!-- Doesn't work on Mac with Java 6 yet
+ <plugin>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>enforce-java</id>
+ <goals>
+ <goal>enforce-once</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireJavaVersion>
+ <version>1.5.0</version>
+ </requireJavaVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+-->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <source>1.4</source>
- <target>1.4</target>
+ <source>1.5</source>
+ <target>1.5</target>
</configuration>
</plugin>
<plugin>