Return-Path: Delivered-To: apmail-maven-dev-archive@www.apache.org Received: (qmail 66082 invoked from network); 3 Apr 2007 04:01:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Apr 2007 04:01:59 -0000 Received: (qmail 89207 invoked by uid 500); 3 Apr 2007 04:02:04 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 89127 invoked by uid 500); 3 Apr 2007 04:02:03 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 89116 invoked by uid 99); 3 Apr 2007 04:02:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 21:02:03 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jason.dillon@gmail.com designates 64.233.166.176 as permitted sender) Received: from [64.233.166.176] (HELO py-out-1112.google.com) (64.233.166.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 21:01:55 -0700 Received: by py-out-1112.google.com with SMTP id u77so581819pyb for ; Mon, 02 Apr 2007 21:01:35 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=lyU5WCRKHCW08BJqTgzNPnNEVwz9/rZOfjRQx5vU49haG1hnIRBQ+fFt7Wj/O+XEit3VV/oCt36sFauY5CpO8Jyw7B/bB0KajnyeIGh4RjeQC/lnrllKq1yA4XlW6cIT0K1Zf8nD5xe6Mon0ojK8w96JKDeAt2UG7rvns+/idXI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=hXIBXx2kxNuYnLtL3YbPeFifadUVWBRcjRFGWYC0X78SPJROkSI8V2xf/Jmp/wJj8hnA+sBxdCN5HRs9BqRD5vx+CoC1vARhxmvYqoUBM3wbKuo06CRi9zfTyJLUQW7yAPActbmu7Gts61SPtMjiVh5RS2oRjpdr09kvsLDaC+s= Received: by 10.35.61.17 with SMTP id o17mr10540569pyk.1175572895126; Mon, 02 Apr 2007 21:01:35 -0700 (PDT) Received: from ?10.0.1.2? ( [24.7.69.241]) by mx.google.com with ESMTP id n29sm10561524pyh.2007.04.02.21.01.33; Mon, 02 Apr 2007 21:01:34 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <2BABBE7D2A66E04DB8A66A527D29927E25E1D3@intrepid.infinity.nu> References: <1A533631-BFD8-4BDC-A26C-FA5311D17F50@planet57.com> <2BABBE7D2A66E04DB8A66A527D29927E25E1D3@intrepid.infinity.nu> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Jason Dillon Subject: Re: OMG... mvn -X spits out soooooo much junk Date: Mon, 2 Apr 2007 21:01:31 -0700 To: "Maven Developers List" X-Mailer: Apple Mail (2.752.3) Sender: Jason Dillon X-Virus-Checked: Checked by ClamAV on apache.org Oh, ya... it works, I got distracted by my rant. Latest snapshot looks okay to me. --jason On Apr 2, 2007, at 8:59 PM, Brian E. Fox wrote: > Looks like enforcer worked :-) > > -----Original Message----- > From: Jason Dillon [mailto:jason.dillon@gmail.com] On Behalf Of Jason > Dillon > Sent: Monday, April 02, 2007 11:49 PM > To: Maven Developers List > Subject: OMG... mvn -X spits out soooooo much junk > > I think its time for a --debug and --trace option to mvn... as mvn -X > by itself spits out sooo much output that it is almost unusable. > Certainly to get more information out of plugins that are executing > its provides *way, way* to much information. > > For example, running `mvn -X -N` from the geronimo/server/trunk > build, its spits out ~2500 lines. > > I'd really like to see the logging output in Maven have some finer > controls. *most* of the time I just want debugging information from > my plugins, including a brief overview of the artifact they came > from, the arguments to the mojo and then the mojos log.debug() output. > > I don't care much the full tree of maven artifacts and all that other > muck for most times I want to see debug information. > > I really think that mvn should have better cli configuration of the > debug and warning levels which are enabled. > > Very simlar to how CC has the -W flag to enable sets of warnings, I > think that mvn needs a flag to enable sets of warning and debug > information. > > For example, this might show all the gory detail about artifacts: > > mvn --debug=artifacts > > Where this would only show the plugin invokation details: > > mvn --debug=plugin > > And default to the minimal: > > mvn --debug > > ^^^ is the same as mvn --debug=plugin > > * * * > > For those interested, the full ~2500 lines of mvn -X -N for sever/ > trunk are here: > > http://rifers.org/paste/jdillon/show/4223 > > This is a big project... but I don't really need all of that output > when I'm trying to debug plugin executions. Today I just wanted to > make sure that the maven-enforcer-plugin was still working after the > snapshot, since it now logs details to DEBUG instead of INFO. And I > was appalled when I ran `mvn -X -N` from the top-level and go so much > junk. > > I really would like to see this fixed... it would really help people > to debug mvn issues. Sure there are times when you need the full > output, maybe from `mvn --debug=all` but 90% of the time all that > extra information just makes it hard to find the information you do > care about. > > Please can we address this problem? > > --jason > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > For additional commands, e-mail: dev-help@maven.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > For additional commands, e-mail: dev-help@maven.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org