Saiku项目的导入及一些本地化的设置调整

saiku 源代码导入eclipse和本地化配置调整

                                                                                Saiku项目的导入及一些本地化的设置调整

1.       通过tortoiseGit 从官网的映像地址get代码到本地后,目录如下:

attachments-2017-07-mEyeqD0e5979acfd42193.png

 

2.       开源社区提供的Repository路径


   
     maven.tempo-db.com
     http://maven.oschina.net/service/local/repositories/sonatype-public-grid/content/
   
   
     p2.jfrog.org
     http://p2.jfrog.org/libs-releases
   
   
     nexus.axiomalaska.com
     http://nexus.axiomalaska.com/nexus/content/repositories/public
   

 

3.       eclipse中导入maven项目,我用的是Oxyge版本。装了m2e组件。

导入maven项目后的效果:

4.       解决“maven-resources-plugin prior to 2.4 is not supported by m2e. Use maven-resources-plugin version 2.4 or later. 问题

将光标处maven-resources-plugin从“2.3”改成“2.4”即可。

5.       maven-resources-plugin 作用。

解决“Failed to read artifact descriptor for org.saikuanalytics:saiku-service:jar:3.14”问题。

saiku3.14版本服务器代码“\tomcat\webapps\saiku\WEB-INF\lib”目录中找到saiku-service-3.14.jar,并上传到nexus 3RD Repsitory
配置“saiku/pom.xml”文件。增加

<pluginRepository>

            <id>nexusid>

            <name>nexusname>

            <url>http://localhost:8081/nexus/content/groups/public/url>          

       pluginRepository>

 

 

<Repository>

            <id>nexusid>

            <name>nexusname>

            <url>http://localhost:8081/nexus/content/groups/public/url>          

       Repository>

两个配置节;

6.       解决“Failure to transfer eigenbase:eigenbase-properties:jar:1.1.4 from http://repo.meteorite.bi/repository/alabs-snapshot-local was cached in the local repository, resolution will not be reattempted until the update interval of Analytical Labs snapshots has elapsed or updates are forced. Original error: Could not transfer artifact eigenbase:eigenbase-properties:jar:1.1.4 from/to Analytical Labs snapshots (http://repo.meteorite.bi/repository/alabs-snapshot-local/): Failed to transfer http://repo.meteorite.bi/repository/alabs-snapshot-local/eigenbase/eigenbase-properties/1.1.4/eigenbase-properties-1.1.4.jar. Error code 400, Repository version policy: SNAPSHOT does not allow version: 1.1.4”问题

7.       解决“Missing artifact jdk.tools:jdk.tools:jar:1.6”问题

http://blog.csdn.net/huoyunshen88/article/details/40657895

本地安装的事jdk1.8所以在pom文件中增加

<dependency>

           <groupId>jdk.toolsgroupId>

           <artifactId>jdk.toolsartifactId>

           <version>1.8version>

           <scope>systemscope>

           <systemPath>${JAVA_HOME}/lib/tools.jarsystemPath>

       dependency>

配置节;

8.       解决“Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-antrun-plugin:1.2:run(execution: test, phase: process-resources)问题

https://stackoverflow.com/questions/6352208/how-to-solve-plugin-execution-not-covered-by-lifecycle-configuration-for-sprin

 

9.       解决“Project build error: Non-resolvable parent POM for bi.meteorite:saiku-web-tests:3.3.1-SNAPSHOT: Failure to transfer org.saiku:saiku:pom:3.3.1-SNAPSHOT from http://repository.opencastproject.org/nexus/content/repositories/atlassian/ was cached in the local repository, resolution will not be reattempted until the update interval of atlassian2 has elapsed or updates are forced. Original error: Could not transfer artifact org.saiku:saiku:pom:3.3.1-SNAPSHOT from/to atlassian2(http://repository.opencastproject.org/nexus/content/repositories/atlassian/): connect timed out and 'parent.relativePath' points at wrong local POM问题

修改pom文件的parent配置节。

10.   解决“'<>' operator is not allowed for source level below 1.7”问题

通过项目的 build path 设置java compillerjava1.8.

11.   解决“The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".“问题。

参照http://jyao.iteye.com/blog/1263650,删除/span>。。。。这段内容

12.   修改saiku/pom.xml文件的maven-compiler-plugin配置信息,使用本地jdk对应的版本,我本地是jdk1.8

至此 整个saikumaven项目的validate err全部解决完毕。

  • 发表于 2017-07-27 17:10
  • 阅读 ( 100 )
  • 分类:saiku3.x

你可能感兴趣的文章

相关问题

0 条评论

请先 登录 后评论
不写代码的码农
李杰

IT 开发

1 篇文章

作家榜 »

  1. 刘迎光 5 文章
  2. DockerAlpha 1 文章
  3. 李杰 1 文章
  4. OpenBI官方 1 文章
  5. liufeng 0 文章
  6. PPPYYY 0 文章
  7. xyz 0 文章
  8. shane 0 文章