Hello
I am trying to generate liquibase SQL with offline database for my prod env since we dont have access to update directly on prod.
Following is snippet of my execution:
MONGO process-sources ${project.basedir}/liquibase_generated_sql/${context}/mongo/${label}-${context}mongo.sql ${project.basedir}/liquibase_generated_sql/${context}/mongo/${label}-${context}mongo-rollback.sql src/main/resources/db/master.xml offline:mssql?changeLogFile=${project.basedir}/liquibase_generated_sql/${context}/changeloghistory/cs.csv&outputLiquibaseSql=data_only ${goal}when i execute updateSQL goal, i get following error
[ERROR] Failed to execute goal org.liquibase:liquibase-maven-plugin:4.7.1:updateSQL (MONGO) on project liquibase-mongo:
[ERROR] Error setting up or running Liquibase:
[ERROR] liquibase.exception.MigrationFailedException: Migration failed for change set src/main/resources/db/changelog/changelog-GNA-mongo.xml::2::pj:
[ERROR] Reason: liquibase.exception.DatabaseException: InsertOneStatement requires access to up to date database metadata which is not available in SQL output mode
Following is my changeset:
[ { "name": "ENGLISH", "address": "78" }, { "name": "MATHS", "address": "90" } ]can someone help how can i generate file with this changeset?