doris版本 0.13
编译100%时报错
查阅github
发现fe/pom.xml 一些参数需要更改
</repository>
<!-- for java-cup -->
<repository>
<id>cloudera-thirdparty</id>
<url>https://repository.cloudera.com/content/repositories/third-party/</url>
//上面两行改成下面两行(是更改不是添加)
<id>cloudera-public</id>
<url>https://repository.cloudera.com/artifactory/public/</url>
</repository>
<!-- for bdb je -->
<repository>
@@ -111,8 +111,8 @@ under the License.
</pluginRepository>
<!-- for cup-maven-plugin -->
<pluginRepository>
<id>cloudera-plugins</id>
<url>https://repository.cloudera.com/content/groups/public/</url>
//上面两行更改为下面两行(是更改不是添加)
<id>cloudera-public</id>
<url>https://repository.cloudera.com/artifactory/public/</url>
</pluginRepository>
</pluginRepositories>
</profile>
更改四处,重新编译
呃呃 又报错了
[ERROR] Plugin org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-checkstyle-plugin:jar:3.1.0: Could not transfer artifact org.apache.maven.plugins:maven-checkstyle-plugin:pom:3.1.0 from/to spring-plugins (https://repo.spring.io/plugins-release/): Transfer failed for https://repo.spring.io/plugins-release/org/apache/maven/plugins/maven-checkstyle-plugin/3.1.0/maven-checkstyle-plugin-3.1.0.pom: Unknown host repo.spring.io: Name or service not known -> [Help 1]
[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/PluginResolutionException
询问GitHub作者后,得到回答
You can use fe/pom.xml from trunk code base to replace that file in 0.13-rc03.
You can can just use 0.13.11 from https://github.com/baidu-doris/incubator-doris, which has fixed this bug.
未尝试,报错的同学可自行尝试
11.25补充 更换为0.12版本重新编译解决