JDK1.8下打包,报警告: @param 没有说明

在JDK 1.8环境下使用

maven-javadoc-plugin
打包时,遇到错误:
[ERROR] /Users/Documents/workspace/git/x/qautil/src/main/java/com/t/qaforest/db/forestdb/stdcategory/CategoryPropertyValuesDB.java:104: 警告: valueId没有 @param
[ERROR] public static void updateFields(long categoryId, long propertyId, long valueId, Map fieldMap) {
[ERROR] ^
[ERROR] /Users/Documents/workspace/git/x/-qautil/src/main/java/com/t/qaforest/db/forestdb/stdcategory/StdCategoryPropertyValuesDB.java:100: 警告: @param 没有说明
[ERROR] * @param categoryId
[ERROR] ^
[ERROR] /Users/d/Documents/workspace/git/x/x-qautil/src/main/java/com/t/qaforest/db/forestdb/stdcategory/StdCategoryPropertyValuesDB.java:101: 警告: @param 没有说明
[ERROR] * @param fieldMap
[ERROR] ^
[ERROR] /Users/d/Documents/workspace/git/x/x-qautil/src/main/java/com/t/qaforest/db/forestdb/stdcategory/StdCategoryPropertyValuesDB.java:103: 警告: propertyId没有 @param
[ERROR] public static void updateFields(long categoryId, long propertyId, long valueId, Map fieldMap) {
[ERROR] ^
[ERROR] /Users/d/Documents/workspace/git/x/x-qautil/src/main/java/com/t/qaforest/db/forestdb/stdcategory/StdCategoryPropertyValuesDB.java:103: 警告: valueId没有 @param
[ERROR] public static void updateFields(long categoryId, long propertyId, long valueId, Map fieldMap) {
[ERROR] ^
[ERROR] /Users/d/Documents/workspace/git/x/x-qautil/src/main/java/com/t/qaforest/localForest/BuilderUtil.java:22: 警告: @param 没有说明
[ERROR] * @param paramName


处理:

在pom plugin中,加上下面配置,排除

JDK1.8下打包,报警告: @param 没有说明_第1张图片



    
       
        org.apache.maven.plugins  
        maven-javadoc-plugin  
        2.8  
         
           
            attach-javadocs  
             
              jar 
              
             
              -Xdoclint:none 
             
           
         
     


参考文章:http://codepub.cn/2016/10/18/Java-8-configure-maven-java-doc-plugin/

你可能感兴趣的:(问题处理)