You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@fineract.apache.org by James Dailey <ja...@gmail.com> on 2018/10/30 05:32:31 UTC

Fineract-CN getting to a build or get hosted

FIRST...
I'm trying to follow the instructions to get to a build, per
https://cwiki.apache.org/confluence/display/FINERACT/How+To+Build+Apache+Fineract+CN
.
I will provide some feedback on this if I can get further, but at the
moment the Builds are failing.

I wonder if anyone has had issues with this script
<https://github.com/apache/fineract-cn-demo-server/blob/develop/scripts/Unix/initial-setup.sh>
 and the builds of each of the microservices and how to troubleshoot?

I keep getting an error during "* Configuring > 0/1 projects > root project
> Resolving dependencies ':classpath'"   *
for each of the builds (I think it would be the script line: > /gradlew
publishToMavenLocal )

https://pastebin.com/XHz4JZQg  for output

I think I skipped this step:  "Ensure that artifacts are in
$USER_HOME/.m2/repository"
,

$USER_HOME/.m2 exists but is empty

When/how is the repository supposed to be created?


Macintosh-2:fineractCN jamesdailey$ mvn -version

*Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
2018-06-17T11:33:14-07:00)*

Maven home: /usr/local/Cellar/maven/3.5.4/libexec

Java version: 1.7.0_79, vendor: Oracle Corporation, runtime:
/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre

Default locale: en_US, platform encoding: UTF-8

OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"
---
SECOND...
At the end of the day, what I am really trying to get to is a deployment of
Fineract-CN with a server on AWS or Google or other hosted infrastructure.
This makes me think I should follow
https://cwiki.apache.org/confluence/display/FINERACT/Containerizing+Fineract+CN
to get to a run time version.

The key think I would like to get is a set of basic APIs visible so that
other devs (I have a small group I would like to bring into the project)
can do some basic app work, and that might hopefully extend
https://github.com/apache/fineract-cn-fims-web-app  . Additional
microservices may be needed.

Thanks

Re: Fineract-CN getting to a build or get hosted

Posted by James Dailey <ja...@gmail.com>.
Myrle

Assuming all is well with the first part, I took approach A as it looked
much easier:

> java -jar -Ddemoserver.provision=true demo-server-0.1.0-BUILD-SNAPSHOT.jar

which completes with 1 test and 1 failure


Time: 1,404.989

There was 1 failure:

1) startDevServer(org.apache.fineract.cn.dev.ServiceRunner)

feign.RetryableException: Connection refused (Connection refused) executing
POST
http://localhost:2020/provisioner/v1/auth/token?grant_type=password&client_id=service-runner&username=wepemnefret&password=oS%2F0IiAME%2F2unkN1momDrhAdNKOhGykYFH%2FmJN20

at feign.FeignException.errorExecuting(FeignException.java:67)

at
feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:104)

at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:76)

... snip

On Wed, Oct 31, 2018 at 2:30 PM James Dailey <ja...@gmail.com> wrote:

