salve.xml in target/test-classes/META-INF/?

5 views
Skip to first unread message

hbf

unread,
Sep 16, 2009, 10:55:42 AM9/16/09
to Salve
Hi,

I am running into a problem where I have Maven submodules that use
salve for tests. I have to put the salve.xml config file into src/main/
resources/META-INF, but in my main Maven project (that depends on the
former one) I have another salve.xml. This results in

Error creating zip file ... duplicate entry: META-INF/salve.xml

What is the suggested solution for that?

Thanks,
Kaspar

Igor Vaynberg

unread,
Sep 16, 2009, 10:57:46 AM9/16/09
to salve...@googlegroups.com
have a single salve.xml in your src/main/java/META-INF or
src/main/resources/META-INF, it will be used by main and test classes
alike because tests have both src/main and src/test on the classpath
when executing.

-igor
Reply all
Reply to author
Forward
0 new messages