diff options
author | Decebal Suiu <decebal.suiu@gmail.com> | 2014-04-10 16:43:11 +0300 |
---|---|---|
committer | Decebal Suiu <decebal.suiu@gmail.com> | 2014-04-10 16:43:11 +0300 |
commit | 0e6b1df75f27759f99228b6a491a3c1c79af4d0e (patch) | |
tree | 935bd482c04c28b419b94ea17c2f55427498f402 /pom.xml | |
parent | 726c5cab70e30ca5de0615ca56054a8ea75316d2 (diff) | |
download | pf4j-0e6b1df75f27759f99228b6a491a3c1c79af4d0e.tar.gz pf4j-0e6b1df75f27759f99228b6a491a3c1c79af4d0e.zip |
using java 1.7 for compilation (for ClassLoader.close() called in DefaultPluginManager)
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -1,6 +1,6 @@ <?xml version="1.0"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - + <parent> <groupId>org.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> @@ -29,10 +29,11 @@ <url>git@github.com/decebals/pf4j.git</url> <tag>HEAD</tag> </scm> - + <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> + <java.version>1.7</java.version> + </properties> <build> <plugins> @@ -41,12 +42,12 @@ <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> - <source>1.6</source> - <target>1.6</target> + <source>${java.version}</source> + <target>${java.version}</target> <optimize>true</optimize> </configuration> </plugin> - + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> @@ -83,12 +84,12 @@ <tagNameFormat>release-@{project.version}</tagNameFormat> </configuration> </plugin> - + <plugin> <artifactId>maven-resources-plugin</artifactId> <version>2.4.3</version> </plugin> - + <plugin> <artifactId>maven-jar-plugin</artifactId> <version>2.4</version> |