I need to create an empty folder when installing a feature. Any suggestion? So far I tried something like(without success):
<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>
You can simply create the folder in Java code inside one of the bundles you install. See File.mkdirs()