summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsthelen <thelen.sebastian@gmail.com>2010-05-13 18:55:47 +0800
committerMark Donszelmann <Mark.Donszelmann@gmail.com>2010-05-14 00:56:52 +0800
commit00ff935bf62e58a1bfe937be8df7c329942bf025 (patch)
tree9aa851f51cedcfa8e813cffcdc4307dc4b4b3edc
parent9dc7a9a7d3bfb7f2dd44081606cb4d90281043fa (diff)
downloadmaven-nar-plugin-00ff935bf62e58a1bfe937be8df7c329942bf025.tar.gz
maven-nar-plugin-00ff935bf62e58a1bfe937be8df7c329942bf025.tar.bz2
maven-nar-plugin-00ff935bf62e58a1bfe937be8df7c329942bf025.tar.xz
maven-nar-plugin-00ff935bf62e58a1bfe937be8df7c329942bf025.zip
Changed Java version to 1.5 in pom file
The NarInfo class uses static method Boolean.parseBoolean which was introduced with Java version 1.5. Without any specification maven dafaults to Java 1.4.
-rw-r--r--pom.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 9c796cc..580ad5a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -170,8 +170,23 @@
<artifactId>maven-release-plugin</artifactId>
<version>2.5</version>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ </plugin>
</plugins>
</pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
<reporting>