Hi all, 

I am building a binary for a project to which an empty file literally named
'*.class' is added. This causes the execution to fail (Hibernate tries to
analyse all the .class files and says "it's not a class" on that one). 

So, I'd like to remove this file from the final jar. I've tried with
unpackOptions/excludes, but unfortunately neither these parameters work: 

  <exclude>**/\*\.class</exclude>
  <exclude>%regex[.*\*\.class]</exclude>

How can I do that? 

Thanks in advance for any help.

Marco. 

-- 
View this message in context: 
http://old.nabble.com/Excluding-%22%5C*%5C.class%22-from-dependencySets-in-the-assembly-plug-in-tp26281867p26281867.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to