unable to build maven project due to javadoc error?

后端 未结 6 928
离开以前
离开以前 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:54

    None of the above options seemed to work for me when using version 3.2.0. Instead I noticed the failOnError option. Setting this tags value to false seemed to do the trick for allowing my build to succeed even when there were javadoc errors.

            
                org.apache.maven.plugins
                maven-javadoc-plugin
                ${maven.javadoc.plugin.version}
                
                    
                        attach-javadocs
                        
                            jar
                        
                    
                
                
                    false
                
            
    

    This will stop the javadoc jar from being generated for the maven project. This was okay in my case as I was only wanting to build without errors during ongoing development. The other options may still allow for the javadoc jar to be generated when there are errors.

提交回复
热议问题