Skip to content

Commit

Permalink
Bump org.flywaydb:flyway-core from 9.8.3 to 10.15.2 (#535)
Browse files Browse the repository at this point in the history
* Bump org.flywaydb:flyway-core from 9.8.3 to 10.15.2

Bumps [org.flywaydb:flyway-core](https://github.com/flyway/flyway) from 9.8.3 to 10.15.2.
- [Release notes](https://github.com/flyway/flyway/releases)
- [Commits](flyway/flyway@flyway-9.8.3...flyway-10.15.2)

---
updated-dependencies:
- dependency-name: org.flywaydb:flyway-core
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Read profile with override for java 11

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
zapodot and dependabot[bot] authored Jul 11, 2024
1 parent d329af7 commit c1b4ada
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 14 deletions.
15 changes: 15 additions & 0 deletions embedded-db-flyway/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,21 @@
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>add-flyway-hsqldb-module</id>
<activation>
<jdk>[17,)</jdk>
</activation>
<dependencies>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-database-hsqldb</artifactId>
<version>${flyway.version}</version>
</dependency>
</dependencies>
</profile>
</profiles>
<build>
<plugins>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package org.zapodot.junit.db.plugin;

import com.google.common.collect.ImmutableMap;
import org.flywaydb.core.internal.license.FlywayTeamsUpgradeRequiredException;
import org.junit.Test;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;

import java.nio.charset.StandardCharsets;

import static org.junit.Assert.*;
import static org.junit.jupiter.api.Assertions.*;

public class FlywayInitializerCheckConfigurationTest {

Expand All @@ -22,6 +22,7 @@ public class FlywayInitializerCheckConfigurationTest {
public static final String TARGET_VERSION = "2";
public static final String LOCATION = "classpath:placeholder";

@DisplayName("Test builder")
@Test
public void testBuilder() {
final FlywayInitializer flywayInitializer = new FlywayInitializer.Builder().withInstalledBy(INSTALLED_BY)
Expand Down Expand Up @@ -56,14 +57,4 @@ public void testBuilder() {

}

@Test
public void ignorePatterns() {
assertThrows(FlywayTeamsUpgradeRequiredException.class, () ->
FlywayInitializer.builder().withIgnoreMissingMigrations()
);

assertThrows(FlywayTeamsUpgradeRequiredException.class, () ->
FlywayInitializer.builder().withIgnoreMigrationPatterns("repeatable:missing")
);
}
}
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<properties>
<byte-buddy.version>1.14.18</byte-buddy.version>
<coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version>
<flyway.version>9.8.3</flyway.version>
<flyway.version>10.15.2</flyway.version>
<guava.version>33.2.1-jre</guava.version>
<h2.version>2.2.224</h2.version>
<hsqldb.version>2.7.3</hsqldb.version>
Expand Down Expand Up @@ -93,6 +93,7 @@
</activation>
<properties>
<spring-jdbc.version>5.3.37</spring-jdbc.version>
<flyway.version>9.22.3</flyway.version>
</properties>
</profile>
<profile>
Expand Down

0 comments on commit c1b4ada

Please sign in to comment.