saiku-3.14构建过程(根据源码略微修改)20170805

最近发现很多朋友编译saiku3.14颇为困难,这次结合我对外公布的nexus仓库,再一次编写了此文章,即saiku3.14的编译步骤(必须结合我对外公布的nexus仓库)

修改项目根目录下的pom.xml文件

找到节点

<pluginRepositories>
    <pluginRepository>
        <id>Analytical Labs Plugin Repoid>
        <name>Analytical Labs Repo-releasesname>
        <url>http://repo.meteorite.bi/repository/alabs-release-local/url> 
    pluginRepository>
pluginRepositories>

修改为

<pluginRepositories>
    <pluginRepository>
        <id>centralid>
        <name>centralname>
        <url>http://nexus.liuyingguang.cn/repository/maven-public/url>
    pluginRepository>
pluginRepositories>

找到节点

<repositories>
    <repository>
        <id>Analytical Labs Repoid>
        <name>Analytical Labs Repo-releasesname>
        <url>http://repo.meteorite.bi/repository/alabs-release-local/url>
    repository>
    <repository>
        <id>Analytical Labs snapshotsid>
        <name>Analytical Labs Repo-releasesname>
        <url>http://repo.meteorite.bi/repository/alabs-snapshot-local/url>
    repository>
    <repository>
        <id>pentaho-third-partyid>
        <url>http://nexus.pentaho.org/content/repositories/proxied-3rd-party-releases/url>
    repository>
    <repository>
        <id>pentaho-public-releaseid>
        <url>http://nexus.pentaho.org/content/repositories/pentaho-public-release-repos/url>
    repository>
    <repository>
        <id>pentaho-snapshotid>
        <url>http://nexus.pentaho.org/content/repositories/public-snapshots/url>
    repository>
    <repository>
        <id>atlassian2id>
        <url>http://repository.opencastproject.org/url>
    repository>
    <repository>
        <id>centralid>
        <name>Maven Repository Switchboardname>
        <layout>defaultlayout>
        <url>http://repo1.maven.org/maven2url>
        <snapshots>
            <enabled>falseenabled>
        snapshots>
    repository>
    <repository>
        <id>apacheid>
        <name>Apache reponame>
        <layout>defaultlayout>
        <url>https://repository.apache.org/content/repositories/snapshots/url>
        <snapshots>
            <enabled>trueenabled>
        snapshots>
    repository>
    <repository>
        <id>atlassianid>
        <name>Atlassian Publicname>
        <layout>defaultlayout>
        <url>https://maven.atlassian.com/content/repositories/atlassian-publicurl>
        <snapshots>
            <enabled>trueenabled>
        snapshots>
    repository>
    <repository>
        <id>pentaho-releasesid>
        <url>http://repository.pentaho.org/artifactory/repo/url>
    repository>
    <repository>
        <id>miredotid>
        <url>http://nexus.qmino.com/content/repositories/miredot/url>
    repository>
    <repository>
        <id>clojarsid>
        <url>http://clojars.org/repo/url>
    repository>
repositories>

修改为

<repositories>
    <repository>
        <id>centralid>
        <name>centralname>
        <layout>defaultlayout>
        <url>http://nexus.liuyingguang.cn/repository/maven-public/url>
    repository>
repositories>

修改saiku\saiku-core\saiku-service下的pom.xml文件

找到节点

<plugin>
    <groupId>org.apache.maven.pluginsgroupId>
    <artifactId>maven-surefire-pluginartifactId>
    <version>2.19.1version>
    <configuration>
        <argLine>-Xmx512margLine>
    configuration>
plugin>

修改为

<plugin>
    <groupId>org.apache.maven.pluginsgroupId>
    <artifactId>maven-surefire-pluginartifactId>
    <version>2.19.1version>
    <configuration>
        <skip>trueskip>
    configuration>
plugin>

进行构建

回到根目录,执行命令

maven install

已经修改过源码github地址:

https://github.com/lightingLYG/saiku-release-3.14


by 刘迎光@萤火虫工作室
OpenBI交流群:495266201
MicroService 微服务交流群:217722918
mail: liuyg#liuyingguang.cn
博主首页(==防止爬虫==):http://blog.liuyingguang.cn
OpenBI问答社区:http://www.openbi.tk/

你可能感兴趣的:(saiku,OpenBI)