> Hi Myrle - That works just fine as I suspected it would (having already
> built another repo that way in this process).
>
> I am trying to provide a good way for newbies to build the project and use
> the build APIs... and to identify where it is breaking down.  I'm "testing"
> the process if you will.
>
> The script (as I believe know) is part of the process on
> https://cwiki.apache.org/confluence/display/FINERACT/How+To+Build+Apache+Fineract+CN
> and seems like a good starting point, although as you noted doesn't have a
> way to recover is something is "off".
>
> Hmm... yes, I guess it would still be useful for me to - without script -
> build the project first, and then go back to the script to figure out how
> to make it less brittle.  So, I'll continue with the instructions after
> manually going through each of the remaining repos.
>
> As one thing that may be wrong with the script, this attempt to add
> execution privilege to a file doesn't work on my bash env.
>
> chmod +x gradlew  # returns chmod: gradlew: No such file or directory
> Anyway, it would be useful to know the resulting structure of the project
> at each "Stage" of this.  For example, the script creates /tools and /core
> and places certain repos in those, but due to some error .. repos are
> getting created above the default starting directory.  Then subsequent to
> the maven call there is the .m2/repository artifacts which get put into a
> structure.   I don't know if I have a success or not, and/or if I should mv
> things (does it matter) around or re-run both the clone and ./gradlew
> publishToMavenLocal  commands.  (does relative path of the local git
> repos matter to gradelew? ).
>
> thanks,
> James
>
> On Wed, Oct 31, 2018 at 12:19 PM Myrle Krantz <my...@apache.org> wrote:
>
>> Hey James,
>>
>> So to be honest, I don't use the script.  And once it has failed, it isn't
>> built to be self-repairing as far as I can tell.  Let's just get the
>> demo-server build working on your machine, and then maybe you can go back
>> and figure out why the script isn't working in your environment and maybe
>> make a PR.
>>
>> Have you tried the following?
>> > cd <the_directory_you're_keeping_your_fineract_repos_in>
>> > git clone https://github.com/jdailey/fineract-cn-payroll  # this is
>> where
>> I believe you've reached successfully
>> > cd fineract-cn-payroll
>> > ./gradlew publishToMavenLocal                             # this is what
>> appears to have failed at some point here.
>>
>> That last command should publish the two artifacts in payroll (api and
>> service) to your local artifactory.  Presumably this is what has failed at
>> some point on your machine.  What error message do you get when you try to
>> execute that?
>>
>> (Please keep in mind, I haven't used a Mac computer since high school, so
>> you may have to "re-interpret" some of those commands for your
>> environment.)
>>
>> Best Regards,
>> Myrle
>>
>>
>>
>> On Wed, Oct 31, 2018 at 7:51 PM James Dailey <ja...@gmail.com>
>> wrote:
>>
>> > Myrle -
>> >
>> > I think something else is going on... with the script.
>> >
>> > When I watch it doing the Build, it is skipping over certain repos, and
>> so
>> > I'm trying to figure out where it is failing.
>> >
>> > So, I commented out one of the repos in the script which seems to be a
>> > problem for gradle and also split these repo builds into different
>> calls of
>> > get_modules()
>> >
>> > ... script:  initial-setup.sh
>> >
>> > get_modules fineract-cn-anubis fineract-cn-identity
>> > fineract-cn-permitted-feign-client fineract-cn-provisioner
>> > fineract-cn-rhythm
>> >
>> > #get modules fineract-cn-template
>> >
>> > get modules fineract-cn-office fineract-cn-customer fineract-cn-group
>> > fineract-cn-accounting fineract-cn-portfolio
>> >
>> > get modules fineract-cn-deposit-account-management fineract-cn-cheques
>> >
>> > get modules fineract-cn-payroll fineract-cn-teller fineract-cn-reporting
>> > fineract-cn-notifications
>> >
>> > ....
>> >
>> > get_modules() {
>> >
>> >   for module in $@
>> >
>> >   do
>> >
>> >     git clone https://github.com/$githubAccount/$module.git
>> >
>> >     cd $module
>> >
>> >     git remote add upstream https://github.com/apache/$module.git
>> >
>> >     # For some reason permission gets denied
>> >
>> >     chmod +x gradlew
>> >
>> >     ./gradlew publishToMavenLocal
>> >
>> >     cd ..
>> >
>> >   done
>> >
>> > }
>> >
>> > Anyway, this solves some of the issues but /and, I still have a build
>> > FAILURE , about missing payroll api
>> >
>> > Payroll is available in my git hub:
>> > https://github.com/jdailey/fineract-cn-payroll
>> >
>> >
>> > FAILURE: Build failed with an exception.
>> >
>> > * What went wrong:
>> >
>> > Could not resolve all dependencies for configuration
>> > ':detachedConfiguration5'.
>> >
>> > > Could not find org.apache.fineract.cn
>> .payroll:api:0.1.0-BUILD-SNAPSHOT.
>> >
>> >   Searched in the following locations:
>> >
>> >
>> >
>> >
>> https://jcenter.bintray.com/org/apache/fineract/cn/payroll/api/0.1.0-BUILD-SNAPSHOT/maven-metadata.xml
>> >
>> > Looking at the created local clones, which the script does, the
>> cn-payroll
>> > directory does not get created, and neither do any of the following ones
>> > for teller, reporting, notifications.
>> >
>> > Thanks,
>> > - James
>> >
>>
>

Re: Fineract-CN getting to a build or get hosted

