pom.xml - Maven Exclude tag -
i trying exclude file during packaging in maven. not no file path. can nowadays in directory.
<exclude>filename.xml</exclude>
is way trying currently. wonder if work across paths or current directory. help appreciated!
assuming it's resource file, can utilize below exclude files name
<resources> <resource> <directory>src/main/resources</directory> <excludes> <exclude>**/filename.xml</exclude> </excludes> </resource> </resources>
maven pom.xml
No comments:
Post a Comment