Hi, Thanks for the suggestion. I'm not sure it's sufficient, though, because (assuming that works) it seems like it would also suppress messages I want to see. I really only want it to suppress the messages during the invoker:install task, and not any other time.
-- Christopher L Tubbs II http://gravatar.com/ctubbsii On Wed, Jun 10, 2015 at 3:16 PM, Robert Scholte <rfscho...@apache.org> wrote: > Hi, > > AFAIK it is Aether which is responsible for these messages. > If you use M3.1.1 or above, you can change the logging of > conf/logging/simplelogger.properties > > Based on http://www.slf4j.org/api/org/slf4j/impl/SimpleLogger.html I would > expect this to work: > org.slf4j.simpleLogger.log.org.sonatype.aether = warn > org.slf4j.simpleLogger.log.org.eclipse.aether = warn > > Since this logging is still done by the main executor of Maven (and not by > the forked executor from the invoker-plugin) this seems to be your best > option. > > thanks, > Robert > > Op Wed, 10 Jun 2015 02:08:01 +0200 schreef Christopher > <ctubb...@apache.org>: > >> Hi, >> >> I have a maven plugin which has some ITs which are executed using the >> recommended way using the maven-invoker-plugin. However, the >> invoker:install goal always spams my build server's logs with >> "Downloading" messages, copying from my local repo to a location I >> specify under target/. >> >> I absolutely cannot figure out a way to suppress this output. It is >> spammy, and happens every build (because it's not going to the local >> repo, for the reasons described in the plugin docs). And, I really >> don't care that it copied something from my local repo to this >> directory in target/ being logged at the INFO level. >> >> What's the best solution to work towards? I don't think there is one >> now, but if one were to be created, what would it look like? >> >> The ideas I thought of so far: >> >> 1. add <silent>true</silent> option on the install goal >> 2. add <log>filename</log> option on the install goal >> 3. some manipulation of the logger configuration to hide logs from this >> plugin >> 4. since this is a common task before running ITs for plugins, it >> could be baked in to the integration-test goal, and automatically >> suppressed >> >> -- >> Christopher L Tubbs II >> http://gravatar.com/ctubbsii >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org >> For additional commands, e-mail: dev-h...@maven.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org