在我的pom.xml中,我有:找不到遷飛Maven插件
<plugin>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-maven-plugin</artifactId>
<version>3.1</version>
<configuration></configuration>
</plugin>
測試插件,我做:
mvn flyway:migrate
但我得到一個錯誤:
[ERROR] No plugin found for prefix 'flyway' in the current project and in the pl
ugin groups [org.wildfly.plugins, org.flywaydb.plugins, org.apache.maven.plugins
, org.codehaus.mojo] available from the repositories [local (C:\Users\me\.
m2\repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1]
我從我的pom中錯過了什麼? flyway插件是在中央。
參見[這個答案](http://stackoverflow.com/a/24314847) – 2014-12-06 03:22:01