上一章介绍使用ant拷贝资源,这里介绍maven拷贝资源,使用maven-resources-plugin插件。
org.apache.maven.plugins maven-resources-plugin 2.5 copy-dbscript package copy-resources UTF-8 ../../target/dbscript ../../DM/dbscript/ copy-releaseNotes package copy-resources UTF-8 ../../target/releaseNotes ../../DF/releaseNotes