activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cshan...@apache.org
Subject activemq git commit: https://issues.apache.org/jira/browse/AMQ-6449
Date Mon, 03 Oct 2016 11:38:48 GMT
Repository: activemq
Updated Branches:
  refs/heads/activemq-5.14.x 241d9d156 -> 991e97ad9


https://issues.apache.org/jira/browse/AMQ-6449

Disabling doclint now only activates for JDK 8

(cherry picked from commit 72650a0b8b00f281ce6b2e300da2cb4015d25e81)


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

Branch: refs/heads/activemq-5.14.x
Commit: 991e97ad9436300b3266e6e0672bf9df65a3adc9
Parents: 241d9d1
Author: Christopher L. Shannon (cshannon) <christopher.l.shannon@gmail.com>
Authored: Mon Oct 3 07:32:40 2016 -0400
Committer: Christopher L. Shannon (cshannon) <christopher.l.shannon@gmail.com>
Committed: Mon Oct 3 07:38:37 2016 -0400

----------------------------------------------------------------------
 activemq-broker/pom.xml     |  2 +-
 activemq-client/pom.xml     |  2 +-
 activemq-unit-tests/pom.xml |  2 +-
 pom.xml                     | 14 ++++++++++++--
 4 files changed, 15 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/991e97ad/activemq-broker/pom.xml
----------------------------------------------------------------------
diff --git a/activemq-broker/pom.xml b/activemq-broker/pom.xml
index cf65737..8549f9c 100755
--- a/activemq-broker/pom.xml
+++ b/activemq-broker/pom.xml
@@ -93,7 +93,7 @@
         <version>${maven-javadoc-plugin-version}</version>
         <configuration>
           <!-- necessary for now under the javadocs can be fixed because jdk8 is much
stricter -->
-          <additionalparam>-Xdoclint:none</additionalparam>
+          <additionalparam>${javadoc.options}</additionalparam>
           <links>
             <link>${javase-javadoc-url}</link>
             <link>${javaee-javadoc-url}</link>

http://git-wip-us.apache.org/repos/asf/activemq/blob/991e97ad/activemq-client/pom.xml
----------------------------------------------------------------------
diff --git a/activemq-client/pom.xml b/activemq-client/pom.xml
index e18dd79..ab0fd27 100755
--- a/activemq-client/pom.xml
+++ b/activemq-client/pom.xml
@@ -95,7 +95,7 @@
         <version>${maven-javadoc-plugin-version}</version>
         <configuration>
           <!-- necessary for now under the javadocs can be fixed because jdk8 is much
stricter -->
-          <additionalparam>-Xdoclint:none</additionalparam>
+          <additionalparam>${javadoc.options}</additionalparam>
           <links>
             <link>${javase-javadoc-url}</link>
             <link>${javaee-javadoc-url}</link>

http://git-wip-us.apache.org/repos/asf/activemq/blob/991e97ad/activemq-unit-tests/pom.xml
----------------------------------------------------------------------
diff --git a/activemq-unit-tests/pom.xml b/activemq-unit-tests/pom.xml
index 8898ae0..6a157e1 100755
--- a/activemq-unit-tests/pom.xml
+++ b/activemq-unit-tests/pom.xml
@@ -325,7 +325,7 @@
         <version>${maven-javadoc-plugin-version}</version>
         <configuration>
           <!-- necessary for now under the javadocs can be fixed because jdk8 is much
stricter -->
-          <additionalparam>-Xdoclint:none</additionalparam>
+          <additionalparam>${javadoc.options}</additionalparam>
           <links>
             <link>${javase-javadoc-url}</link>
             <link>${javaee-javadoc-url}</link>

http://git-wip-us.apache.org/repos/asf/activemq/blob/991e97ad/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 276f603..9a1e00d 100755
--- a/pom.xml
+++ b/pom.xml
@@ -1477,7 +1477,6 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
-        <version>${maven-javadoc-plugin-version}</version>
         <configuration>
           <links>
             <link>${javase-javadoc-url}</link>
@@ -1497,7 +1496,7 @@
           <source>${source-version}</source>
           <additionalJOption>-J-Xmx2048m</additionalJOption>
           <!-- necessary for now under the javadocs can be fixed because jdk8 is much
stricter -->
-          <additionalparam>-Xdoclint:none</additionalparam>
+          <additionalparam>${javadoc.options}</additionalparam>
         </configuration>
         <executions>
             <execution>
@@ -1662,5 +1661,16 @@
             <jetty-version>${jetty9-version}</jetty-version>
         </properties>
     </profile>
+    
+    <!-- Need to disable doclint for JDK 8 builds so Javadocs work -->
+    <profile>
+      <id>jdk8-disable-doclint</id>
+      <activation>
+        <jdk>[1.8,)</jdk>
+      </activation>
+      <properties>
+        <javadoc.options>-Xdoclint:none</javadoc.options>
+     </properties>
+   </profile>
   </profiles>
 </project>


Mime
View raw message