安装功能时需要创建一个空文件夹。有什么建议吗?到目前为止,我尝试了类似的东西(没有成功):
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>empty-config-folder</id>
<phase>prepare-package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<mkdir dir="${project.build.directory}/assembly/etc/empty-folder" />
</target>
</configuration>
</execution>
</executions>
</plugin>