Setting classpath option for the liquibase maven plugin.

I run liquibase both via Spring context and via the liquibase maven plugin.


When I ran via Spring context, I refer to the changelog files as:

If I want to run the same via plugin, I have to edit paths manually:


I’d like to offer 2 options. 

  1. Add a possibility to understand the “classpath” name in the path and allow classpath setting in the plugin itself. At the moment my plugin config looks like:


  1.  
  2.                 org.liquibase
  3.                 liquibase-maven-plugin
  4.                 2.0.5
  5.                
  6.                    
  7.                    
  8.                     src/main/resources/db/config/liquibase-gensql-data-access.properties
  9.                     src/main/resources/db/changelog/db.changelog-master.xml
  10.                     src/main/resources/db/gen/migrate.sql
  11.                    
  12.                     info
  13.                     false
  14.                    
  15.                     true
  16.                
  17.            

Or, as an alternative opiton, add all maven src folders to the classpath. For example <span