From: James D. <jam...@gm...> - 2023-07-12 16:18:30
|
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 <ho...@ta...> 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: de...@fi... > 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 > > > > > > > > > > > |