How to build pentaho big-data-plugin from source

43 views
Skip to first unread message

Samruddhi Singhal

unread,
Nov 18, 2016, 9:12:25 AM11/18/16
to 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

unread,
Nov 22, 2016, 12:40:22 PM11/22/16
to Pentaho Community
Hi Samruddhi,
I updated the big-data project readme to address your questions here:

Samruddhi Singhal

unread,
Dec 6, 2016, 7:41:16 AM12/6/16
to Pentaho Community
Thanks Larry... I am able to build this package successfully using the latest instructions.

Regards,
Samruddhi
Reply all
Reply to author
Forward
0 new messages