Search code examples
includeduplicatesidentifierliquibase

Liquibase duplicate identifiers using inclueAll tag


I'm new to liquibase and trying to setup a working solution for our software. At the moment i'm struggling with the 'includeAll' tag for the master changelog.

If i'm using includeAll it allways says:

Validation Error: 1 change sets had duplicate identifiers install/data/changelog-data.xml::1::wild.a Liquibase 'validate' Successful

The whole files to reproduce are included in the database.zip which can be downloaded here: https://docs.google.com/file/d/0B8W-n_j7omQ4UUhzQjdrdnlMdk0/edit?usp=sharing

You only have to modify liquibase.properties.

The curious thing is that the following line work:

<include relativeToChangelogFile="true" file="install/data/changelog-data.xml"/>

While this line won't work:

<includeAll relativeToChangelogFile="true" path="install/data/"/>

The question is how to use includeAll to work without having duplicate identifiers.

Thanks in advance.


Solution

  • It is a bug in 3.0.0 that has been fixed in 3.0.2.