views:

31

answers:

1

Hi,

when building a jar-with-dependencies with the assembly plugin, I get many, many messages like this:

META-INF/ already added, skipping

It seems to mee, that maven is warning me, that I already have a META-INF in my to-be-created jar, and therefore the META-INF of the to-be-included dependant jar file is not included in my to-be-created jar. Well, this is exactly what I want, and I want to ged rid of those messages. Is there a way to achieve this?

Regards, Martin.

A: 

Maven won't create the META-INF twice if it has already been created but it should add the content from the various JARs to it. However, it won't add non-unique files n-times, nor merge the content.

Isn't this what you're experiencing? What does the assembly jar looks like? What is the expected result?

Pascal Thivent
Hi Pascal,thanks for your answer. The jar file's content is exactly what I'm expecting. I just want to get rid of the INFO messages that flood my console. Do you know, how to make this?
Tchick
@Tchick: You can't.
Pascal Thivent
F***!This info is kind of obsolete, because it is exactly what I would expect. So why is it printed with INFO level and not DEBUG.Anyway, thanks for your help.
Tchick