Posted by James Dailey <ja...@gmail.com>.
Hi Myrle - That works just fine as I suspected it would (having already
built another repo that way in this process).

I am trying to provide a good way for newbies to build the project and use
the build APIs... and to identify where it is breaking down.  I'm "testing"
the process if you will.

The script (as I believe know) is part of the process on
https://cwiki.apache.org/confluence/display/FINERACT/How+To+Build+Apache+Fineract+CN
and seems like a good starting point, although as you noted doesn't have a
way to recover is something is "off".

Hmm... yes, I guess it would still be useful for me to - without script -
build the project first, and then go back to the script to figure out how
to make it less brittle.  So, I'll continue with the instructions after
manually going through each of the remaining repos.

As one thing that may be wrong with the script, this attempt to add
execution privilege to a file doesn't work on my bash env.

chmod +x gradlew  # returns chmod: gradlew: No such file or directory
Anyway, it would be useful to know the resulting structure of the project
at each "Stage" of this.  For example, the script creates /tools and /core
and places certain repos in those, but due to some error .. repos are
getting created above the default starting directory.  Then subsequent to
the maven call there is the .m2/repository artifacts which get put into a
structure.   I don't know if I have a success or not, and/or if I should mv
things (does it matter) around or re-run both the clone and ./gradlew
publishToMavenLocal  commands.  (does relative path of the local git repos
matter to gradelew? ).

thanks,
James

On Wed, Oct 31, 2018 at 12:19 PM Myrle Krantz <my...@apache.org> wrote:

> Hey James,
>
> So to be honest, I don't use the script.  And once it has failed, it isn't
> built to be self-repairing as far as I can tell.  Let's just get the
> demo-server build working on your machine, and then maybe you can go back
> and figure out why the script isn't working in your environment and maybe
> make a PR.
>
> Have you tried the following?
> > cd <the_directory_you're_keeping_your_fineract_repos_in>
> > git clone https://github.com/jdailey/fineract-cn-payroll  # this is
> where
> I believe you've reached successfully
> > cd fineract-cn-payroll
> > ./gradlew publishToMavenLocal                             # this is what
> appears to have failed at some point here.
>
> That last command should publish the two artifacts in payroll (api and
> service) to your local artifactory.  Presumably this is what has failed at
> some point on your machine.  What error message do you get when you try to
> execute that?
>
> (Please keep in mind, I haven't used a Mac computer since high school, so
> you may have to "re-interpret" some of those commands for your
> environment.)
>
> Best Regards,
> Myrle
>
>
>
> On Wed, Oct 31, 2018 at 7:51 PM James Dailey <ja...@gmail.com>
> wrote:
>
> > Myrle -
> >
> > I think something else is going on... with the script.
> >
> > When I watch it doing the Build, it is skipping over certain repos, and
> so
> > I'm trying to figure out where it is failing.
> >
> > So, I commented out one of the repos in the script which seems to be a
> > problem for gradle and also split these repo builds into different calls
> of
> > get_modules()
> >
> > ... script:  initial-setup.sh
> >
> > get_modules fineract-cn-anubis fineract-cn-identity
> > fineract-cn-permitted-feign-client fineract-cn-provisioner
> > fineract-cn-rhythm
> >
> > #get modules fineract-cn-template
> >
> > get modules fineract-cn-office fineract-cn-customer fineract-cn-group
> > fineract-cn-accounting fineract-cn-portfolio
> >
> > get modules fineract-cn-deposit-account-management fineract-cn-cheques
> >
> > get modules fineract-cn-payroll fineract-cn-teller fineract-cn-reporting
> > fineract-cn-notifications
> >
> > ....
> >
> > get_modules() {
> >
> >   for module in $@
> >
> >   do
> >
> >     git clone https://github.com/$githubAccount/$module.git
> >
> >     cd $module
> >
> >     git remote add upstream https://github.com/apache/$module.git
> >
> >     # For some reason permission gets denied
> >
> >     chmod +x gradlew
> >
> >     ./gradlew publishToMavenLocal
> >
> >     cd ..
> >
> >   done
> >
> > }
> >
> > Anyway, this solves some of the issues but /and, I still have a build
> > FAILURE , about missing payroll api
> >
> > Payroll is available in my git hub:
> > https://github.com/jdailey/fineract-cn-payroll
> >
> >
> > FAILURE: Build failed with an exception.
> >
> > * What went wrong:
> >
> > Could not resolve all dependencies for configuration
> > ':detachedConfiguration5'.
> >
> > > Could not find org.apache.fineract.cn
> .payroll:api:0.1.0-BUILD-SNAPSHOT.
> >
> >   Searched in the following locations:
> >
> >
> >
> >
> https://jcenter.bintray.com/org/apache/fineract/cn/payroll/api/0.1.0-BUILD-SNAPSHOT/maven-metadata.xml
> >
> > Looking at the created local clones, which the script does, the
> cn-payroll
> > directory does not get created, and neither do any of the following ones
> > for teller, reporting, notifications.
> >
> > Thanks,
> > - James
> >
>

