Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

many "META-INF/ already added, skipping" warnings when building assembly

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.

like image 667
Tchick Avatar asked Aug 11 '10 09:08

Tchick


2 Answers

The info messages are coming from the Plexus Archiver. There is an open bug report on this issue:

http://jira.codehaus.org/browse/PLXCOMP-129

like image 112
vocaro Avatar answered Oct 12 '22 03:10

vocaro


The Plexus bug mentioned by vocaro has been fixed. Using the maven-assembly-plugin with version 2.4 (highest at time of writing) does not print the verbose messages.

like image 44
Attila Avatar answered Oct 12 '22 05:10

Attila