How to build pentaho big-data-plugin from source

瀏覽次數:43 次
跳到第一則未讀訊息

Samruddhi Singhal

未讀,
2016年11月18日 上午9:12:252016/11/18
收件者:Pentaho Community
Hi All,

I am trying to build pentaho big-data-plugin from source using master branch on a container running in ubuntu VM.

As per the following build steps present at github I have used "ant" to build it. Since there is no build.xml file, it fails.

$ git clone git://github.com/pentaho/big-data-plugin.git
$ cd big-data-plugin
$ ant

Can anyone please guide me what are the exact steps to build pentaho big-data-plugin?

However I have tried following steps to build using maven -

  1. Install ant, maven, jdk, git, wget and set appropriate environment variable 
  1. Clone master branch 
  1. To fix some download errors regarding dependent packages, updated settings.xml (/usr/local/apache-maven-3.3.9/conf/settings.xml). Under <profiles>, add repositories to download dependent packages (pom and jar files of dependent packages)
<profiles>
  <profile>
      <id>pentaho</id>
      <repositories>
        <repository>
          <id>pentaho_org_repo</id>
          <name>Repository for pentaho </name>
                                   <url>http://repo.pentaho.org/content/groups/omni/org/pentaho/</url>
        </repository>
        <repository>
          <id>pentaho_repo</id>
          <name>Repository for pentaho </name>
          <url>http://repo.pentaho.org/content/groups/omni/</url>
        </repository>
      </repositories>
  </profile>
<profile>
<activeProfiles>
    <activeProfile>pentaho</activeProfile>
 </activeProfiles>

 

  1. Not able to download snapshot version (0.7.7.SNAPSHOT) of jacoco maven plugin, so updated pom.xml (big-data-plugin/pom.xml) with different version of jacoco plugin under <plugins>
<plugin>
        <groupId>org.jacoco</groupId>
       <artifactId>jacoco-maven-plugin</artifactId>
       <version>0.7.7.201606060606</version>
</plugin>

 

  1. Build project
cd big-data-plugin/
mvn -f pom.xml clean package

 

Please confirm if above steps are also correct to build it.

Thanks in advance

Regards,
Samruddhi

Larry Grill

未讀,
2016年11月22日 中午12:40:222016/11/22
收件者:Pentaho Community
Hi Samruddhi,
I updated the big-data project readme to address your questions here:

Samruddhi Singhal

未讀,
2016年12月6日 清晨7:41:162016/12/6
收件者:Pentaho Community
Thanks Larry... I am able to build this package successfully using the latest instructions.

Regards,
Samruddhi
回覆所有人
回覆作者
轉寄
0 則新訊息