Can't find Flyway maven plugin -


in pom.xml, have:

 <plugin>     <groupid>org.flywaydb</groupid>     <artifactid>flyway-maven-plugin</artifactid>     <version>3.1</version>     <configuration></configuration>  </plugin> 

to test plugin, i'm doing:

mvn flyway:migrate 

but error:

[error] no plugin found prefix 'flyway' in current project , in pl ugin groups [org.wildfly.plugins, org.flywaydb.plugins, org.apache.maven.plugins , org.codehaus.mojo] available repositories [local (c:\users\me\. m2\repository), central (https://repo.maven.apache.org/maven2)] -> [help 1] 

what missing pom? flyway plugin in central.

you should run mvn compile flyway:migrate inside project class path.

suppose has project name bar store inside c:\project directory.

  • you should open command prompt , change change directories c:\project\bar.
  • then, run mvn compile flyway:migrate instead of use mvn flyway:migrate

see also, first steps: flywaydb maven


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -