Wit*_*eld 5 maven maven-resources-plugin
我使用maven-resources-plugin从不同的项目树复制单个WSDL文件,如下所示:
<execution>
<id>copy-wsdl-and-rename-it</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/src/main/wsdl</outputDirectory>
<resources>
<resource>
<directory>${basedir}/../myws/src/main/wsdl</directory>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
Run Code Online (Sandbox Code Playgroud)
这很好用,但现在我需要将该wsdl目录下的(单个)文件重命名为其他内容(例如,从myws.wsdl源目录到my.wsdl目标目录).
有没有办法实现这一点,使用maven-resources-plugin,而不是诉诸另一个插件?
| 归档时间: |
|
| 查看次数: |
12372 次 |
| 最近记录: |