Re: Fineract-CN getting to a build or get hosted

Posted by Myrle Krantz <my...@apache.org>.
Hey James,

So to be honest, I don't use the script.  And once it has failed, it isn't
built to be self-repairing as far as I can tell.  Let's just get the
demo-server build working on your machine, and then maybe you can go back
and figure out why the script isn't working in your environment and maybe
make a PR.

Have you tried the following?
> cd <the_directory_you're_keeping_your_fineract_repos_in>
> git clone https://github.com/jdailey/fineract-cn-payroll  # this is where
I believe you've reached successfully
> cd fineract-cn-payroll
> ./gradlew publishToMavenLocal                             # this is what
appears to have failed at some point here.

That last command should publish the two artifacts in payroll (api and
service) to your local artifactory.  Presumably this is what has failed at
some point on your machine.  What error message do you get when you try to
execute that?

(Please keep in mind, I haven't used a Mac computer since high school, so
you may have to "re-interpret" some of those commands for your environment.)

Best Regards,
Myrle



On Wed, Oct 31, 2018 at 7:51 PM James Dailey <ja...@gmail.com> wrote:

> Myrle -
>
> I think something else is going on... with the script.
>
> When I watch it doing the Build, it is skipping over certain repos, and so
> I'm trying to figure out where it is failing.
>
> So, I commented out one of the repos in the script which seems to be a
> problem for gradle and also split these repo builds into different calls of
> get_modules()
>
> ... script:  initial-setup.sh
>
> get_modules fineract-cn-anubis fineract-cn-identity
> fineract-cn-permitted-feign-client fineract-cn-provisioner
> fineract-cn-rhythm
>
> #get modules fineract-cn-template
>
> get modules fineract-cn-office fineract-cn-customer fineract-cn-group
> fineract-cn-accounting fineract-cn-portfolio
>
> get modules fineract-cn-deposit-account-management fineract-cn-cheques
>
> get modules fineract-cn-payroll fineract-cn-teller fineract-cn-reporting
> fineract-cn-notifications
>
> ....
>
> get_modules() {
>
>   for module in $@
>
>   do
>
>     git clone https://github.com/$githubAccount/$module.git
>
>     cd $module
>
>     git remote add upstream https://github.com/apache/$module.git
>
>     # For some reason permission gets denied
>
>     chmod +x gradlew
>
>     ./gradlew publishToMavenLocal
>
>     cd ..
>
>   done
>
> }
>
> Anyway, this solves some of the issues but /and, I still have a build
> FAILURE , about missing payroll api
>
> Payroll is available in my git hub:
> https://github.com/jdailey/fineract-cn-payroll
>
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
>
> Could not resolve all dependencies for configuration
> ':detachedConfiguration5'.
>
> > Could not find org.apache.fineract.cn.payroll:api:0.1.0-BUILD-SNAPSHOT.
>
>   Searched in the following locations:
>
>
>
> https://jcenter.bintray.com/org/apache/fineract/cn/payroll/api/0.1.0-BUILD-SNAPSHOT/maven-metadata.xml
>
> Looking at the created local clones, which the script does, the cn-payroll
> directory does not get created, and neither do any of the following ones
> for teller, reporting, notifications.
>
> Thanks,
> - James
>

Re: Fineract-CN getting to a build or get hosted

Posted by James Dailey <ja...@gmail.com>.
Myrle -

I think something else is going on... with the script.

When I watch it doing the Build, it is skipping over certain repos, and so
I'm trying to figure out where it is failing.

