diff options
author | Brett Porter <brett@apache.org> | 2007-06-19 01:26:34 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2007-06-19 01:26:34 +0000 |
commit | 7aaa1c52af1734b78b7c2b84cf14f43c637632a7 (patch) | |
tree | ca0ea5e0b321cbfbeae751cfdad3c1c1ff1b64ba | |
parent | c76b659bdcad1209dac303aa8112635edca3a573 (diff) | |
download | archiva-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.xml | 24 |
1 files changed, 22 insertions, 2 deletions
@@ -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> |