[BI] Saiku3.8.8 编译

修改saiku-release-3.8/saiku-ui/pom.xml

可以考虑使用nexus,见 [Linux] 搭建maven私服: nexus教程

我嫌麻烦,自己改了pom.xml,并用本地jar包,放在/home/hadoop/Downloads/

需要的比较特别的jar包,我集合下了放到了gitHub

 

pom.xml如下:


<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.saikuanalytics</groupId>
<artifactId>saiku</artifactId>
<packaging>pom</packaging>
<version>3.8-RC5</version>
<name>Saiku Module Project</name>
<scm>
<developerConnection>
scm:git:git@github.com:OSBI/saiku.git
</developerConnection>
<tag>saiku-3.1-SNAPSHOT</tag>
</scm>
<modules>
<module>saiku-core</module>
<module>saiku-ui</module>
<module>saiku-webapp</module>
<module>saiku-server</module>
<module>saiku-bi-platform-plugin-p5</module>
<module>saiku-bi-platform-plugin-p6</module>
</modules>

<distributionManagement>
<repository>
<id>utility</id>
<name>utility-releases</name>
<url>http://repo.meteorite.bi/content/repositories/alabs-release-local/</url>
</repository>
<snapshotRepository>
<id>utility</id>
<name>utility-snapshots</name>
<url>http://repo.meteorite.bi/content/repositories/alabs-snapshot-local/</url>
</snapshotRepository>
</distributionManagement>
<properties>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<top.dir>${project.basedir}</top.dir>
<spring.version>4.1.6.RELEASE</spring.version>
<spring.security.version>4.0.1.RELEASE</spring.security.version>
<slf4j.version>1.6.4</slf4j.version>
<jersey.version>1.19</jersey.version>
<tomcat.version>apache-tomcat-7.0.62</tomcat.version>
<tomcat.source>target/stage/tomcat/</tomcat.source>
<maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format>
<calcite.version>0.9.2-incubating-SNAPSHOT</calcite.version>
<pentaho.libs.version>TRUNK-SNAPSHOT</pentaho.libs.version>
<pentaho.platform.version>5.0.0</pentaho.platform.version>
<serenity.version>1.0.58</serenity.version>
<jbehave.version>3.9.3</jbehave.version>
</properties>
<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>
</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>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>
</repositories>
<build>
<plugins>
<!-- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>2.11</version>
<executions>
<execution>
<id>include-announcement-file</id>
<phase>generate-resources</phase>
<goals>
<goal>announcement-generate</goal>
</goals>
<configuration>
<announcementFile>CHANGES.txt</announcementFile>
<announcementDirectory>${project.build.outputDirectory}/META-INF</announcementDirectory>
</configuration>
</execution>
</executions>
<configuration>
<issueManagementSystems>
<issueManagementSystem>JIRA</issueManagementSystem>
</issueManagementSystems>
<smtpHost>mail.yourhost.com</smtpHost>
<smtpPort implementation="java.lang.Integer">25</smtpPort>
<mailSender>
<name>Release Notification</name>
<email>build@example.com</email>
</mailSender>
<toAddresses>
<toAddress implementation="java.lang.String">to@example.com</toAddress>
</toAddresses>
<useJql>true</useJql>
<onlyCurrentVersion>true</onlyCurrentVersion>
<resolutionIds>Fixed,Done</resolutionIds>
<statusIds>Closed,Resolved,Done</statusIds>
<columnNames>Type,Key,Summary,Priority,Status,Resolution,Fix Version,Assignee</columnNames>
<webUser>...</webUser>
<webPassword>...</webPassword>
</configuration>
</plugin>-->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.5</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
<configuration>
<serverId>nexus</serverId>
<nexusUrl>http://repo.meteorite.bi</nexusUrl>
<skipStaging>true</skipStaging>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.11</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
<goal>test-jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>external.atlassian.jgitflow</groupId>
<artifactId>jgitflow-maven-plugin</artifactId>
<version>1.0-m4.3</version>
<configuration>
<flowInitContext>
<masterBranchName>master</masterBranchName>
<developBranchName>development</developBranchName>
<featureBranchPrefix>feature-</featureBranchPrefix>
<releaseBranchPrefix>release-</releaseBranchPrefix>
<hotfixBranchPrefix>hotfix-</hotfixBranchPrefix>
<versionTagPrefix>t the-</versionTagPrefix>
</flowInitContext>
<allowSnapshots>true</allowSnapshots>
<autoVersionSubmodules>true</autoVersionSubmodules>
<pushReleases>true</pushReleases>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<!--<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<configuration>
<configLocation>${top.dir}/src/main/config/checkstyle/checker.xml</configLocation>
<suppressionsLocation>${top.dir}/src/main/config/checkstyle/suppressions.xml</suppressionsLocation>
<consoleOutput>true</consoleOutput>
<headerLocation>${top.dir}/src/main/config/checkstyle/header.txt</headerLocation>
<failOnViolation>true</failOnViolation>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
</configuration>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>-->