So, I commented out one of the repos in the script which seems to be a
problem for gradle and also split these repo builds into different calls of
get_modules()

... script:  initial-setup.sh

get_modules fineract-cn-anubis fineract-cn-identity
fineract-cn-permitted-feign-client fineract-cn-provisioner
fineract-cn-rhythm

#get modules fineract-cn-template

get modules fineract-cn-office fineract-cn-customer fineract-cn-group
fineract-cn-accounting fineract-cn-portfolio

get modules fineract-cn-deposit-account-management fineract-cn-cheques

get modules fineract-cn-payroll fineract-cn-teller fineract-cn-reporting
fineract-cn-notifications

....

get_modules() {

  for module in $@

  do

    git clone https://github.com/$githubAccount/$module.git

    cd $module

    git remote add upstream https://github.com/apache/$module.git

    # For some reason permission gets denied

    chmod +x gradlew

    ./gradlew publishToMavenLocal

    cd ..

  done

}

Anyway, this solves some of the issues but /and, I still have a build
FAILURE , about missing payroll api

Payroll is available in my git hub:
https://github.com/jdailey/fineract-cn-payroll


FAILURE: Build failed with an exception.

* What went wrong:

Could not resolve all dependencies for configuration
':detachedConfiguration5'.

> Could not find org.apache.fineract.cn.payroll:api:0.1.0-BUILD-SNAPSHOT.

  Searched in the following locations:


https://jcenter.bintray.com/org/apache/fineract/cn/payroll/api/0.1.0-BUILD-SNAPSHOT/maven-metadata.xml

Looking at the created local clones, which the script does, the cn-payroll
directory does not get created, and neither do any of the following ones
for teller, reporting, notifications.

Thanks,
- James

On Wed, Oct 31, 2018 at 1:58 AM Myrle Krantz <my...@apache.org> wrote:

