Setting up liquibase locally in Intellij to contribute

Hi,
I am following Setup Dev Environment - contribute.liquibase.com and Getting setup with liquibase project on local workspace - #14 by chenmeister but facing issues in setting up liquibase locally to debug and contribute and eventually write custom extensions.

So main purpose is to do debug code which i want to contribute.

Following this and docs i have tried module classpath as liquibase-cli, liquibase-core but none of them worked.

Even recommendation to add log-level is not adding further logs to recommend what needs to be fixed.

Error coming is -

Unexpected error running Liquibase: Cannot invoke "liquibase.logging.mdc.MdcManager.put(String, String, boolean)" because the return value of "liquibase.Scope.getMdcManager()" is null

For more information, please use the --log-level flag

@archit13 have you taken a look at the extension guide we have at Your First Extension - contribute.liquibase.com

You should be able to jump in quickly via those docs and test your extension against the latest version of Liquibase.

Hi @admah yes i was able to run Your First Extension - contribute.liquibase.com via cli only though.

So before delving further into extensions first, i was trying to setup liquibase via IDE (Intellij) so that i can put debugger points to know how code is working it out.

Similarly post that thinking the same for extensions.
But failed at both of them.

Can someone help me further on this?
@admah would it be possible if you can check this out or share anything which I am missing?

@archit13 we are taking a look internally to make sure the instructions are right, and to see if there’s anything we can clarify further. I will follow-up on this thread as soon as I can.

Hi @admah were you able to confirm on this about the intellij setup for contributing code to liquibase?

@archit13 we discovered a couple of issues when starting a new install of core via maven(not specifically the same as yours), and are working to fix those. One of the related PRs is here: Getting started fixes by abrackx · Pull Request #6303 · liquibase/liquibase · GitHub. The other involves failing tests for our H2 db and is still being investigated.

Thanks @admah for looking this up, let me know when this is done and you are able to make it working via maven, so i can continue contributing to liquibase.

Hi @admah i see the PR was closed, is the issue resolved?