title: FlywayException: Unable to scan for SQL migrations in location: classpath:db/migration
body: <p>I'm trying to start using flyway with maven integration but can't make it work.</p>
  
  <p>I'm following the documentation seems to be very simple so no strange things seem to be done.</p>
  
  <p>My <strong>pom.xml</strong> is the following:</p>
  
  <pre><code>&lt;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"&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;groupId&gt;com.test&lt;/groupId&gt;
    &lt;artifactId&gt;test&lt;/artifactId&gt;
    &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
  
  
    &lt;build&gt;
          &lt;plugins&gt;
              &lt;!-- Flyway plugin configuration --&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.flywaydb&lt;/groupId&gt;
                  &lt;artifactId&gt;flyway-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;3.0&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;url&gt;jdbc:mysql://localhost:3306/test&lt;/url&gt;
                      &lt;user&gt;test_fede&lt;/user&gt;
                      &lt;password&gt;test_fede&lt;/password&gt;
                  &lt;/configuration&gt;
                  &lt;dependencies&gt;
                      &lt;dependency&gt;
                          &lt;groupId&gt;mysql&lt;/groupId&gt;
                          &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
                          &lt;version&gt;5.1.21&lt;/version&gt;
                      &lt;/dependency&gt;
                  &lt;/dependencies&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  
    &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.guava&lt;/groupId&gt;
              &lt;artifactId&gt;guava&lt;/artifactId&gt;
              &lt;version&gt;13.0.1&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- DB dependencies --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;mysql&lt;/groupId&gt;
              &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
              &lt;version&gt;5.1.21&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- Test dependencies --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;junit&lt;/groupId&gt;
              &lt;artifactId&gt;junit&lt;/artifactId&gt;
              &lt;version&gt;4.8.1&lt;/version&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
    &lt;/dependencies&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>I have the directory <strong>resources/db/migration/</strong> without any migration yet.</p>
  
  <p>When I issuing flyway:info on cygwin or cmd I got an flyway error:</p>
  
  <pre><code>$ mvn compile flyway:info
  [INFO] Scanning for projects...
  [INFO] ------------------------------------------------------------------------
  [INFO] Building Unnamed - com.test:test:jar:0.0.1-SNAPSHOT
  [INFO]    task-segment: [compile, flyway:info]
  [INFO] ------------------------------------------------------------------------
  [INFO] [resources:resources {execution: default-resources}]
  [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
  [INFO] Copying 0 resource
  [INFO] [compiler:compile {execution: default-compile}]
  [INFO] Nothing to compile - all classes are up to date
  [INFO] [flyway:info {execution: default-cli}]
  [INFO] Database: jdbc:mysql://localhost:3306/test (MySQL 5.5)
  [INFO] ------------------------------------------------------------------------
  [ERROR] BUILD ERROR
  [INFO] ------------------------------------------------------------------------
  [INFO] org.flywaydb.core.api.FlywayException: Unable to scan for SQL migrations in location: classpath:db/migration
  
  Embedded error: Unable to determine URL for classpath location: db/migration (ClassLoader: org.codehaus.classworlds.RealmClassLoader@5bcdbf6)
  [INFO] ------------------------------------------------------------------------
  [INFO] For more information, run Maven with the -e switch
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 1 second
  [INFO] Finished at: Tue May 06 11:06:15 CST 2014
  [INFO] Final Memory: 17M/223M
  [INFO] ------------------------------------------------------------------------
  </code></pre>
  
  <p>Can give me a hand on this?</p>
  
  <p>Thans a lot.</p>