> Hey James,
>
> From your pastebin:
>
> "Could not find org.apache.fineract.cn.payroll:api:0.1.0-BUILD-SNAPSHOT.
>   Searched in the following locations:
>
> https://jcenter.bintray.com/org/apache/fineract/cn/payroll/api/0.1.0-BUILD-SNAPSHOT/maven-metadata.xml
>
> https://jcenter.bintray.com/org/apache/fineract/cn/payroll/api/0.1.0-BUILD-SNAPSHOT/api-0.1.0-BUILD-SNAPSHOT.pom
>
> https://jcenter.bintray.com/org/apache/fineract/cn/payroll/api/0.1.0-BUILD-SNAPSHOT/api-0.1.0-BUILD-SNAPSHOT.jar
>
> file:/Users/jamesdailey/.m2/repository/org/apache/fineract/cn/payroll/api/0.1.0-BUILD-SNAPSHOT/maven-metadata.xml
>
> file:/Users/jamesdailey/.m2/repository/org/apache/fineract/cn/payroll/api/0.1.0-BUILD-SNAPSHOT/api-0.1.0-BUILD-SNAPSHOT.pom
>
> file:/Users/jamesdailey/.m2/repository/org/apache/fineract/cn/payroll/api/0.1.0-BUILD-SNAPSHOT/api-0.1.0-BUILD-SNAPSHOT.jar
>   Required by:
>       project :"
>
> Have you cloned and locally published payroll?
>
> Best Regards,
> Myrle
>
> P.S.  For little things like this, pastebin is both unnecessary and
> problematic.  It means important information gets moved "offlist"
> where people with the same problem can't use our lists to search for a
> solution.
>
> On Tue, Oct 30, 2018 at 11:01 PM James Dailey <ja...@gmail.com>
> wrote:
> >
> > Awasum - yep. Missed that.  Thanks.
> >
> > Ok. with java 1.8 JDK installed I made good progress.  Build successful.
> > Then Failed on the demo server and fims.
> >
> > Then some Build failures... help please.
> > https://pastebin.com/cHE2kgjj
> >
> > James
> >
> > On Mon, Oct 29, 2018 at 10:49 PM Awasum Yannick <aw...@apache.org>
> wrote:
> >
> > > Hello James,
> > >
> > > Use Java 1.8 (Java 8)
> > >
> > > On Tue, Oct 30, 2018 at 6:32 AM James Dailey <ja...@gmail.com>
> > > wrote:
> > >
> > > > FIRST...
> > > > I'm trying to follow the instructions to get to a build, per
> > > >
> > > >
> > >
> https://cwiki.apache.org/confluence/display/FINERACT/How+To+Build+Apache+Fineract+CN
> > > > .
> > > > I will provide some feedback on this if I can get further, but at the
> > > > moment the Builds are failing.
> > > >
> > > > I wonder if anyone has had issues with this script
> > > > <
> > > >
> > >
> https://github.com/apache/fineract-cn-demo-server/blob/develop/scripts/Unix/initial-setup.sh
> > > > >
> > > >  and the builds of each of the microservices and how to troubleshoot?
> > > >
> > > > I keep getting an error during "* Configuring > 0/1 projects > root
> > > project
> > > > > Resolving dependencies ':classpath'"   *
> > > > for each of the builds (I think it would be the script line: >
> /gradlew
> > > > publishToMavenLocal )
> > > >
> > > > https://pastebin.com/XHz4JZQg  for output
> > > >
> > > > I think I skipped this step:  "Ensure that artifacts are in
> > > > $USER_HOME/.m2/repository"
> > > > ,
> > > >
> > > > $USER_HOME/.m2 exists but is empty
> > > >
> > > > When/how is the repository supposed to be created?
> > > >
> > > >
> > > > Macintosh-2:fineractCN jamesdailey$ mvn -version
> > > >
> > > > *Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
> > > > 2018-06-17T11:33:14-07:00)*
> > > >
> > > > Maven home: /usr/local/Cellar/maven/3.5.4/libexec
> > > >
> > > > Java version: 1.7.0_79, vendor: Oracle Corporation, runtime:
> > > > /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre
> > > >
> > > > Default locale: en_US, platform encoding: UTF-8
> > > >
> > > > OS name: "mac os x", version: "10.13.6", arch: "x86_64", family:
> "mac"
> > > > ---
> > > > SECOND...
> > > > At the end of the day, what I am really trying to get to is a
> deployment
> > > of
> > > > Fineract-CN with a server on AWS or Google or other hosted
> > > infrastructure.
> > > > This makes me think I should follow
> > > >
> > > >
> > >
> https://cwiki.apache.org/confluence/display/FINERACT/Containerizing+Fineract+CN
> > > > to get to a run time version.
> > > >
> > > > The key think I would like to get is a set of basic APIs visible so
> that
> > > > other devs (I have a small group I would like to bring into the
> project)
> > > > can do some basic app work, and that might hopefully extend
> > > > https://github.com/apache/fineract-cn-fims-web-app  . Additional
> > > > microservices may be needed.
> > > >
> > > > Thanks
> > > >
> > >
>

Re: Fineract-CN getting to a build or get hosted

Posted by Myrle Krantz <my...@apache.org>.
Hey James,

From your pastebin:

"Could not find org.apache.fineract.cn.payroll:api:0.1.0-BUILD-SNAPSHOT.
  Searched in the following locations:
      https://jcenter.bintray.com/org/apache/fineract/cn/payroll/api/0.1.0-BUILD-SNAPSHOT/maven-metadata.xml
      https://jcenter.bintray.com/org/apache/fineract/cn/payroll/api/0.1.0-BUILD-SNAPSHOT/api-0.1.0-BUILD-SNAPSHOT.pom
      https://jcenter.bintray.com/org/apache/fineract/cn/payroll/api/0.1.0-BUILD-SNAPSHOT/api-0.1.0-BUILD-SNAPSHOT.jar
      file:/Users/jamesdailey/.m2/repository/org/apache/fineract/cn/payroll/api/0.1.0-BUILD-SNAPSHOT/maven-metadata.xml
      file:/Users/jamesdailey/.m2/repository/org/apache/fineract/cn/payroll/api/0.1.0-BUILD-SNAPSHOT/api-0.1.0-BUILD-SNAPSHOT.pom
      file:/Users/jamesdailey/.m2/repository/org/apache/fineract/cn/payroll/api/0.1.0-BUILD-SNAPSHOT/api-0.1.0-BUILD-SNAPSHOT.jar
  Required by:
      project :"

