You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2014/10/23 14:57:16 UTC

git commit: Refactor Maven compiler version into a property.

Repository: logging-log4j2
Updated Branches:
  refs/heads/master 0b69bfea6 -> 0c580be66


Refactor Maven compiler version into a property.

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/0c580be6
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/0c580be6
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/0c580be6

Branch: refs/heads/master
Commit: 0c580be6695e484624c931419b29b192ace280eb
Parents: 0b69bfe
Author: Gary Gregory <ga...@gmail.com>
Authored: Thu Oct 23 08:57:13 2014 -0400
Committer: Gary Gregory <ga...@gmail.com>
Committed: Thu Oct 23 08:57:13 2014 -0400

----------------------------------------------------------------------
 log4j-core/pom.xml | 1 +
 log4j-perf/pom.xml | 2 +-
 pom.xml            | 5 +++--
 3 files changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/0c580be6/log4j-core/pom.xml
----------------------------------------------------------------------
diff --git a/log4j-core/pom.xml b/log4j-core/pom.xml
index 94a6902..1983fa1 100644
--- a/log4j-core/pom.xml
+++ b/log4j-core/pom.xml
@@ -241,6 +241,7 @@
     <plugins>
       <plugin>
         <artifactId>maven-compiler-plugin</artifactId>
+        <version>${compiler.plugin.version}</version>
         <executions>
           <execution>
             <!-- disable annotation processing for first pass -->

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/0c580be6/log4j-perf/pom.xml
----------------------------------------------------------------------
diff --git a/log4j-perf/pom.xml b/log4j-perf/pom.xml
index 4536379..c02623b 100644
--- a/log4j-perf/pom.xml
+++ b/log4j-perf/pom.xml
@@ -136,7 +136,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
-        <version>3.1</version>
+        <version>${compiler.plugin.version}</version>
         <configuration>
           <compilerVersion>${javac.target}</compilerVersion>
           <source>${javac.target}</source>

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/0c580be6/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index e5e40a5..71783f9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -168,6 +168,7 @@
     <springVersion>3.2.11.RELEASE</springVersion>
     <flumeVersion>1.5.0.1</flumeVersion>
     <disruptorVersion>3.3.0</disruptorVersion>
+    <compiler.plugin.version>3.1</compiler.plugin.version>
     <pmd.plugin.version>3.2</pmd.plugin.version>
     <findbugs.plugin.version>2.5.5</findbugs.plugin.version>
     <changes.plugin.version>2.11</changes.plugin.version>
@@ -723,7 +724,7 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-compiler-plugin</artifactId>
-          <version>3.1</version>
+          <version>${compiler.plugin.version}</version>
           <configuration>
             <source>${maven.compile.source}</source>
             <target>${maven.compile.target}</target>
@@ -786,7 +787,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
-        <version>3.1</version>
+        <version>${compiler.plugin.version}</version>
         <configuration>
           <source>${maven.compile.source}</source>
           <target>${maven.compile.target}</target>