package org.liquibase.maven.plugins;

import java.io.File;

/**
 * Test class for the Liquibase Update Mojo.
 * <p>
 * Note that we need to run mvn test once to generate the Plugin artifacts
 * before we can run the UnitTest in the IDE.
 * 
 * @author Martin Meyer <martin.meyer@inftec.ch>
 *
 */
public class LiquibaseUpdateMojoExecutionTest extends AbstractLiquibaseMojoTest {
	/**
	 * Test the lookup of relative path names for changeLog 
	 */
	public void testRelativeClobFiles() throws Exception {
	  File pom = getTestFile("src/test/resources/update/relativeClobFiles/plugin_config.xml");
	  
	  LiquibaseUpdate update = (LiquibaseUpdate) lookupMojo("update", pom);
	  update.execute();
  }
}

@@ -588,19 +588,54 @@
 .xml%22);%0A
-%09  
+%0A%09%09if (!pom.exists()) %7B%0A%09%09%09return;%0A%09%09%7D
 %0A%09  Liqu

Test file missing