Have you cloned and locally published payroll?

Best Regards,
Myrle

P.S.  For little things like this, pastebin is both unnecessary and
problematic.  It means important information gets moved "offlist"
where people with the same problem can't use our lists to search for a
solution.

On Tue, Oct 30, 2018 at 11:01 PM James Dailey <ja...@gmail.com> wrote:
>
> Awasum - yep. Missed that.  Thanks.
>
> Ok. with java 1.8 JDK installed I made good progress.  Build successful.
> Then Failed on the demo server and fims.
>
> Then some Build failures... help please.
> https://pastebin.com/cHE2kgjj
>
> James
>
> On Mon, Oct 29, 2018 at 10:49 PM Awasum Yannick <aw...@apache.org> wrote:
>
> > Hello James,
> >
> > Use Java 1.8 (Java 8)
> >
> > On Tue, Oct 30, 2018 at 6:32 AM James Dailey <ja...@gmail.com>
> > wrote:
> >
> > > FIRST...
> > > I'm trying to follow the instructions to get to a build, per
> > >
> > >
> > https://cwiki.apache.org/confluence/display/FINERACT/How+To+Build+Apache+Fineract+CN
> > > .
> > > I will provide some feedback on this if I can get further, but at the
> > > moment the Builds are failing.
> > >
> > > I wonder if anyone has had issues with this script
> > > <
> > >
> > https://github.com/apache/fineract-cn-demo-server/blob/develop/scripts/Unix/initial-setup.sh
> > > >
> > >  and the builds of each of the microservices and how to troubleshoot?
> > >
> > > I keep getting an error during "* Configuring > 0/1 projects > root
> > project
> > > > Resolving dependencies ':classpath'"   *
> > > for each of the builds (I think it would be the script line: > /gradlew
> > > publishToMavenLocal )
> > >
> > > https://pastebin.com/XHz4JZQg  for output
> > >
> > > I think I skipped this step:  "Ensure that artifacts are in
> > > $USER_HOME/.m2/repository"
> > > ,
> > >
> > > $USER_HOME/.m2 exists but is empty
> > >
> > > When/how is the repository supposed to be created?
> > >
> > >
> > > Macintosh-2:fineractCN jamesdailey$ mvn -version
> > >
> > > *Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
> > > 2018-06-17T11:33:14-07:00)*
> > >
> > > Maven home: /usr/local/Cellar/maven/3.5.4/libexec
> > >
> > > Java version: 1.7.0_79, vendor: Oracle Corporation, runtime:
> > > /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre
> > >
> > > Default locale: en_US, platform encoding: UTF-8
> > >
> > > OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"
> > > ---
> > > SECOND...
> > > At the end of the day, what I am really trying to get to is a deployment
> > of
> > > Fineract-CN with a server on AWS or Google or other hosted
> > infrastructure.
> > > This makes me think I should follow
> > >
> > >
> > https://cwiki.apache.org/confluence/display/FINERACT/Containerizing+Fineract+CN
> > > to get to a run time version.
> > >
> > > The key think I would like to get is a set of basic APIs visible so that
> > > other devs (I have a small group I would like to bring into the project)
> > > can do some basic app work, and that might hopefully extend
> > > https://github.com/apache/fineract-cn-fims-web-app  . Additional
> > > microservices may be needed.
> > >
> > > Thanks
> > >
> >

Re: Fineract-CN getting to a build or get hosted

Posted by James Dailey <ja...@gmail.com>.
Awasum - yep. Missed that.  Thanks.

Ok. with java 1.8 JDK installed I made good progress.  Build successful.
Then Failed on the demo server and fims.

Then some Build failures... help please.
https://pastebin.com/cHE2kgjj

James

On Mon, Oct 29, 2018 at 10:49 PM Awasum Yannick <aw...@apache.org> wrote:

