mnemonic-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject [05/10] incubator-mnemonic git commit: MNEMONIC-177: Add findbugs plugins to detect bug patterns MNEMONIC-178: Not support doclint option for Javadoc 1.7 or below
Date Tue, 07 Feb 2017 00:38:43 GMT
MNEMONIC-177: Add findbugs plugins to detect bug patterns
MNEMONIC-178: Not support doclint option for Javadoc 1.7 or below


Project: http://git-wip-us.apache.org/repos/asf/incubator-mnemonic/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mnemonic/commit/8253e0b7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mnemonic/tree/8253e0b7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mnemonic/diff/8253e0b7

Branch: refs/heads/master
Commit: 8253e0b78473786e349e23d54be4f4698c25af31
Parents: 7f6f3c2
Author: Wang, Gang(Gary) <gang1.wang@intel.com>
Authored: Thu Jan 5 12:12:09 2017 -0800
Committer: Wang, Gang(Gary) <gang1.wang@intel.com>
Committed: Thu Jan 5 12:12:09 2017 -0800

----------------------------------------------------------------------
 pom.xml | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mnemonic/blob/8253e0b7/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 2b7ed00..c7c51ab 100644
--- a/pom.xml
+++ b/pom.xml
@@ -109,6 +109,7 @@
     <slf4j.version>1.7.21</slf4j.version>
     <log4j.version>1.2.17</log4j.version>
     <logback.version>1.1.7</logback.version>
+    <javadoc.opts></javadoc.opts>
   </properties>
 
   <repositories>
@@ -502,6 +503,15 @@
       </plugins>
     </build>
   </profile>
+  <profile>
+     <id>doclint-java8-disable</id>
+     <activation>
+       <jdk>[1.8,)</jdk>
+     </activation>
+     <properties>
+       <javadoc.opts>-Xdoclint:none</javadoc.opts>
+     </properties>
+   </profile>
 </profiles>
 
   <reporting>
@@ -522,10 +532,11 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
         <configuration>
-          <additionalparam>-Xdoclint:none</additionalparam>
+          <additionalparam>${javadoc.opts}</additionalparam>
         </configuration>
         <reportSets>
           <reportSet>
+            <id>non-aggregate</id>
             <reports>
               <report>javadoc</report>
               <report>test-javadoc</report>
@@ -536,10 +547,19 @@
             <inherited>false</inherited>
             <reports>
               <report>aggregate</report>
+              <report>test-aggregate</report>
             </reports>
           </reportSet>
         </reportSets>
       </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>findbugs-maven-plugin</artifactId>
+        <version>3.0.4</version>
+        <configuration>
+          <effort>Max</effort>
+        </configuration>
+      </plugin>
     </plugins>
   </reporting>
 


Mime
View raw message