<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.1</version> <executions> <execution> <id>create-config</id> <phase>validate</phase> <configuration> <tasks> <touch file="${basedir}/soubor.properties"/> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin>