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
This commit is contained in:
Brett Porter 2007-06-19 01:26:34 +00:00
parent c76b659bdc
commit 7aaa1c52af
1 changed files with 22 additions and 2 deletions

24
pom.xml
View File

@ -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>