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

dropFirst is ignored when defined in property files

$
0
0
I'm using the last liquibase version:
  1.         <dependency>
  2.             <groupId>org.liquibase</groupId>
  3.             <artifactId>liquibase-core</artifactId>
  4.             <version>3.2.0</version>
  5.         </dependency>
When I set it in property file:
  1. username: root
  2. password: admin
  3. verbose: true
  4. dropFirst: true
 I can see the following in the output:
  1. [INFO]     context(s): null
  2. [INFO]     number of changes to apply: 0
  3. [INFO]     drop first? false

When I set in in the maven plugin, configuration option:
  1.  <plugin>
  2.                 <groupId>org.liquibase</groupId>
  3.                 <artifactId>liquibase-maven-plugin</artifactId>
  4.                 <version>3.1.1</version>
  5.                 <configuration>
  6.                     ...
  7.                     <dropFirst>true</dropFirst>
It works as expected, In the output:
  1. [INFO] Settings----------------------------
  2. ...
  3. [INFO]     drop first? true

Viewing all articles
Browse latest Browse all 2993

Trending Articles