Hello Honest Thanks for the help, I am trying to build both for dev and use.
did as instructed but got the following error now INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ pentaho-plugin --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to E:\fineract-pentaho\target\classes [INFO] Some messages have been simplified; recompile with -Xdiags:verbose to get full output [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /E:/fineract-pentaho/src/main/java/org/apache/fineract/infrastructure/report/service/PentahoReportingProcessServiceImpl.java:[77,8] org.apache.fineract.infrastructure.report.service.PentahoReportingProcessServiceImpl is not abstract and does not override abstract method processRequest(java.lang.String,jakarta.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String>) in org.apache.fineract.infrastructure.report.service.ReportingProcessService [ERROR] /E:/fineract-pentaho/src/main/java/org/apache/fineract/infrastructure/report/service/PentahoReportingProcessServiceImpl.java:[107,5] method does not override or implement a method from a supertype [ERROR] /E:/fineract-pentaho/src/main/java/org/apache/fineract/infrastructure/report/service/PentahoReportingProcessServiceImpl.java:[110,34] cannot access jakarta.ws.rs.core.MultivaluedMap class file for jakarta.ws.rs.core.MultivaluedMap not found [ERROR] /E:/fineract-pentaho/src/main/java/org/apache/fineract/infrastructure/report/service/PentahoReportingProcessServiceImpl.java:[111,61] incompatible types: javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> cannot be converted to jakarta.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> [ERROR] /E:/fineract-pentaho/src/main/java/org/apache/fineract/infrastructure/report/service/PentahoReportingProcessServiceImpl.java:[282,5] method does not override or implement a method from a supertype [INFO] 5 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 03:48 min [INFO] Finished at: 2023-07-18T08:46:23Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project pentaho-plugin: Compilation failure: Compilation failure: [ERROR] /E:/fineract-pentaho/src/main/java/org/apache/fineract/infrastructure/report/service/PentahoReportingProcessServiceImpl.java:[77,8] org.apache.fineract.infrastructure.report.service.PentahoReportingProcessServiceImpl is not abstract and does not override abstract method processRequest(java.lang.String,jakarta.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String>) in org.apache.fineract.infrastructure.report.service.ReportingProcessService [ERROR] /E:/fineract-pentaho/src/main/java/org/apache/fineract/infrastructure/report/service/PentahoReportingProcessServiceImpl.java:[107,5] method does not override or implement a method from a supertype [ERROR] /E:/fineract-pentaho/src/main/java/org/apache/fineract/infrastructure/report/service/PentahoReportingProcessServiceImpl.java:[110,34] cannot access jakarta.ws.rs.core.MultivaluedMap [ERROR] class file for jakarta.ws.rs.core.MultivaluedMap not found [ERROR] /E:/fineract-pentaho/src/main/java/org/apache/fineract/infrastructure/report/service/PentahoReportingProcessServiceImpl.java:[111,61] incompatible types: javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> cannot be converted to jakarta.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> [ERROR] /E:/fineract-pentaho/src/main/java/org/apache/fineract/infrastructure/report/service/PentahoReportingProcessServiceImpl.java:[282,5] method does not override or implement a method from a supertype [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException On Tue, Jul 18, 2023 at 7:08 AM Honest Chirozva <hon...@taatconsulting.com> wrote: > > > Hi Jamiu, > > > > The error is because there is no fineract jar with version 0.0.255-beffb9d7. > Correct me if I am wrong but I think you renamed the jars and removed the > suffixes with the versions. When you build the fineract jars, they have a > version at the suffix like fineract-core-0.0.0-a119296a.jar, do not rename > them. > > > > Let’s assume you ran gradlew build and got the following artifacts, > > fineract-core-0.0.0-a119296a.jar > > fineract-provider-0.0.0-a119296a-plain.jar > > > > ***NB: the fineract provider has to be a plain jar not the whole > application jar. > > 1. Update the fineract pentaho pom with the correct version, in this > case 0.0.0-a119296a > > <properties> > > … > > <fineract.version>0.0.0-a119296a</fineract.version> > > … > > </properties> > > 1. Create a libs folder at the root of the fineract pentaho project > and copy the jars to that folder. > 2. Update your fineract core and fineract plain jars dependencies like > > > > FOR PLAIN JAR > > > > <dependency> > > <groupId>org.apache.fineract</groupId> > > <artifactId>fineract-provider</artifactId> > > <version>${fineract.version}</version> > > <classifier>plain</classifier> > > <scope>system</scope> > > > <systemPath>${project.basedir}/libs/fineract-provider-${fineract.version}-plain.jar</systemPath> > > <exclusions> > > <exclusion> > > <groupId>org.apache.fineract</groupId> > > <artifactId>fineract-avro-schemas</artifactId> > > </exclusion> > > </exclusions> > > </dependency> > > > > FOR CORE JAR > > > > <dependency> > > <groupId>org.apache.fineract</groupId> > > <artifactId>fineract-core</artifactId> > > <version>${fineract.version}</version> > > <scope>system</scope> > > > <systemPath>${project.basedir}/libs/fineract-core-${fineract.version}.jar</systemPath> > > </dependency> > > > > > > This should allow you to build the plugin jar. However can I ask > something? You want to build the pentaho plugin jar for development > purposes or you want to run the Fineract API with pentaho reports enabled > or both? > > > > Regards. > > Honest Chirozva > Technical Consultant > > TAAT Consulting > > > > *From: *Jamiu Ayomide Olawale <horlawaleja...@gmail.com> > *Sent: *Friday, 14 July 2023 20:27 > *To: *dev@fineract.apache.org > *Cc: *mifos-users <mifos-us...@lists.sourceforge.net>; > mifos-develo...@lists.sourceforge.net > *Subject: *Re: Fineract-pentaho build failure > > > > Thanks Honest for the reply > > > > my sincere apologies for mailing the fineract team. > > > > with respect to your number 4 step. i tried the below but got another > error. please help > > > > added the below lines > > > > <dependency> > <groupId>org.apache.fineract</groupId> > <artifactId>fineract-provider</artifactId> > <version>${fineract.version}</version> > <scope>system</scope> > > <systemPath>C:/User/DarkVera/fineract-pentaho/fineract-core.jar</systemPath> > </dependency> > > <dependency> > <groupId>org.apache.fineract</groupId> > <artifactId>fineract-provider</artifactId> > <version>${fineract.version}</version> > <scope>system</scope> > > <systemPath>C:/User/DarkVera/fineract-pentaho/fineract-provider.jar</systemPath> > </dependency> > > > > *but got this error* > > > > > > Failed to execute goal on project pentaho-plugin: Could not resolve > dependencies for project community.mifos:pentaho-plugin:jar:1.8.4-SNAPSHOT: > Could not find artifact > org.apache.fineract:fineract-provider:jar:0.0.255-beffb9d7 at specified > path C:\User\DarkVera\fineract-pentaho\fineract-provider.jar -> [Help 1] > > > > > > once again, my apologies. > > -- > > Sybarite Networks > > > > On Fri, Jul 14, 2023 at 6:29 PM Jamiu Ayomide Olawale < > horlawaleja...@gmail.com> wrote: > > Thanks Honest for the reply > > > > my sincere apologies for mailing the fineract team. > > > > with respect to your number 4 step. i tried the below but got another > error. please help > > > > added the below lines > > > > <dependency> > <groupId>org.apache.fineract</groupId> > <artifactId>fineract-provider</artifactId> > <version>${fineract.version}</version> > <scope>system</scope> > > <systemPath>C:/User/DarkVera/fineract-pentaho/fineract-core.jar</systemPath> > </dependency> > > <dependency> > <groupId>org.apache.fineract</groupId> > <artifactId>fineract-provider</artifactId> > <version>${fineract.version}</version> > <scope>system</scope> > > <systemPath>C:/User/DarkVera/fineract-pentaho/fineract-provider.jar</systemPath> > </dependency> > > > > *but got this error* > > > > > > Failed to execute goal on project pentaho-plugin: Could not resolve > dependencies for project community.mifos:pentaho-plugin:jar:1.8.4-SNAPSHOT: > Could not find artifact > org.apache.fineract:fineract-provider:jar:0.0.255-beffb9d7 at specified > path C:\User\DarkVera\fineract-pentaho\fineract-provider.jar -> [Help 1] > > > > > > once again, my apologies. > > > > > > > > > > > > On Wed, Jul 12, 2023 at 4:18 PM James Dailey <jamespdai...@gmail.com> > wrote: > > Thanks Honest for that answer. > > I don't see anything here for the Fineract community to work on, but > correct me if I am wrong. > > Perhaps someone over on the Mifos project (openMF) can update the > documentation and change the way that the pentaho configuration is > handled. i.e. cp files in deploy script/ add a gradle task? > > In any case, this is a useful set of instructions so thank you for that. > > James > > On Wed, Jul 12, 2023 at 8:16 AM Honest Chirozva > <hon...@taatconsulting.com> wrote: > > > > Hi Jamui, > > > > > > > > + Adding the Mifos community list to this thread as the > fineract-pentaho repo is currently managed under OpenMF Umbrella. > > > > > > > > Please note that this is not a FINERACT topic, but you should be able to > add the Pentaho plugin if you follow the instructions under the readme here > https://github.com/openMF/fineract-pentaho > > > > Please see FAQ about separation of projects. > > > > > > > > I was also facing issues with the fineract pentaho plugin and managed to > fix it. > > > > > > > > The error as logged is due to missing artifacts from the mifos jfrog > repository. > > > > fineract-core:jar:0.0.255-beffb9d7 > > > > fineract-provider:jar:plain:0.0.255-beffb9d7 > > > > To fix this > > > > Clone apache/fineract > > Build fineract using this command ./gradlew clean build > > You should find fineract-core jar and fineract-provider plain jar in the > build directories > > Add these jars to your fineract pentaho plugin pom file as system scope > (Notify if you face issues doing this step) > > Build the plugin again > > > > > > > > Note that this will only build the pentaho plugin jar. For running the > plugin with fineract you should follow the steps at > https://github.com/openMF/fineract-pentaho/blob/develop/README.md. Again > if you encounter problems feel free to ask for assistance > > > > > > > > Regards. > > > > Honest Chirozva > > Technical Consultant > > > > TAAT Consulting > > > > > > > > From: Jamiu Ayomide Olawale > > Sent: Wednesday, 12 July 2023 16:09 > > To: dev@fineract.apache.org > > Subject: Fineract-pentaho build failure > > > > > > > > > > dear team > > > > > > > > tried building the plugin from git but got the below error > > > > > > > > > > > > > > > > > > > > [INFO] > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Total time: 03:31 min > > [INFO] Finished at: 2023-07-12T13:08:26Z > > [INFO] > ------------------------------------------------------------------------ > > [ERROR] Failed to execute goal on project pentaho-plugin: Could not > resolve dependencies for project > community.mifos:pentaho-plugin:jar:1.8.4-SNAPSHOT: Failed to collect > dependencies at > org.apache.fineract:fineract-provider:jar:plain:0.0.255-beffb9d7 -> > org.apache.fineract:fineract-core:jar:0.0.255-beffb9d7: Failed to read > artifact descriptor for > org.apache.fineract:fineract-core:jar:0.0.255-beffb9d7: Could not transfer > artifact org.apache.fineract:fineract-core:pom:0.0.255-beffb9d7 from/to > fineract-snapshot (https://mifos.jfrog.io/artifactory/libs-snapshot-local): > Transfer failed for > https://mifos.jfrog.io/artifactory/libs-snapshot-local/org/apache/fineract/fineract-core/0.0.255-beffb9d7/fineract-core-0.0.255-beffb9d7.pom > 409 > -> [Help 1] > > [ERROR] > > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > > [ERROR] > > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException > > > > > > > > > > > > > > > > > > > > -- > > > > Sybarite Networks > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > Sybarite Networks > > > > > > > > > > > On Wed, Jul 12, 2023 at 4:18 PM James Dailey <jamespdai...@gmail.com> > wrote: > > Thanks Honest for that answer. > > I don't see anything here for the Fineract community to work on, but > correct me if I am wrong. > > Perhaps someone over on the Mifos project (openMF) can update the > documentation and change the way that the pentaho configuration is > handled. i.e. cp files in deploy script/ add a gradle task? > > In any case, this is a useful set of instructions so thank you for that. > > James > > On Wed, Jul 12, 2023 at 8:16 AM Honest Chirozva > <hon...@taatconsulting.com> wrote: > > > > Hi Jamui, > > > > > > > > + Adding the Mifos community list to this thread as the > fineract-pentaho repo is currently managed under OpenMF Umbrella. > > > > > > > > Please note that this is not a FINERACT topic, but you should be able to > add the Pentaho plugin if you follow the instructions under the readme here > https://github.com/openMF/fineract-pentaho > > > > Please see FAQ about separation of projects. > > > > > > > > I was also facing issues with the fineract pentaho plugin and managed to > fix it. > > > > > > > > The error as logged is due to missing artifacts from the mifos jfrog > repository. > > > > fineract-core:jar:0.0.255-beffb9d7 > > > > fineract-provider:jar:plain:0.0.255-beffb9d7 > > > > To fix this > > > > Clone apache/fineract > > Build fineract using this command ./gradlew clean build > > You should find fineract-core jar and fineract-provider plain jar in the > build directories > > Add these jars to your fineract pentaho plugin pom file as system scope > (Notify if you face issues doing this step) > > Build the plugin again > > > > > > > > Note that this will only build the pentaho plugin jar. For running the > plugin with fineract you should follow the steps at > https://github.com/openMF/fineract-pentaho/blob/develop/README.md. Again > if you encounter problems feel free to ask for assistance > > > > > > > > Regards. > > > > Honest Chirozva > > Technical Consultant > > > > TAAT Consulting > > > > > > > > From: Jamiu Ayomide Olawale > > Sent: Wednesday, 12 July 2023 16:09 > > To: dev@fineract.apache.org > > Subject: Fineract-pentaho build failure > > > > > > > > > > dear team > > > > > > > > tried building the plugin from git but got the below error > > > > > > > > > > > > > > > > > > > > [INFO] > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Total time: 03:31 min > > [INFO] Finished at: 2023-07-12T13:08:26Z > > [INFO] > ------------------------------------------------------------------------ > > [ERROR] Failed to execute goal on project pentaho-plugin: Could not > resolve dependencies for project > community.mifos:pentaho-plugin:jar:1.8.4-SNAPSHOT: Failed to collect > dependencies at > org.apache.fineract:fineract-provider:jar:plain:0.0.255-beffb9d7 -> > org.apache.fineract:fineract-core:jar:0.0.255-beffb9d7: Failed to read > artifact descriptor for > org.apache.fineract:fineract-core:jar:0.0.255-beffb9d7: Could not transfer > artifact org.apache.fineract:fineract-core:pom:0.0.255-beffb9d7 from/to > fineract-snapshot (https://mifos.jfrog.io/artifactory/libs-snapshot-local): > Transfer failed for > https://mifos.jfrog.io/artifactory/libs-snapshot-local/org/apache/fineract/fineract-core/0.0.255-beffb9d7/fineract-core-0.0.255-beffb9d7.pom > 409 -> [Help 1] > > [ERROR] > > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > > [ERROR] > > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException > > > > > > > > > > > > > > > > > > > > -- > > > > Sybarite Networks > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > Sybarite Networks > > > > > > > > > > > > > -- > > Sybarite Networks > > > > > > > > > > > > > -- Sybarite Networks