Updated Branches: refs/heads/flume-1.4 8655387c2 -> 61f487a83
FLUME-2013. Parameterize java source and target version in the main pom file. (Jarek Jarcec Cecho via Mike Percy) Project: http://git-wip-us.apache.org/repos/asf/flume/repo Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/61f487a8 Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/61f487a8 Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/61f487a8 Branch: refs/heads/flume-1.4 Commit: 61f487a830ac65c3537ad19a5a26213de3bf2ce4 Parents: 8655387 Author: Mike Percy <[email protected]> Authored: Fri Apr 26 13:31:35 2013 -0700 Committer: Mike Percy <[email protected]> Committed: Fri Apr 26 13:32:09 2013 -0700 ---------------------------------------------------------------------- pom.xml | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flume/blob/61f487a8/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index bc28e8d..686ecb6 100644 --- a/pom.xml +++ b/pom.xml @@ -36,6 +36,10 @@ limitations under the License. <!-- Set default encoding to UTF-8 to remove maven complaints --> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <!-- Java compiler configuration --> + <sourceJavaVersion>1.6</sourceJavaVersion> + <targetJavaVersion>1.6</targetJavaVersion> + <!-- defaults for flaky test and focused test exclusions --> <test.exclude.pattern>$</test.exclude.pattern> <!-- junk pattern --> <test.include.pattern>**/Test*.java</test.include.pattern> @@ -487,8 +491,8 @@ limitations under the License. <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> - <source>1.6</source> - <target>1.6</target> + <source>${sourceJavaVersion}</source> + <target>${targetJavaVersion}</target> </configuration> </plugin>