> Hello James,
>
> Use Java 1.8 (Java 8)
>
> On Tue, Oct 30, 2018 at 6:32 AM James Dailey <ja...@gmail.com>
> wrote:
>
> > FIRST...
> > I'm trying to follow the instructions to get to a build, per
> >
> >
> https://cwiki.apache.org/confluence/display/FINERACT/How+To+Build+Apache+Fineract+CN
> > .
> > I will provide some feedback on this if I can get further, but at the
> > moment the Builds are failing.
> >
> > I wonder if anyone has had issues with this script
> > <
> >
> https://github.com/apache/fineract-cn-demo-server/blob/develop/scripts/Unix/initial-setup.sh
> > >
> >  and the builds of each of the microservices and how to troubleshoot?
> >
> > I keep getting an error during "* Configuring > 0/1 projects > root
> project
> > > Resolving dependencies ':classpath'"   *
> > for each of the builds (I think it would be the script line: > /gradlew
> > publishToMavenLocal )
> >
> > https://pastebin.com/XHz4JZQg  for output
> >
> > I think I skipped this step:  "Ensure that artifacts are in
> > $USER_HOME/.m2/repository"
> > ,
> >
> > $USER_HOME/.m2 exists but is empty
> >
> > When/how is the repository supposed to be created?
> >
> >
> > Macintosh-2:fineractCN jamesdailey$ mvn -version
> >
> > *Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
> > 2018-06-17T11:33:14-07:00)*
> >
> > Maven home: /usr/local/Cellar/maven/3.5.4/libexec
> >
> > Java version: 1.7.0_79, vendor: Oracle Corporation, runtime:
> > /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre
> >
> > Default locale: en_US, platform encoding: UTF-8
> >
> > OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"
> > ---
> > SECOND...
> > At the end of the day, what I am really trying to get to is a deployment
> of
> > Fineract-CN with a server on AWS or Google or other hosted
> infrastructure.
> > This makes me think I should follow
> >
> >
> https://cwiki.apache.org/confluence/display/FINERACT/Containerizing+Fineract+CN
> > to get to a run time version.
> >
> > The key think I would like to get is a set of basic APIs visible so that
> > other devs (I have a small group I would like to bring into the project)
> > can do some basic app work, and that might hopefully extend
> > https://github.com/apache/fineract-cn-fims-web-app  . Additional
> > microservices may be needed.
> >
> > Thanks
> >
>

Re: Fineract-CN getting to a build or get hosted

Posted by Awasum Yannick <aw...@apache.org>.
Hello James,

Use Java 1.8 (Java 8)

On Tue, Oct 30, 2018 at 6:32 AM James Dailey <ja...@gmail.com> wrote:

> FIRST...
> I'm trying to follow the instructions to get to a build, per
>
> https://cwiki.apache.org/confluence/display/FINERACT/How+To+Build+Apache+Fineract+CN
> .
> I will provide some feedback on this if I can get further, but at the
> moment the Builds are failing.
>
> I wonder if anyone has had issues with this script
> <
> https://github.com/apache/fineract-cn-demo-server/blob/develop/scripts/Unix/initial-setup.sh
> >
>  and the builds of each of the microservices and how to troubleshoot?
>
> I keep getting an error during "* Configuring > 0/1 projects > root project
> > Resolving dependencies ':classpath'"   *
> for each of the builds (I think it would be the script line: > /gradlew
> publishToMavenLocal )
>
> https://pastebin.com/XHz4JZQg  for output
>
> I think I skipped this step:  "Ensure that artifacts are in
> $USER_HOME/.m2/repository"
> ,
>
> $USER_HOME/.m2 exists but is empty
>
> When/how is the repository supposed to be created?
>
>
> Macintosh-2:fineractCN jamesdailey$ mvn -version
>
> *Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
> 2018-06-17T11:33:14-07:00)*
>
> Maven home: /usr/local/Cellar/maven/3.5.4/libexec
>
> Java version: 1.7.0_79, vendor: Oracle Corporation, runtime:
> /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre
>
> Default locale: en_US, platform encoding: UTF-8
>
> OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"
> ---
> SECOND...
> At the end of the day, what I am really trying to get to is a deployment of
> Fineract-CN with a server on AWS or Google or other hosted infrastructure.
> This makes me think I should follow
>
> https://cwiki.apache.org/confluence/display/FINERACT/Containerizing+Fineract+CN
> to get to a run time version.
>
> The key think I would like to get is a set of basic APIs visible so that
> other devs (I have a small group I would like to bring into the project)
> can do some basic app work, and that might hopefully extend
> https://github.com/apache/fineract-cn-fims-web-app  . Additional
> microservices may be needed.
>
> Thanks
>