</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.9</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.12.1</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<issueManagement>
<system>JIRA</system>
<url>http://jira.meteorite.bi/browse/SKU</url>
</issueManagement>
<!--<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>2.11</version>
</plugin>
</plugins>
</reporting>-->
<profiles>
<profile>
<id>ci</id>
<modules>
<module>saiku-core</module>
<module>saiku-ui</module>
<module>saiku-webapp</module>
<module>saiku-server</module>
<module>saiku-bi-platform-plugin-p5</module>
<module>saiku-web-tests</module>
</modules>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.sun.jersey.jersey-test-framework</groupId>
<artifactId>jersey-test-framework-core</artifactId>
<version>${jersey.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.sun.jersey.jersey-test-framework</groupId>
<artifactId>jersey-test-framework-external</artifactId>
<version>${jersey.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.sourceforge.jtds</groupId>
<artifactId>jtds</artifactId>
<version>1.3.1</version>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>9.3-1102-jdbc41</version>
</dependency>
<dependency>
<groupId>org.apache.hive</groupId>
<artifactId>hive-jdbc</artifactId>
<version>0.13.1</version>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
<version>2.4.0</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-cas</artifactId>
<version>${spring.security.version}</version>
</dependency>
<dependency>
<groupId>org.jasig.cas.client</groupId>
<artifactId>cas-client-core</artifactId>
<version>3.3.2</version>
</dependency>
<dependency>
<groupId>org.jasig.cas.client</groupId>
<artifactId>cas-client-integration-tomcat-common</artifactId>
<version>3.3.2</version>
</dependency>
<dependency>
<groupId>org.jasig.cas.client</groupId>
<artifactId>cas-client-integration-tomcat-v7</artifactId>
<version>3.3.2</version>
</dependency>
<dependency>
<groupId>org.mozilla</groupId>
<artifactId>rhino</artifactId>
<version>1.7R5</version>
</dependency>
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-api</artifactId>
<version>2.8.0</version>
</dependency>
<dependency>
<groupId>org.jvnet.mimepull</groupId>
<artifactId>mimepull</artifactId>
<version>1.9.4</version>
</dependency>
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-webdav</artifactId>
<version>2.8.0</version>
</dependency>
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-jcr-commons</artifactId>
<version>2.8.0</version>
</dependency>
<dependency>
<groupId>org.saikuanalytics</groupId>
<artifactId>saiku-service</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.saikuanalytics</groupId>
<artifactId>saiku-webapp</artifactId>
<version>3.1-SNAPSHOT</version>
<type>war</type>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>com.qmino</groupId>
<artifactId>miredot-annotations</artifactId>
<version>1.3.1</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/miredot-annotations-1.3.1.jar</systemPath>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.14</version>
</dependency>
<dependency>
<groupId>org.olap4j</groupId>
<artifactId>olap4j</artifactId>
<version>TRUNK-SNAPSHOT</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/olap4j-1.2.0.jar</systemPath>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
<version>2.12.3</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.5.1</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-json-provider</artifactId>
<version>2.5.1</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>3.7</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.7</version>
</dependency>
<dependency>
<groupId>eigenbase</groupId>
<artifactId>eigenbase-properties</artifactId>
<version>1.1.0.10924</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/eigenbase-properties-1.1.0.10924.jar</systemPath>
</dependency>
<dependency>
<groupId>eigenbase</groupId>
<artifactId>eigenbase-resgen</artifactId>
<version>1.3.0.11873</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/eigenbase-resgen-1.3.0.11873.jar</systemPath>
</dependency>
<dependency>
<groupId>eigenbase</groupId>
<artifactId>eigenbase-xom</artifactId>
<version>1.3.0.11999</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/eigenbase-xom-1.3.0.11999.jar</systemPath>
</dependency>
<dependency>
<groupId>org.olap4j</groupId>
<artifactId>olap4j-xmla</artifactId>
<version>TRUNK-SNAPSHOT</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/olap4j-xmla-1.2.0.jar</systemPath>
</dependency>
<dependency>
<groupId>org.olap4j</groupId>
<artifactId>olap4j-xmlaserver</artifactId>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>org.jdom</groupId>
<artifactId>jdom</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>javax.jcr</groupId>
<artifactId>jcr</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.3.04</version>
</dependency>
<dependency>
<groupId>org.apache.xmlgraphics</groupId>
<artifactId>fop</artifactId>
<version>1.1</version>
<exclusions>
<exclusion>
<artifactId>avalon-framework-api</artifactId>
<groupId>org.apache.avalon.framework</groupId>
</exclusion>
<exclusion>
<artifactId>avalon-framework-impl</artifactId>
<groupId>org.apache.avalon.framework</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.xmlgraphics</groupId>
<artifactId>xmlgraphics-commons</artifactId>
<version>1.5</version>
</dependency>

<!-- these two are to correct issues in fop dependency -->
<dependency>
<groupId>avalon-framework</groupId>
<artifactId>avalon-framework-api</artifactId>
<version>4.2.0</version>
</dependency>
<dependency>
<groupId>avalon-framework</groupId>
<artifactId>avalon-framework-impl</artifactId>
<version>4.2.0</version>
</dependency>
<dependency>
<groupId>org.apache.xmlgraphics</groupId>
<artifactId>batik-js</artifactId>
<version>1.7</version>
</dependency>
<dependency>
<groupId>batik</groupId>
<artifactId>batik-transcoder</artifactId>
<version>1.7</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/batik-transcoder-1.7.jar</systemPath>
</dependency>
<dependency>
<groupId>batik</groupId>
<artifactId>batik-ext</artifactId>
<version>1.7</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/batik-ext-1.7.jar</systemPath>
</dependency>
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-core</artifactId>
<version>2.8.0</version>
</dependency>
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-jcr-server</artifactId>
<version>2.8.0</version>
</dependency>
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-jcr-servlet</artifactId>
<version>2.8.0</version>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<version>1.3</version>
</dependency>
<dependency>
<groupId>net.serenity-bdd</groupId>
<artifactId>serenity-jbehave</artifactId>
<version>1.0.23</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/serenity-jbehave-1.0.23.jar</systemPath>
</dependency>
<dependency>
<groupId>net.serenity-bdd</groupId>
<artifactId>serenity-core</artifactId>
<version>1.0.58</version>
</dependency>
<dependency>
<groupId>net.serenity-bdd</groupId>
<artifactId>serenity-jira-requirements-provider</artifactId>
<version>1.0.1</version>
</dependency>
<dependency>
<groupId>net.serenity-bdd</groupId>
<artifactId>serenity-junit</artifactId>
<version>1.0.58</version>
</dependency>
<dependency>
<groupId>net.serenity-bdd</groupId>
<artifactId>serenity-jira-plugin</artifactId>
<version>1.0.1</version>
</dependency>

<dependency>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.1-api</artifactId>
<version>1.0.0.Final</version>
</dependency>
<dependency>
<groupId>org.jbehave</groupId>
<artifactId>jbehave-core</artifactId>
<version>${jbehave.version}</version>
</dependency>
<dependency>
<groupId>mondrian-data-foodmart-hsql</groupId>
<artifactId>mondrian-data-foodmart-hsql</artifactId>
<version>0.1</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>net.sourceforge.htmlcleaner</groupId>
<artifactId>htmlcleaner</artifactId>
<version>2.10</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-annotations</artifactId>
<version>3.5.6-Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>4.3.5.Final</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.5.1</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.5.1</version>
</dependency>
<dependency>
<groupId>org.saikuanalytics</groupId>
<artifactId>saiku-web</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-ldap</artifactId>
<version>${spring.version}</version>
</dependency>
<!-- Batik/SVG -->
<dependency>
<groupId>org.apache.xmlgraphics</groupId>
<artifactId>batik-transcoder</artifactId>
<version>1.7</version>
</dependency>
<dependency>
<groupId>org.apache.xmlgraphics</groupId>
<artifactId>batik-codec</artifactId>
<version>1.7</version>
</dependency>
<dependency>
<groupId>org.apache.xmlgraphics</groupId>
<artifactId>batik-bridge</artifactId>
<version>1.7</version>
</dependency>
<dependency>
<groupId>org.apache.xmlgraphics</groupId>
<artifactId>batik-svg-dom</artifactId>
<version>1.7</version>
</dependency>
<dependency>
<groupId>iText</groupId>
<artifactId>iText</artifactId>
<version>4.2.0</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/itext-4.2.0.jar</systemPath>
</dependency>
<dependency>
<groupId>com.samaxes.maven</groupId>
<artifactId>minify-maven-plugin</artifactId>
<version>1.7.4</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/minify-maven-plugin-1.7.4.jar</systemPath>
</dependency>

<dependency>
<groupId>org.saikuanalytics</groupId>
<artifactId>saiku-ui</artifactId>
<version>${project.version}</version>
<type>war</type>
</dependency>
<dependency>
<groupId>org.saikuanalytics</groupId>
<artifactId>saiku-olap-util</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.saiku</groupId>
<artifactId>saiku-query</artifactId>
<version>0.1-SNAPSHOT</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/saiku-query-0.1.jar</systemPath>
</dependency>
<dependency>
<groupId>pentaho</groupId>
<artifactId>mondrian</artifactId>
<version>4.3.0.1-SPARK</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/mondrian-4.3.0.1-SPARK.jar</systemPath>
</dependency>
<!-- Spring modules -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-taglibs</artifactId>
<version>${spring.security.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-core</artifactId>
<version>${jersey.version}</version>
</dependency>
<dependency>
<groupId>com.sun.jersey.contribs</groupId>
<artifactId>jersey-spring</artifactId>
<version>${jersey.version}</version>
</dependency>
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-servlet</artifactId>
<version>${jersey.version}</version>
</dependency>
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-client</artifactId>
<version>${jersey.version}</version>
</dependency>
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-server</artifactId>
<version>${jersey.version}</version>
</dependency>
<dependency>
<groupId>com.sun.jersey.contribs</groupId>
<artifactId>jersey-multipart</artifactId>
<version>${jersey.version}</version>
</dependency>
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-json</artifactId>
<version>${jersey.version}</version>
</dependency>
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>jsr311-api</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>com.sun.grizzly</groupId>
<artifactId>grizzly-servlet-webserver</artifactId>
<version>1.9.18-i</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.8.5</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
<version>2.2</version>
</dependency>
<dependency>
<groupId>org.codehaus.jettison</groupId>
<artifactId>jettison</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>1.8.0.10</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.17</version>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>1.4</version>
</dependency>
<dependency>
<groupId>commons-pool</groupId>
<artifactId>commons-pool</artifactId>
<version>1.4</version>
</dependency>
<dependency>
<groupId>commons-vfs</groupId>
<artifactId>commons-vfs</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>commons-math</groupId>
<artifactId>commons-math</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.2.1</version>
</dependency>
<dependency>
<groupId>pentaho</groupId>
<artifactId>cpf-core</artifactId>
<version>5.2.0.2-84</version>
<exclusions>
<exclusion>
<groupId>janino</groupId>
<artifactId>janino</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>pentaho</groupId>
<artifactId>cpf-pentaho5</artifactId>
<version>5.2.0.2-84</version>
<exclusions>
<exclusion>
<groupId>pentaho</groupId>
<artifactId>pentaho-user-console-package</artifactId>
</exclusion>
<exclusion>
<groupId>janino</groupId>
<artifactId>janino</artifactId>
</exclusion>
<exclusion>
<groupId>pentaho-kettle</groupId>
<artifactId>kettle-ui-swt</artifactId>
</exclusion>
<exclusion>
<groupId>pentaho</groupId>
<artifactId>pentaho-platform-extensions</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>pentaho</groupId>
<artifactId>pentaho-platform-api</artifactId>
<version>${pentaho.platform.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>pentaho</groupId>
<artifactId>pentaho-platform-core</artifactId>
<version>${pentaho.platform.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>gnujaxp</groupId>
<artifactId>gnujaxp</artifactId>
</exclusion>
<exclusion>
<groupId>xerces</groupId>
<artifactId>xmlParserAPIs</artifactId>
</exclusion>
<exclusion>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.xbean</groupId>
<artifactId>xbean</artifactId>
</exclusion>
<exclusion>
<groupId>adaptx</groupId>
<artifactId>adaptx</artifactId>
</exclusion>
<exclusion>
<groupId>org.jvnet.staxex</groupId>
<artifactId>stax-ex</artifactId>
</exclusion>
<exclusion>
<groupId>net.sourceforge.nekohtml</groupId>
<artifactId>nekohtml</artifactId>
</exclusion>
<exclusion>
<groupId>janino</groupId>
<artifactId>janino</artifactId>
</exclusion>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xmlParserAPIs</artifactId>
</exclusion>
<exclusion>
<groupId>xerces</groupId>
<artifactId>xmlParserAPIs</artifactId>
</exclusion>
<exclusion>
<artifactId>secondstring</artifactId>
<groupId>secondstring</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>pentaho</groupId>
<artifactId>pentaho-platform-extensions</artifactId>
<version>${pentaho.platform.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.xbean</groupId>
<artifactId>xbean</artifactId>
</exclusion>
<exclusion>
<groupId>adaptx</groupId>
<artifactId>adaptx</artifactId>
</exclusion>
<exclusion>
<groupId>org.jvnet.staxex</groupId>
<artifactId>stax-ex</artifactId>
</exclusion>
<exclusion>
<groupId>net.sourceforge.nekohtml</groupId>
<artifactId>nekohtml</artifactId>
</exclusion>
<exclusion>
<groupId>janino</groupId>
<artifactId>janino</artifactId>
</exclusion>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xmlParserAPIs</artifactId>
</exclusion>
<exclusion>
<groupId>xerces</groupId>
<artifactId>xmlParserAPIs</artifactId>
</exclusion>
<exclusion>
<artifactId>secondstring</artifactId>
<groupId>secondstring</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
</dependency>

<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox-app</artifactId>
<version>2.0.0-SNAPSHOT</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/pdfbox-app-2.0.0.jar</systemPath>
</dependency>
<dependency>
<groupId>pentaho</groupId>
<artifactId>cda</artifactId>
<version>TRUNK-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
<version>${spring.security.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
<version>${spring.security.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-web</artifactId>
<version>${spring.security.version}</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.4</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.4</version>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>20020423</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.5.1</version>
</dependency>
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.1</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.4.188</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
<version>4.3-alpha1</version>
</dependency>
<dependency>
<groupId>org.apache.hive</groupId>
<artifactId>hive-jdbc</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.apache.hive</groupId>
<artifactId>hive-cli</artifactId>
<version>1.0.0</version>
</dependency>

<dependency>
<groupId>org.apache.calcite</groupId>
<artifactId>calcite-core</artifactId>
<version>${calcite.version}</version>
</dependency>
<dependency>
<groupId>org.apache.calcite</groupId>
<artifactId>calcite-avatica</artifactId>
<version>${calcite.version}</version>
</dependency>
<dependency>
<groupId>org.apache.calcite</groupId>
<artifactId>calcite-mongodb</artifactId>
<version>${calcite.version}</version>
</dependency>
<dependency>
<groupId>com.cenqua.clover</groupId>
<artifactId>clover</artifactId>
<version>3.3.0</version>
</dependency>
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-rest-java-client-api</artifactId>
<version>2.0.0-m31</version>
</dependency>
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-rest-java-client-core</artifactId>
<version>2.0.0-m31</version>
</dependency>
</dependencies>

</dependencyManagement>

</project>

 

常见问题及解决:

报错1:
[ERROR] Failed to execute goal on project saiku-olap-util: Could not resolve dependencies for project org.saikuanalytics:saiku-olap-util:jar:3.8-RC5: The following artifacts could not be resolved: pentaho:mondrian:jar:4.3.0.1-130, eigenbase:eigenbase-properties:jar:1.1.0.10924, eigenbase:eigenbase-resgen:jar:1.3.0.11873, eigenbase:eigenbase-xom:jar:1.3.0.11999, org.olap4j:olap4j-xmla:jar:1.2.0: Could not find artifact pentaho:mondrian:jar:4.3.0.1-130 in Analytical Labs Repo (http://repo.meteorite.bi/content/repositories/alabs-release-local/) -> [Help 1]

<dependency>
<groupId>pentaho</groupId>
<artifactId>mondrian</artifactId>
<version>4.3.0.1-SPARK</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/mondrian-4.3.0.1-130.jar</systemPath>
</dependency>

 

报错2:
[ERROR] Failed to execute goal on project saiku-olap-util: Could not resolve dependencies for project org.saikuanalytics:saiku-olap-util:jar:3.8-RC5: The following artifacts could not be resolved: eigenbase:eigenbase-properties:jar:1.1.0.10924, eigenbase:eigenbase-resgen:jar:1.3.0.11873, eigenbase:eigenbase-xom:jar:1.3.0.11999, org.olap4j:olap4j-xmla:jar:1.2.0: Failure to find eigenbase:eigenbase-properties:jar:1.1.0.10924 in http://repo.meteorite.bi/content/repositories/alabs-release-local/ was cached in the local repository, resolution will not be reattempted until the update interval of Analytical Labs Repo has elapsed or updates are forced -> [Help 1]

<dependency>
<groupId>eigenbase</groupId>
<artifactId>eigenbase-properties</artifactId>
<version>1.1.0.10924</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/eigenbase-properties-1.1.0.10924.jar</systemPath>
</dependency>
<dependency>
<groupId>eigenbase</groupId>
<artifactId>eigenbase-resgen</artifactId>
<version>1.3.0.11873</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/eigenbase-resgen-1.3.0.11873.jar</systemPath>
</dependency>
<dependency>
<groupId>eigenbase</groupId>
<artifactId>eigenbase-xom</artifactId>
<version>1.3.0.11999</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/eigenbase-xom-1.3.0.11999.jar</systemPath>
</dependency>
报错3;
[ERROR] Failed to execute goal on project saiku-service: Could not resolve dependencies for project org.saikuanalytics:saiku-service:jar:3.8-RC5: Failed to collect dependencies at net.serenity-bdd:serenity-jbehave:jar:1.0.23 -> net.serenity-bdd:serenity-core:jar:1.0.58 -> org.hibernate:hibernate-validator:jar:5.1.1.Final: Failed to read artifact descriptor for org.hibernate:hibernate-validator:jar:5.1.1.Final: Could not transfer artifact org.jboss.shrinkwrap:shrinkwrap-bom:pom:1.0.1 from/to central (https://repo.maven.apache.org/maven2): Connection reset -> [Help 1]

<dependency>
<groupId>net.serenity-bdd</groupId>
<artifactId>serenity-jbehave</artifactId>
<version>1.0.23</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/serenity-jbehave-1.0.23.jar</systemPath>
</dependency>
[ERROR] Failed to execute goal on project saiku-service: Could not resolve dependencies for project org.saikuanalytics:saiku-service:jar:3.8-RC5: The following artifacts could not be resolved: org.saiku:saiku-query:jar:0.1-SNAPSHOT, org.olap4j:olap4j:jar:TRUNK-SNAPSHOT: Failure to find org.saiku:saiku-query:jar:0.1-SNAPSHOT in http://repo.meteorite.bi/content/repositories/alabs-release-local/ was cached in the local repository, resolution will not be reattempted until the update interval of Analytical Labs Repo has elapsed or updates are forced -> [Help 1]

<dependency>
<groupId>org.saiku</groupId>
<artifactId>saiku-query</artifactId>
<version>0.1-SNAPSHOT</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/saiku-query-0.1.jar</systemPath>
</dependency>

[ERROR] Failed to execute goal on project saiku-service: Could not resolve dependencies for project org.saikuanalytics:saiku-service:jar:3.8-RC5: Failure to find org.olap4j:olap4j:jar:TRUNK-SNAPSHOT in http://repo.meteorite.bi/content/repositories/alabs-release-local/ was cached in the local repository, resolution will not be reattempted until the update interval of Analytical Labs Repo has elapsed or updates are forced -> [Help 1] <dependency>
<groupId>org.olap4j</groupId>
<artifactId>olap4j</artifactId>
<version>TRUNK-SNAPSHOT</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/olap4j-1.2.0.jar</systemPath>
</dependency>

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:copy (copy) on project saiku-service: Unable to find artifact. Could not find artifact mondrian-data-foodmart-hsql:mondrian-data-foodmart-hsql:jar:0.1 in Analytical Labs Repo (http://repo.meteorite.bi/content/repositories/alabs-release-local/)
mvn install:install-file -DgroupId=mondrian-data-foodmart-hsql -DartifactId=mondrian-data-foodmart-hsql -Dversion=0.1 -Dpackaging=jar -Dfile=mondrian-data-foodmart-hsqldb-0.1.jar
[INFO] saiku – web …………………………………. FAILURE [23:57 min]

报错5:
<dependency>
<groupId>com.qmino</groupId>
<artifactId>miredot-annotations</artifactId>
<version>1.3.1</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/miredot-annotations-1.3.1.jar</systemPath>
</dependency>

 

报错6:
[ERROR] Failed to execute goal on project saiku-web: Could not resolve dependencies for project org.saikuanalytics:saiku-web:jar:3.8-RC5: The following artifacts could not be resolved: batik:batik-transcoder:jar:1.7, batik:batik-ext:jar:1.7, iText:iText:jar:4.2.0, org.apache.pdfbox:pdfbox-app:jar:2.0.0-SNAPSHOT: Failure to find batik:batik-transcoder:jar:1.7 in http://repo.meteorite.bi/content/repositories/alabs-release-local/ was cached in the local repository, resolution will not be reattempted until the update interval of Analytical Labs Repo has elapsed or updates are forced -> [Help 1] 解决:

<dependency>
<groupId>batik</groupId>
<artifactId>batik-transcoder</artifactId>
<version>1.7</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/batik-transcoder-1.7.jar</systemPath>
</dependency>

 

报错7:
[ERROR] Failed to execute goal on project saiku-web: Could not resolve dependencies for project org.saikuanalytics:saiku-web:jar:3.8-RC5: The following artifacts could not be resolved: batik:batik-ext:jar:1.7, iText:iText:jar:4.2.0, org.apache.pdfbox:pdfbox-app:jar:2.0.0-SNAPSHOT: Failure to find batik:batik-ext:jar:1.7 in http://repo.meteorite.bi/content/repositories/alabs-release-local/ was cached in the local repository, resolution will not be reattempted until the update interval of Analytical Labs Repo has elapsed or updates are forced -> [Help 1] 解决:
<dependency>
<groupId>batik</groupId>
<artifactId>batik-ext</artifactId>
<version>1.7</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/batik-ext-1.7.jar</systemPath>
</dependency>

 

报错8:
[ERROR] Failed to execute goal on project saiku-web: Could not resolve dependencies for project org.saikuanalytics:saiku-web:jar:3.8-RC5: The following artifacts could not be resolved: iText:iText:jar:4.2.0, org.apache.pdfbox:pdfbox-app:jar:2.0.0-SNAPSHOT: Failure to find iText:iText:jar:4.2.0 in http://repo.meteorite.bi/content/repositories/alabs-release-local/ was cached in the local repository, resolution will not be reattempted until the update interval of Analytical Labs Repo has elapsed or updates are forced -> [Help 1] 解决:
<dependency>
<groupId>iText</groupId>
<artifactId>iText</artifactId>
<version>4.2.0</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/itext-4.2.0.jar</systemPath>
</dependency>
报错9:
[ERROR] Failed to execute goal on project saiku-web: Could not resolve dependencies for project org.saikuanalytics:saiku-web:jar:3.8-RC5: Failure to find org.apache.pdfbox:pdfbox-app:jar:2.0.0-SNAPSHOT in http://repo.meteorite.bi/content/repositories/alabs-release-local/ was cached in the local repository, resolution will not be reattempted until the update interval of Analytical Labs Repo has elapsed or updates are forced -> [Help 1] 解决:
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox-app</artifactId>
<version>2.0.0-SNAPSHOT</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/pdfbox-app-2.0.0.jar</systemPath>
</dependency>
报错10:
[WARNING] Could not transfer metadata org.codehaus.mojo:license-maven-plugin/maven-metadata.xml from/to jsdoctk2 (http://jsdoctk-plugin.googlecode.com/svn/repo): Network is unreachable
解决:
<dependency>
<groupId>com.samaxes.maven</groupId>
<artifactId>minify-maven-plugin</artifactId>
<version>1.7.4</version>
<scope>system</scope>
<systemPath>/home/hadoop/Downloads/minify-maven-plugin-1.7.4.jar</systemPath>
</dependency>
mvn install:install-file -Dfile=/home/hadoop/Downloads/minify-maven-plugin-1.7.4.jar -DgroupId=com.samaxes.maven -DartifactId=minify-maven-plugin -Dversion=1.7.4 -Dpackaging=jar

Saiku-UI

 

报错11:
[ERROR] Failed to execute goal com.samaxes.maven:minify-maven-plugin:1.7.4:minify (default-minify) on project saiku-ui: Execution default-minify of goal com.samaxes.maven:minify-maven-plugin:1.7.4:minify failed: A required class was missing while executing com.samaxes.maven:minify-maven-plugin:1.7.4:minify: Lcom/google/javascript/jscomp/CompilerOptions$LanguageMode;
原因:需要Google的压缩js工具

[ERROR] Failed to execute goal com.samaxes.maven:minify-maven-plugin:1.7.4:minify (default-minify) on project saiku-ui: Execution default-minify of goal com.samaxes.maven:minify-maven-plugin:1.7.4:minify failed: A required class was missing while executing com.samaxes.maven:minify-maven-plugin:1.7.4:minify: Lcom/google/javascript/jscomp/CompilerOptions$LanguageMode;

 

 

 

分类上一篇:无,已是最新文章    分类下一篇:无,已是最新文章

Leave a Reply