unable to build maven project due to javadoc error?

后端 未结 6 1022
离开以前
离开以前 2021-02-01 13:33

has anyone come across a simlar maven error below?

i am unable to build my project due to the error below. All was working previously fine before i started working on th

6条回答
  •  甜味超标
    2021-02-01 13:45

    I'm guessing you switched to Java 8. In this version Javadoc is stricter on the requirements.

    You have three choices:

    1. Fix the errors
    2. disable the strict checking
    3. skip Javadoc when building

    To disable the strict checking, add this to your pom.xml

    
      
        org.apache.maven.plugins
        maven-javadoc-plugin
        
          -Xdoclint:none
        
      
    
    

    to skip Javadoc while building, use this:

    mvn -Dmaven.javadoc.skip=true verify
    

    Further Information

提交回复
热议问题