Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 48922 invoked from network); 7 Oct 2010 18:10:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Oct 2010 18:10:34 -0000 Received: (qmail 13115 invoked by uid 500); 7 Oct 2010 18:10:34 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 12972 invoked by uid 500); 7 Oct 2010 18:10:33 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 12962 invoked by uid 99); 7 Oct 2010 18:10:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Oct 2010 18:10:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.219.192.166] (HELO smtp.bredband2.com) (83.219.192.166) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Oct 2010 18:10:25 +0000 Received: from [192.168.0.3] (c-83-233-111-152.cust.bredband2.com [83.233.111.152]) (Authenticated sender: ed5133) by smtp.bredband2.com (Postfix) with ESMTPA id 6116511B54E for ; Thu, 7 Oct 2010 20:10:04 +0200 (CEST) Message-ID: <4CAE0CF6.2010709@apache.org> Date: Thu, 07 Oct 2010 20:09:58 +0200 From: Dennis Lundberg User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: Commons Developers List Subject: Re: [all] Preparing for Maven 3 References: In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 2010-10-07 03:46, Niall Pemberton wrote: > The vote for Maven 3 is underway - http://markmail.org/message/4itian33hycyt4iz > > I have tested the builds for all the components in trunks-proper > (using mvn -Prc clean package) and they worked, except for test > failures with configuration, email and jci - but I get those using m2 > as well. Thanks for testing Niall. > Theres an issue with the commons-build-plugin which I need to look at > and I had a problem with the gpg plugin when doing mvn -Prc install on > a component. Probably the biggest issue though is getting the sites > working. The section is deprecated in m3 and reports need > to be configured differently and a new (m3 specific) version of the > site plugin used. I've tried this out adding "m3" profiles to branches > of commons-parent and chain: > https://svn.apache.org/repos/asf/commons/proper/commons-parent/branches/maven-3-test/ > https://svn.apache.org/repos/asf/commons/proper/chain/branches/test-maven3-profile/ > > The above have a profile which *activates* when m3 is used - as described here: > https://cwiki.apache.org/MAVEN/maven-3x-and-site-plugin.html > > This profile approach to support both m2 and m3 is one way - but would > create a mess of duplicated configuration in all poms. It would be > much cleaner and less maintenance if we just adopted m3 and dropped m2 > support :) We should be able to put the m3 profile in commons-parent to avoid the duplication. > I guess it will take a while for a consensus on this (if ever) but its > something to consider. In the meantime there is stuff we can do to > prepare for m3. It would be good to put reporting plugins into the > section of commons-parent. The Site Plugin for Maven 3 will work with (almost) the same configuration as the Site Plugin for Maven 2. It will transform the old configuration format to the new one on-the-fly. To be able to have our builds support both Maven 2 and Maven 3, there are only a few things that we need to do. Once we (the Maven team) get the Site Plugin for Maven 3 into a good enough state, I'll get back with more info. > Quite a few components > are on old versions of reporting plugins, so testing and upgrading to > the latest would be good. The one I had most problems with was > Checkstyle - details in the commit log: > http://svn.apache.org/viewvc?view=revision&revision=1005273 Updating plugins is a good idea, especially to versions that support Maven 3, for more info see https://cwiki.apache.org/MAVEN/maven-3x-plugin-compatibility-matrix.html > > Niall > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > > -- Dennis Lundberg --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org