@ -41,6 +41,8 @@ import com.googlecode.flyway.core.Flyway;
* {@link EnableAutoConfiguration Auto-configuration} for Flyway database migrations.
*
* @author Dave Syer
* @since 1.1.0
*/
@Configuration
@ConditionalOnClass(Flyway.class)
@ -26,6 +26,8 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
* Configuration properties for Flyway database migrations.
@ConfigurationProperties(prefix = "flyway", ignoreUnknownFields = false)
public class FlywayProperties {
@ -41,6 +41,8 @@ import org.springframework.util.Assert;
* {@link EnableAutoConfiguration Auto-configuration} for Liquibase.
* @author Marcel Overdijk
@ConditionalOnClass(SpringLiquibase.class)
* Configuration properties to configure {@link SpringLiquibase}.
@ConfigurationProperties(prefix = "liquibase", ignoreUnknownFields = false)
public class LiquibaseProperties {
@ -35,7 +35,7 @@ public class JvmUtilsTests {
@Test
public void getToolsJar() throws Exception {
URL jarUrl = JvmUtils.getToolsJarUrl();
System.out.println(jarUrl);
// System.out.println(jarUrl);
assertThat(jarUrl.toString(), endsWith(".jar"));
assertThat(new File(jarUrl.toURI()).exists(), equalTo(true));
}