Skip to content

webdetails/cgg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Community Graphics Generator

CGG is a Pentaho plugin that allows the user to export CCC/CDE charts as images, enabling the inclusion of CDE charts inside Pentaho reports. This plugin is able to render, on server-side, the same chart that is rendered on the browser by CDE/CDF.

Pre-requisites for building the project:

  • Maven, version 3+
  • Java JDK 1.8
  • This settings.xml in your /.m2 directory

Building it

$ mvn clean install

This will build, unit test, and package the whole project (all of the sub-modules). The artifact will be generated in: target The resulting zip package can be unzipped and dropped inside your Pentaho Server system folder.

Running the tests

Unit tests

This will run all tests in the project (and sub-modules).

$ mvn test

If you want to remote debug a single java unit test (default port is 5005):

$ cd core
$ mvn test -Dtest=<<YourTest>> -Dmaven.surefire.debug

IntelliJ

  • Don't use IntelliJ's built-in maven. Make it use the same one you use from the commandline.
    • Project Preferences -> Build, Execution, Deployment -> Build Tools -> Maven ==> Maven home directory