[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'build.plugins.plugin.version' for org.codehaus.mojo:findbugs-maven-plugin must be a valid version but is '${findbugsVersion}'. @ line 197, column 18
[ERROR] 'build.plugins.plugin.version' for org.codehaus.mojo:findbugs-maven-plugin must be a valid version but is '${findbugsVersion}'. @ line 190, column 18
@
[ERROR] The build could not read 2 projects -> [Help 1]
[ERROR]
[ERROR] The project com.cloudera.cmf.schema:cloudera-manager-schema:5.5.0 (/opt/doris-cm/bin/cm_ext/cm-schema/pom.xml) has 1 error
[ERROR] 'build.plugins.plugin.version' for org.codehaus.mojo:findbugs-maven-plugin must be a valid version but is '${findbugsVersion}'. @ line 197, column 18
[ERROR]
[ERROR] The project com.cloudera.enterprise:schema-validator:5.5.0 (/opt/doris-cm/bin/cm_ext/validator/pom.xml) has 1 error
[ERROR] 'build.plugins.plugin.version' for org.codehaus.mojo:findbugs-maven-plugin must be a valid version but is '${findbugsVersion}'. @ line 190, column 18
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
这个错是JDK的是事,我最开始装的JRE。修改办法,先卸载,然后装JDK
sudo apt-get purge openjdk-*
sudo apt-get install openjdk-8-jdk