Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

databasechangelog schema ignored, mvn plugin 3.5.3+, postgres

$
0
0

Hey,
I've upgraded from liquibase 3.5.3 to 3.6.2 and db updates though liquibase-maven-plugin stopped working. It seems that schema for databasechangelog is ignored and it tries to look for it in default publicschema.

Config section and command that work in 3.5.3 and do not work in 3.6.2 anymore:

Command:
mvn -e liquibase:update -Dpsql.url=jdbc:postgresql://localhost:5433/postgres -Dpsql.user=xxx -Dpsql.password=xxx -Dpsql.schemaName=figure

Config section

            <plugin>
                <groupId>org.liquibase</groupId>
                <artifactId>liquibase-maven-plugin</artifactId>
                <version>3.6.2</version>
                <configuration>
                    <changeLogFile>${basedir}/src/db/resources/changel
og.xml</changeLogFile>
                    <driver>org.postgresql.Driver</driver>
                    <url>${psql.url}</url>
                    <username>${psql.user}</username>
                    <password>${psql.password}</password>
                    <defaultSchemaName>${psql.schemaName}</defaultSchemaName>
                    <changelogSchemaName>${psql.schemaName}</changelogSchemaName>
                    <promptOnNonLocalDatabase>false</promptOnNonLocalDatabase>
                </configuration>
            </plugin>

Postgres version: 9.6

Stacktrace is in attachement.


I've created a git issue https://github.com/liquibase/liquibase.github.com/issues/119, however I'm not sure whether it's the right place to put it.


Can it be fixed with some extra parameter or is it a bug in mvn plugin / liquibase?


Thanks


Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>