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

Unknown configuration property: flyway.skip when property set to false or null #1869

Closed
pdudits opened this issue Dec 18, 2017 · 0 comments
Closed
Labels
Milestone

Comments

@pdudits
Copy link

@pdudits pdudits commented Dec 18, 2017

What version of Flyway are you using?

5.0.2

Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin, SBT plugin, ANT tasks)

Maven

What database are you using (type & version)?

Irrelevant

What operating system are you using?

Windows

What did you do?

(Please include the content causing the issue, any relevant configuration settings, and the command you ran)

<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>
    <groupId>org.flywaydb-bug</groupId>
    <artifactId>flyway-skip</artifactId>
    <version>5.0.2</version>
    <packaging>jar</packaging>
    <properties>
        <flyway.skip></flyway.skip><!-- or false -->
    </properties>
    <build>
        <plugins>
            <plugin>
                <groupId>org.flywaydb</groupId>
                <artifactId>flyway-maven-plugin</artifactId>
                <version>5.0.2</version>
                <executions>
                    <execution>
                        <id>test</id>
                        <goals>
                            <goal>migrate</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
What did you expect to see?

Flyway should execute the migration

What did you see instead?
Failed to execute goal org.flywaydb:flyway-maven-plugin:5.0.2:migrate (test) on project flyway-skip: 
org.flywaydb.core.api.FlywayException: Unknown configuration property: flyway.skip
@axelfontaine axelfontaine added this to the Flyway 5.0.3 milestone Dec 18, 2017
axelfontaine added a commit to flyway/flywaydb.org that referenced this issue Dec 18, 2017
dohrayme pushed a commit to dohrayme/flyway that referenced this issue Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants