| 组织ID: |
org.flywaydb.flyway-test-extensions |
| 项目ID: |
flyway-spring-test |
| 版本: |
6.1.0 |
| 最后修改时间: |
2020-03-03 03:54:18 |
| 包类型: |
jar |
| 标题: |
${project.artifactId} |
| 描述: |
Implementation test support for Flyway based on springframework.
Work together with Junit4, Junit5 or TestNG.
|
| 大小: |
22.26KB |
|
|
| Maven引入代码: |
<dependency>
<groupId>org.flywaydb.flyway-test-extensions</groupId>
<artifactId>flyway-spring-test</artifactId>
<version>6.1.0</version>
</dependency>
|
| Gradle引入代码: |
org.flywaydb.flyway-test-extensions:flyway-spring-test:6.1.0
|
| 下载Jar包: |
|
| POM文件内容: |
<!--
Copyright (C) 2011-2019 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>
<parent>
<groupId>org.flywaydb.flyway-test-extensions</groupId>
<artifactId>parent</artifactId>
<version>6.1.0</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
<artifactId>flyway-spring-test</artifactId>
<name>${project.artifactId}</name>
<description>
Implementation test support for Flyway based on springframework.
Work together with Junit4, Junit5 or TestNG.
</description>
<packaging>jar</packaging>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>org.flywaydb.flyway-test-extensions</groupId>
<artifactId>flyway-test</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${version.spring}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${version.spring}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${version.spring}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.4.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
</plugins>
</build>
<profiles>
<profile>
<id>h2-test</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<jdbc.driver>org.h2.Driver</jdbc.driver>
<jdbc.url>jdbc:h2:nio:${project.build.directory}/db/flywaytest.db</jdbc.url>
<jdbc.username>h2_test</jdbc.username>
<jdbc.password>h2_test</jdbc.password>
<flyway.locations>/basetest</flyway.locations>
<flyway.driver>org.h2.Driver</flyway.driver>
<flyway.url>jdbc:h2:nio:${project.build.directory}/db/flywaytest.db</flyway.url>
<flyway.user>h2_test</flyway.user>
<flyway.password>h2_test</flyway.password>
<jdbc2.driver>org.h2.Driver</jdbc2.driver>
<jdbc2.url>jdbc:h2:nio:${project.build.directory}/db/flywaytest2.db</jdbc2.url>
<jdbc2.username>h2_test</jdbc2.username>
<jdbc2.password>h2_test</jdbc2.password>
<flyway2.locations>/basetest2</flyway2.locations>
<flyway2.driver>org.h2.Driver</flyway2.driver>
<flyway2.url>jdbc:h2:nio:${project.build.directory}/db/flywaytest2.db</flyway2.url>
<flyway2.user>h2_test</flyway2.user>
<flyway2.password>h2_test</flyway2.password>
</systemPropertyVariables>
<includes>
<include>**/*JUnitTest.java</include>
</includes>
<threadCount>1</threadCount>
<runOrder>alphabetical</runOrder>
<perCoreThreadCount>false</perCoreThreadCount>
<redirectTestOutputToFile>false</redirectTestOutputToFile>
</configuration>
<goals>
<goal>test</goal>
</goals>
<executions>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>oracle-test</id>
<dependencies>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc5</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<jdbc.driver>oracle.jdbc.driver.OracleDriver</jdbc.driver>
<jdbc.url>jdbc:oracle:thin:@localhost:1521/XE</jdbc.url>
<jdbc.username>OC_TEST</jdbc.username>
<jdbc.password>OC_TEST</jdbc.password>
<flyway.locations>basetest</flyway.locations>
<flyway.driver>oracle.jdbc.driver.OracleDriver</flyway.driver>
<flyway.url>jdbc:oracle:thin:@localhost:1521/XE</flyway.url>
<flyway.user>OC_TEST</flyway.user>
<flyway.password>OC_TEST</flyway.password>
</systemPropertyVariables>
<includes>
<include>**/*JUnitTest.java</include>
</includes>
<threadCount>1</threadCount>
<runOrder>alphabetical</runOrder>
<perCoreThreadCount>false</perCoreThreadCount>
<redirectTestOutputToFile>false</redirectTestOutputToFile>
</configuration>
<goals>
<goal>test</goal>
</goals>
<executions>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
|
| Jar包内容: |
META-INF/MANIFEST.MF
context/dataSourceSingleContext.xml
context/flywayContainerContext.xml
context/flywayPropertiesContext.xml
context/flywaySingleContext.xml
context/secondFlywayContainerContext.xml
context/simple_applicationContext.xml
flyway.default.properties
org.flywaydb.test.junit5.annotation.FlywayTestExtension.class
org.flywaydb.test.junit5.FlywayTestExtension.class
org.flywaydb.test.FlywayHelperFactory.class
org.flywaydb.test.junit.FlywayTestExecutionListener.class
org.flywaydb.test.junit.FlywayHelperFactory.class
org.flywaydb.test.FlywayTestExecutionListener.class
org.flywaydb.test.ExecutionListenerHelper.class
META-INF/maven/org.flywaydb.flyway-test-extensions/flyway-spring-test/pom.xml
META-INF/maven/org.flywaydb.flyway-test-extensions/flyway-spring-test/pom.properties
|
| 依赖Jar: |
flyway-test-${project.version}.jar
/org.flywaydb.flyway-test-extensions/flyway-test/${project.version}
查看flyway-test所有版本文件
spring-test-${version.spring}.jar
/org.springframework/spring-test/${version.spring}
查看spring-test所有版本文件
spring-context-${version.spring}.jar
/org.springframework/spring-context/${version.spring}
查看spring-context所有版本文件
spring-jdbc-${version.spring}.jar
/org.springframework/spring-jdbc/${version.spring}
查看spring-jdbc所有版本文件
junit-jupiter-api-5.4.0.jar
/org.junit.jupiter/junit-jupiter-api/5.4.0
查看junit-jupiter-api所有版本文件
|