How do I set file permissions in Maven POM file

2019-07-31 01:55发布

问题:

I need to set "execute" permissions on a file which is a part of the WAR project. Can I do this without resorting to Ant script?

回答1:

Actually I found the answer in the "Maven: The Definitive Guide": http://www.sonatype.com/books/maven-book/reference/assemblies-sect-filesets.html

Strange Google wasn't able to find it.