今天在构建calcite-test-dataset项目时,出现了以下错误
org.pentaho:mondrian:pom:4.5.0.7-258 failed to transfer from http://ivy-nexus.pentaho.org/content/groups/omni during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of ivy-releases has elapsed or updates are forced. Original error: Could not transfer artifact org.pentaho:mondrian:pom:4.5.0.7-258 from/to ivy-releases (http://ivy-nexus.pentaho.org/content/groups/omni): transfer failed for http://ivy-nexus.pentaho.org/content/groups/omni/org/pentaho/mondrian/4.5.0.7-258/mondrian-4.5.0.7-258.pom, status: 503 Service Temporarily Unavailable
看样子是官方的maven仓库挂了,换了好几个仓库都不行,换了下面的仓库总算可以了:
<repository>
<id>pentaho-public</id>
<name>Pentaho Public</name>
<url>https://repo.orl.eng.hitachivantara.com/artifactory/pnt-mvn/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
将此仓库添加到setting文件中。