Saiku编译经常出现找不到jar导致失败,下面就贡献一个自己加的一些repositories,解决方案就是如果有些包无法下载,就多试几个源。基本上改为下面的源之后,Mvn install -Dmaven.test.skip=true编译就可以成功了。
< pluginRepositories >
< pluginRepository >
< id > Analytical Labs Plugin Repo </ id >
< name > Analytical Labs Repo-releases </ name >
< url > http://repo.meteorite.bi/content/repositories/alabs-release-local/ </ url >
</ pluginRepository >
< pluginRepository >
< id > osc_plugin </ id >
< url > http://maven.oschina.net/content/groups/public/ </ url >
</ pluginRepository >
</ pluginRepositories >
< repositories >
< repository >
< id > Analytical Labs Repo </ id >
< name > Analytical Labs Repo-releases </ name >
< url > http://repo.meteorite.bi/content/repositories/alabs-release-local/ </ url >
</ repository >
< repository >
< id > Analytical Labs snapshots </ id >
< name > Analytical Labs Repo-releases </ name >
< url > http://repo.meteorite.bi/content/repositories/alabs-snapshot-local/ </ url >
</ repository >
< repository >
< id > pentaho-third-party </ id >
< url > http://nexus.pentaho.org/content/repositories/proxied-3rd-party-releases/ </ url >
</ repository >
< repository >
< id > pentaho-public-release </ id >
< url > http://nexus.pentaho.org/content/repositories/pentaho-public-release-repos/ </ url >
</ repository >
< repository >
< id > pentaho-snapshot </ id >
< url > http://nexus.pentaho.org/content/repositories/public-snapshots/ </ url >
</ repository >
< repository >
< id > atlassian2 </ id >
< url > http://repository.opencastproject.org/ </ url >
</ repository >
< repository >
< id > central </ id >
< name > Maven Repository Switchboard </ name >
< layout > default </ layout >
< url > http://repo1.maven.org/maven2 </ url >
< snapshots >
< enabled > false </ enabled >
</ snapshots >
</ repository >
< repository >
< id > apache </ id >
< name > Apache repo </ name >
< layout > default </ layout >
< url > https://repository.apache.org/content/repositories/snapshots/ </ url >
< snapshots >
< enabled > true </ enabled >
</ snapshots >
</ repository >
< repository >
< id > nuxeo </ id >
< url > https://maven-us.nuxeo.org/nexus/content/repositories/public-snapshot/ </ url >
</ repository >
< repository >
< id > nuxeo_thirdparty </ id >
< url > https://maven-us.nuxeo.org/nexus/content/repositories/thirdparty-snapshots/ </ url >
< snapshots >
< enabled > true </ enabled >
</ snapshots >
</ repository >
< repository >
< id > jboss </ id >
< url > http://repository.jboss.org/nexus/content/groups/public/ </ url >
</ repository >
< repository >
< id > atlassian </ id >
< name > Atlassian Public </ name >
< layout > default </ layout >
< url > https://maven.atlassian.com/content/repositories/atlassian-public </ url >
< snapshots >
< enabled > true </ enabled >
</ snapshots >
</ repository >
< repository >
< id > ApacheSnapshot </ id >
< name > Apache Repository </ name >
< url > https://repository.apache.org/content/groups/snapshots/ </ url >
< snapshots >
< enabled > true </ enabled >
</ snapshots >
</ repository >
< repository >
< id > osc </ id >
< url > http://maven.oschina.net/content/groups/public/ </ url >
</ repository >
< repository >
< id > osc_thirdparty </ id >
< url > http://maven.oschina.net/content/repositories/thirdparty/ </ url >
</ repository >
< pluginRepositories >
< pluginRepository >
< id > Analytical Labs Plugin Repo </ id >
< name > Analytical Labs Repo-releases </ name >
< url > http://repo.meteorite.bi/content/repositories/alabs-release-local/ </ url >
</ pluginRepository >
< pluginRepository >
< id > osc_plugin </ id >
< url > http://maven.oschina.net/content/groups/public/ </ url >
</ pluginRepository >
</ pluginRepositories >
< repositories >
< repository >
< id > Analytical Labs Repo </ id >
< name > Analytical Labs Repo-releases </ name >
< url > http://repo.meteorite.bi/content/repositories/alabs-release-local/ </ url >
</ repository >
< repository >
< id > Analytical Labs snapshots </ id >
< name > Analytical Labs Repo-releases </ name >
< url > http://repo.meteorite.bi/content/repositories/alabs-snapshot-local/ </ url >
</ repository >
< repository >
< id > pentaho-third-party </ id >
< url > http://nexus.pentaho.org/content/repositories/proxied-3rd-party-releases/ </ url >
</ repository >
< repository >
< id > pentaho-public-release </ id >
< url > http://nexus.pentaho.org/content/repositories/pentaho-public-release-repos/ </ url >
</ repository >
< repository >
< id > pentaho-snapshot </ id >
< url > http://nexus.pentaho.org/content/repositories/public-snapshots/ </ url >
</ repository >
< repository >
< id > atlassian2 </ id >
< url > http://repository.opencastproject.org/ </ url >
</ repository >
< repository >
< id > central </ id >
< name > Maven Repository Switchboard </ name >
< layout > default </ layout >
< url > http://repo1.maven.org/maven2 </ url >
< snapshots >
< enabled > false </ enabled >
</ snapshots >
</ repository >
< repository >
< id > apache </ id >
< name > Apache repo </ name >
< layout > default </ layout >
< url > https://repository.apache.org/content/repositories/snapshots/ </ url >
< snapshots >
< enabled > true </ enabled >
</ snapshots >
</ repository >
< repository >
< id > nuxeo </ id >
< url > https://maven-us.nuxeo.org/nexus/content/repositories/public-snapshot/ </ url >
</ repository >
< repository >
< id > nuxeo_thirdparty </ id >
< url > https://maven-us.nuxeo.org/nexus/content/repositories/thirdparty-snapshots/ </ url >
< snapshots >
< enabled > true </ enabled >
</ snapshots >
</ repository >
< repository >
< id > jboss </ id >
< url > http://repository.jboss.org/nexus/content/groups/public/ </ url >
</ repository >
< repository >
< id > atlassian </ id >
< name > Atlassian Public </ name >
< layout > default </ layout >
< url > https://maven.atlassian.com/content/repositories/atlassian-public </ url >
< snapshots >
< enabled > true </ enabled >
</ snapshots >
</ repository >
< repository >
< id > ApacheSnapshot </ id >
< name > Apache Repository </ name >
< url > https://repository.apache.org/content/groups/snapshots/ </ url >
< snapshots >
< enabled > true </ enabled >
</ snapshots >
</ repository >
< repository >
< id > osc </ id >
< url > http://maven.oschina.net/content/groups/public/ </ url >
</ repository >
< repository >
< id > osc_thirdparty </ id >
< url > http://maven.oschina.net/content/repositories/thirdparty/ </ url >
</ repository >
</repositories>
技术咨询
请加入BI爱好者QQ群:202125961
或者论坛:http://www.freebi.cn/