Use jdk.version in javadoc maven plugin like the others

Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/c54065a7
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/c54065a7
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/c54065a7

Branch: refs/heads/master
Commit: c54065a783b2283cbf19032be11847fd7938384d
Parents: b5511b9
Author: Claus Ibsen <davscl...@apache.org>
Authored: Thu Sep 28 09:47:57 2017 +0200
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Thu Sep 28 09:47:57 2017 +0200

----------------------------------------------------------------------
 components/camel-box/camel-box-api/pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/c54065a7/components/camel-box/camel-box-api/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-box/camel-box-api/pom.xml 
b/components/camel-box/camel-box-api/pom.xml
index 86310ce..5893431 100644
--- a/components/camel-box/camel-box-api/pom.xml
+++ b/components/camel-box/camel-box-api/pom.xml
@@ -55,10 +55,10 @@
             </goals>
             <configuration>
               <attach>true</attach>
-              <source>1.7</source>
+              <source>${jdk.version}</source>
               <quiet>true</quiet>
               <detectOfflineLinks>false</detectOfflineLinks>
-              <javadocVersion>1.7</javadocVersion>
+              <javadocVersion>${jdk.version}</javadocVersion>
               <encoding>UTF-8</encoding>
             </configuration>
           </execution>

Reply via email to