diff options
author | sthelen <thelen.sebastian@gmail.com> | 2010-05-13 18:55:47 +0800 |
---|---|---|
committer | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2010-05-14 00:56:52 +0800 |
commit | 00ff935bf62e58a1bfe937be8df7c329942bf025 (patch) | |
tree | 9aa851f51cedcfa8e813cffcdc4307dc4b4b3edc | |
parent | 9dc7a9a7d3bfb7f2dd44081606cb4d90281043fa (diff) | |
download | maven-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.xml | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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> |