title: Flyway Maven Plugin Execute GOLS from external Config File
body: <p>Guys I'm using flyway on a spring boot project. <br> <br>
  When I start the application the migration scripts are executed correctly. <br><br>
  My migrations are in the folder: </p>
  
  <blockquote>
    <p>flyway.locations = db / migration / postgresql</p>
  </blockquote>
  
  <p>The problem occurs when I try to execute some purpose of fyway plugin maven from a configuration file. <br></p>
  
  <p>Configuration File:</p>
  
  <pre><code>flyway.password=root
  flyway.schemas=public
  flyway.url=jdbc:postgresql://localhost:5432/film
  flyway.locations=db/migration/postgresql 
  </code></pre>
  
  <p>Running the maven command: </p>
  
  <blockquote>
    <p>mvn flyway: repair -Flyway.config File = myFlywayConfig.properties</p>
  </blockquote>
  
  <p>Returns the error: </p>
  
  <blockquote>
    <p>Failed to execute goal org.flywaydb:flyway-maven-plugin:6.1.0:repair
    (default-cli) on project demo-hibernate-envers:
    org.flywaydb.core.api.FlywayException: Unknown configuration property:
    flyway.configFile</p>
  </blockquote>
  
  <p>However when I configure flyway plugin via pom.xml and run the command:</p>
  
  <blockquote>
    <p>mvn flyway:repair</p>
  </blockquote>
  
  <p>Everything is ok</p>
  
  <p>Below the flyway plugin configuration:</p>
  
  <pre><code>           &lt;plugin&gt;
                  &lt;groupId&gt;org.flywaydb&lt;/groupId&gt;
                  &lt;artifactId&gt;flyway-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;6.1.0&lt;/version&gt;
                  &lt;dependencies&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;org.postgresql&lt;/groupId&gt;
                          &lt;artifactId&gt;postgresql&lt;/artifactId&gt;
                          &lt;version&gt;42.2.5&lt;/version&gt;
                          &lt;scope&gt;runtime&lt;/scope&gt;
                      &lt;/dependency&gt;
                  &lt;/dependencies&gt;
                  &lt;configuration&gt;
                      &lt;user&gt;postgres&lt;/user&gt;
                      &lt;password&gt;root&lt;/password&gt;
                      &lt;url&gt;jdbc:postgresql://localhost:5432/film&lt;/url&gt;
                      &lt;schemas&gt;
                          &lt;schema&gt;public&lt;/schema&gt;
                      &lt;/schemas&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
  </code></pre>
  
  <p>Does anyone know how to do to accomplish the goals of the flyway plugin based on external configuration?</p>