Skip to content

Commit

Permalink
Flyway upgrade 10
Browse files Browse the repository at this point in the history
  • Loading branch information
jonesbusy committed Dec 20, 2023
1 parent d972f3f commit d7180d0
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/jenkins-security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
uses: jenkins-infra/jenkins-security-scan/.github/workflows/jenkins-security-scan.yaml@v2
with:
java-cache: 'maven' # Optionally enable use of a build dependency cache. Specify 'maven' or 'gradle' as appropriate.
java-version: 11 # What version of Java to set up for the build.
java-version: 17 # What version of Java to set up for the build.
30 changes: 23 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@
<url>https://github.com/${gitHubRepo}</url>
</scm>
<properties>
<revision>9.22.3</revision>

<!-- Due to flyway 10 core requiring minimum 17 -->
<maven.compiler.release>17</maven.compiler.release>
<maven.compiler.testRelease>17</maven.compiler.testRelease>

<revision>10.3.0</revision>
<changelist>999999-SNAPSHOT</changelist>
<jenkins.version>2.414.3</jenkins.version>
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
Expand Down Expand Up @@ -58,6 +63,11 @@
<version>${revision}</version>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-database-postgresql</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-mysql</artifactId>
Expand Down Expand Up @@ -88,7 +98,18 @@
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-database-postgresql</artifactId>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-mysql</artifactId>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>jackson2-api</artifactId>
</dependency>
<!-- Test dependencies -->
<dependency>
<groupId>io.jenkins.plugins</groupId>
Expand All @@ -109,11 +130,6 @@
<artifactId>postgresql-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-mysql</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>mariadb</artifactId>
Expand Down

0 comments on commit d7180d0

Please sign in to comment.