具体错误:
[ERROR] No plugin found for prefix 'doclint' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/uos/.m2/repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1] org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No plugin found for prefix 'doclint' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/uos/.m2/repository), central (https://repo.maven.apache.org/maven2)]
原因是写法不对。参考: