我创建了一个具有以下结构的 Maven 自定义原型:
当我使用命令
mvn archetype:generate
创建项目时,不包含 app.xml 和 app.properties 文件。怎么解决?
将以下条目添加到您的archetype-metadata.xml
<fileSet filtered="true" packaged="false" encoding="UTF-8">
<directory/>
<includes>
<include>app.xml</include>
<include>app.properties</include>
</includes>
</fileSet>