Hi all, I want to create an assembly with the assembly plugin, but exclude files - which I fail.
I use: <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd"> <id>openjet-jars</id> <formats> <format>jar</format> </formats> <includeBaseDirectory>false</includeBaseDirectory> <dependencySets> <dependencySet> <unpack>true</unpack> <scope>runtime</scope> </dependencySet> </dependencySets> <fileSets> <fileSet> <directory>${project.build.outputDirectory}</directory> <excludes> <exclude>**/*.exe</exclude> </excludes> </fileSet> </fileSets> </assembly> but still I do get some exe files in the final jar. How do I configure the plugin correctly to avoid special files included ? Thanks Marty -- View this message in context: http://maven.40175.n5.nabble.com/Exludes-in-assembly-tp510622p510622.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
