How do I build liquibase locally?

I am trying to build liquibase locally with the intent to do a "git bisect " on liquibase to find the commit between 4.23.0 and 4.23.1 where my Pax Exam test starts failing because it’s unable to aquire a changelog lock on a derby database.

But I’m not able to build liquibase locally.

I’m on a debian 12.3 “bookworm” system with amd64 and java 17.0.9 and maven 3.8.7.

What I’m trying to do is “mvn clean install” at the top and that fails with:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project liquibase-maven-plugin: Compilation failure: Compilation failure: [ERROR] /home/sb/workspaces/liquibase/liquibase/liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/AbstractLiquibaseMojo.java:[51,1] cannot find symbol [ERROR] symbol: static REGISTERED_VALUE_PROVIDERS_KEY [ERROR] location: class liquibase.configuration.LiquibaseConfiguration [ERROR] /home/sb/workspaces/liquibase/liquibase/liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/AbstractLiquibaseMojo.java:[651,61] cannot find symbol [ERROR] symbol: variable LOG_FORMAT [ERROR] location: class liquibase.integration.commandline.LiquibaseCommandLineConfiguration [ERROR] /home/sb/workspaces/liquibase/liquibase/liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/AbstractLiquibaseMojo.java:[652,28] cannot find symbol [ERROR] symbol: variable REGISTERED_VALUE_PROVIDERS_KEY [ERROR] location: class org.liquibase.maven.plugins.AbstractLiquibaseMojo [ERROR] /home/sb/workspaces/liquibase/liquibase/liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/AbstractLiquibaseMojo.java:[658,31] cannot find symbol [ERROR] symbol: method setFormatterOnHandler(liquibase.logging.LogService,java.util.logging.Handler) [ERROR] location: class liquibase.logging.core.JavaLogService [ERROR] /home/sb/workspaces/liquibase/liquibase/liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/AbstractLiquibaseMojo.java:[957,65] cannot find symbol [ERROR] symbol: method getExisting(java.lang.String) [ERROR] location: interface liquibase.resource.ResourceAccessor [ERROR] /home/sb/workspaces/liquibase/liquibase/liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/LiquibaseGenerateChangeLogMojo.java:[154,85] incompatible types: liquibase.CatalogAndSchema[] cannot be converted to java.lang.String [ERROR] /home/sb/workspaces/liquibase/liquibase/liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/LiquibaseDatabaseDiff.java:[264,37] no suitable method found for doDiffToChangeLog(java.lang.String,liquibase.database.Database,liquibase.database.Database,java.lang.String,liquibase.diff.output.DiffOutputControl,liquibase.diff.output.ObjectChangeFilter,java.lang.String,liquibase.diff.compare.CompareControl.SchemaComparison[]) [ERROR] method liquibase.integration.commandline.CommandLineUtils.doDiffToChangeLog(java.lang.String,liquibase.database.Database,liquibase.database.Database,liquibase.diff.output.DiffOutputControl,liquibase.diff.output.ObjectChangeFilter,java.lang.String) is not applicable [ERROR] (actual and formal argument lists differ in length) [ERROR] method liquibase.integration.commandline.CommandLineUtils.doDiffToChangeLog(java.lang.String,liquibase.database.Database,liquibase.database.Database,liquibase.diff.output.DiffOutputControl,liquibase.diff.output.ObjectChangeFilter,java.lang.String,liquibase.diff.compare.CompareControl.SchemaComparison[]) is not applicable [ERROR] (actual and formal argument lists differ in length) [ERROR] /home/sb/workspaces/liquibase/liquibase/liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/LiquibaseDatabaseDiff.java:[276,66] cannot find symbol [ERROR] symbol: variable FORMAT_ARG [ERROR] location: class liquibase.command.core.DiffCommandStep [ERROR] /home/sb/workspaces/liquibase/liquibase/liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/LiquibaseDatabaseDiff.java:[284,112] cannot find symbol [ERROR] symbol: method parseSnapshotTypes(java.lang.String) [ERROR] location: class liquibase.command.core.DiffCommandStep [ERROR] -> [Help 1]

I reported a gitlab issue for the problem I wanted to bisect: Starting with 4.23.1 liquibase fails to aquire lock on derby database in Pax Exam integration test · Issue #5357 · liquibase/liquibase · GitHub

I have same problem when trying to build actual master or branch v4.25.0 locally. Simple mvn clean install on root folder failed. With some attempts I was able build liquibase-core that I need for some attempt after change in src code.