Can I use property file in maven pom.xml for flyway configuration
问题 <plugin> <groupId>com.googlecode.flyway</groupId> <artifactId>flyway-maven-plugin</artifactId> <version>1.7</version> <configuration> <driver>com.mysql.jdbc.Driver</driver> <url>jdbc:mysql://127.0.0.1:3306/db_abc</url> <user>db_user</user> <sqlMigrationPrefix>V</sqlMigrationPrefix> </configuration> </plugin> I don't want to mention driver, url and user here. I already have a abc.property on src/main/resources . How can use that file here? 回答1: Have a look at the properties-maven-plugin. It