Working on #CORE-549 'relativeToChangelogFile'. Problems with testing changes


today I realised that I need/would like to be able to pass ‘loadData’ a file path relative to the changelog file (see

After I made what I thought were the necessary changes to trunk I decided to test that all was well, but I ran into the following problems:

  • 1. the trunk is currently broken. I get 6 test failures and 2 test errors. To work around this I have been using 'mvn package -DskipTests=true'
  • 2. to add the new attribute I need to update the "dbchangelog-2.0.xsd" file (in /liquibase/src/main/resources/liquibase/parser/core/xml/). However, those changes are not reflected in the jar "liquibase-2.0-rc2-SNAPSHOT-jar-with-deps.jar" (in /liquibase-dist/target/).

I’m assuming that #1 is due to the refactoring work that Nathan is doing with maven. But are my problems outlined in #2 due to #1 or am I missing a crucial step somewhere? I’ve assumed that the xsd files are handcrafted, but it could be that they are produced during the build process. All I know is that the changes I make to that file are not present in the jar that is produced by mvn package -DskipTests=true.

Any ideas?


Yes, the failing tests are probably due to some refactoring changes that haven’t been finished.  It’s probably also the cause of your xsd not being copied in.  I’ll look into why.  Thanks for reporting it, and for looking at 549