When Maven RUNS the Assembly plugin it gives lot of output of INFO level. can any body suggest how to change the Level of Plugin to WARN or ERROR rather then INFO.
Asked
Active
Viewed 1,732 times
6
-
See this answer: http://stackoverflow.com/a/19319402/1570834. It provides various options for changing the logging of maven. – DB5 Nov 07 '14 at 07:51
-
oh i know the -q switch but problem is that it quit all debug log, I just want for assembly plugin. because i have almost 30 dependency jar files. maven assembly assembles all of them in one jar so it logs INFO level for each on file in details. so i want this INFO to quit only for assembly plugin. – Mubasher Nov 07 '14 at 10:33
-
What exactly is the problem? Why would you like to change that? – khmarbaise Nov 07 '14 at 12:10
-
because it slows down any annoying. – Mubasher Nov 12 '14 at 06:05
1 Answers
5
Apparently this is a bug in the logging component of the Maven assembly plugin. The solution is to use a later version of the plugin - for example, version 2.5.5. So add the following to your pom.xml:
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.5.5</version>

mrjmh
- 978
- 10
- 12