NB! This is still draft with work in progress!

Fineract-CN projects depend on each other. The simplest option is to build them all locally so artifacts are published to local maven repository.

Sometomes still there is need to only work with a single project and resolve the artifacts from public repository. Also in order for travis-ci to build some specific project it needs all the dependencies to be available. For this a JFrog Artifactory has been set up to host these artifacts.


In this artifacotry there are two repositories:

In order to use snapshot builds one needs to have following line in repositories list:

repositories {
    jcenter()
    mavenLocal()
    maven {
        url 'https://mifos.jfrog.io/mifos/libs-snapshot/'
    }
}


How snapshots are built

All apache/fineract-cn-* repositories are configured to be built with Travis-CI. Whenever something is pushed to a repository travis tries to run gradle build on it. Travis also detects the current branch that the changes were pushed to.

If travis detects that the changes were pushed to "develop" branch and build doesn't fail then it uploads the new snapshot artifacts to the public repository.




id "com.jfrog.artifactory" version "4.9.5"




How releases work