Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/update dependency #106

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion flyway-test-extensions/flyway-dbunit-spring4-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>org.flywaydb.flyway-test-extensions</groupId>
<artifactId>parent</artifactId>
<version>9.0.0-SNAPSHOT</version>
<version>9.22.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion flyway-test-extensions/flyway-dbunit-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>org.flywaydb.flyway-test-extensions</groupId>
<artifactId>parent</artifactId>
<version>9.0.0-SNAPSHOT</version>
<version>9.22.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion flyway-test-extensions/flyway-spring-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.flywaydb.flyway-test-extensions</groupId>
<artifactId>parent</artifactId>
<version>9.0.0-SNAPSHOT</version>
<version>9.22.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion flyway-test-extensions/flyway-spring4-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>org.flywaydb.flyway-test-extensions</groupId>
<artifactId>parent</artifactId>
<version>9.0.0-SNAPSHOT</version>
<version>9.22.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion flyway-test-extensions/flyway-spring5-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>org.flywaydb.flyway-test-extensions</groupId>
<artifactId>parent</artifactId>
<version>9.0.0-SNAPSHOT</version>
<version>9.22.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion flyway-test-extensions/flyway-spring6-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>org.flywaydb.flyway-test-extensions</groupId>
<artifactId>parent</artifactId>
<version>9.0.0-SNAPSHOT</version>
<version>9.22.0-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.flywaydb.flyway-test-extensions.samples</groupId>
<artifactId>flyway-test-samples-parent</artifactId>
<version>9.0.0-SNAPSHOT</version>
<version>9.22.0-SNAPSHOT</version>
<relativePath>../../flyway-test-samples-parent/pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.flywaydb.flyway-test-extensions.samples</groupId>
<artifactId>flyway-test-samples-parent</artifactId>
<version>9.0.0-SNAPSHOT</version>
<version>9.22.0-SNAPSHOT</version>
<relativePath>../../flyway-test-samples-parent/pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
<parent>
<groupId>org.flywaydb.flyway-test-extensions.samples</groupId>
<artifactId>flyway-test-samples-parent</artifactId>
<version>9.0.0-SNAPSHOT</version>
<version>9.22.0-SNAPSHOT</version>
<relativePath>../flyway-test-samples-parent/pom.xml</relativePath>
</parent>

<groupId>org.flywaydb.flyway-test-extensions.samples.dbunit</groupId>
<artifactId>flyway-test-dbunit-samples</artifactId>
<version>9.0.0-SNAPSHOT</version>
<version>9.22.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
<description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.flywaydb.flyway-test-extensions.samples</groupId>
<artifactId>flyway-test-samples-parent</artifactId>
<version>9.0.0-SNAPSHOT</version>
<version>9.22.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
<description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.flywaydb.flyway-test-extensions.samples</groupId>
<artifactId>flyway-test-samples-parent</artifactId>
<version>9.0.0-SNAPSHOT</version>
<version>9.22.0-SNAPSHOT</version>
<relativePath>../../flyway-test-samples-parent/pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.flywaydb.flyway-test-extensions.samples</groupId>
<artifactId>flyway-test-samples-parent</artifactId>
<version>9.0.0-SNAPSHOT</version>
<version>9.22.0-SNAPSHOT</version>
<relativePath>../../../flyway-test-samples-parent/pom.xml</relativePath>
</parent>

Expand All @@ -46,7 +46,7 @@
<dependency>
<groupId>org.flywaydb.flyway-test-extensions</groupId>
<artifactId>flyway-spring-test</artifactId>
<version>9.0.0-SNAPSHOT</version>
<version>9.22.0-SNAPSHOT</version>
<scope>test</scope>
<exclusions>
<exclusion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.flywaydb.flyway-test-extensions.samples</groupId>
<artifactId>flyway-test-samples-parent</artifactId>
<version>9.0.0-SNAPSHOT</version>
<version>9.22.0-SNAPSHOT</version>
<relativePath>../../../flyway-test-samples-parent/pom.xml</relativePath>
</parent>

Expand All @@ -45,7 +45,7 @@
<dependency>
<groupId>org.flywaydb.flyway-test-extensions</groupId>
<artifactId>flyway-spring-test</artifactId>
<version>9.0.0-SNAPSHOT</version>
<version>9.22.0-SNAPSHOT</version>
<scope>test</scope>
<exclusions>
<exclusion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<version>9.0.0-SNAPSHOT</version>
<version>9.22.0-SNAPSHOT</version>

<artifactId>flyway-test-sample-spring-boot-3-0</artifactId>
<name>Sample Flyway-Test-Extension Spring Boot 3.0 and Flyway 9</name>
Expand All @@ -30,15 +30,15 @@
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>

<spring.boot.version>3.0.5</spring.boot.version>
<spring.version>6.0.7</spring.version>
<flyway.version>9.16.1</flyway.version>
<spring.boot.version>3.0.11</spring.boot.version>
<spring.version>6.0.12</spring.version>
<flyway.version>9.22.2</flyway.version>
</properties>

<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.0.5</version>
<version>3.0.11</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<dependencies>
Expand All @@ -62,7 +62,7 @@
<dependency>
<groupId>org.flywaydb.flyway-test-extensions</groupId>
<artifactId>flyway-spring-test</artifactId>
<version>9.0.0-SNAPSHOT</version>
<version>9.22.0-SNAPSHOT</version>
<scope>test</scope>
<exclusions>
<exclusion>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--

Copyright (C) 2011-2023 the original author or authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<version>9.22.0-SNAPSHOT</version>

<artifactId>flyway-test-sample-spring-boot-3-1</artifactId>
<name>Sample Flyway-Test-Extension Spring Boot 3.1 and Flyway 9</name>
<description>Sample Flyway-Test-Extension with Spring Boot 3.1.x</description>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>

<spring.boot.version>3.1.4</spring.boot.version>
<spring.version>6.0.12</spring.version>
<flyway.version>9.22.2</flyway.version>
</properties>

<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.4</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<dependencies>

<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
<version>${flyway.version}</version>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-log4j2</artifactId>
</dependency>

<dependency>
<groupId>org.flywaydb.flyway-test-extensions</groupId>
<artifactId>flyway-spring-test</artifactId>
<version>9.22.0-SNAPSHOT</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
</exclusion>
<exclusion>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<version>${spring.boot.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</exclusion>
</exclusions>

</dependency>

</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.version}</version>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<includes>
<include>**/*Tests.java</include>
<include>**/*Test.java</include>
</includes>
<excludes>
<exclude>**/Abstract*.java</exclude>
</excludes>
<systemPropertyVariables>
<java.security.egd>file:/dev/./urandom</java.security.egd>
<java.awt.headless>true</java.awt.headless>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
/**
* Copyright (C) 2011-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.flywaydb.sample.test.spring.boot31;

import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;

@Entity
class Person {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
private String firstName;
private String lastName;

public String getFirstName() {
return this.firstName;
}

public void setFirstName(String firstName) {
this.firstName = firstName;
}

public String getLastName() {
return this.lastName;
}

public void setLastName(String lastname) {
this.lastName = lastname;
}

@Override
public String toString() {
return "Person [firstName=" + this.firstName + ", lastName=" + this.lastName
+ "]";
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* Copyright (C) 2011-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.flywaydb.sample.test.spring.boot31;

import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface PersonRepository extends CrudRepository<Person, Long> {

}
Loading
Loading