Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 87614 invoked from network); 11 Mar 2011 07:32:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Mar 2011 07:32:20 -0000 Received: (qmail 42698 invoked by uid 500); 11 Mar 2011 07:32:19 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 42619 invoked by uid 500); 11 Mar 2011 07:32:19 -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 42611 invoked by uid 99); 11 Mar 2011 07:32:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Mar 2011 07:32:19 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jak-commons-dev@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Mar 2011 07:32:12 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PxwpD-0007SJ-HQ for dev@commons.apache.org; Fri, 11 Mar 2011 08:31:51 +0100 Received: from mail.elsag-solutions.com ([62.154.225.82]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Mar 2011 08:31:51 +0100 Received: from joerg.schaible by mail.elsag-solutions.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Mar 2011 08:31:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dev@commons.apache.org From: =?UTF-8?B?SsO2cmc=?= Schaible Subject: Re: [parent] maven 3 vs. 2 trick not inherited from commons-parent Followup-To: gmane.comp.jakarta.commons.devel Date: Fri, 11 Mar 2011 08:31:39 +0100 Lines: 47 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: mail.elsag-solutions.com User-Agent: KNode/4.4.9 X-Virus-Checked: Checked by ClamAV on apache.org Jörg Schaible wrote: > Hi Gary, > > Gary Gregory wrote: > >> On Thu, Mar 10, 2011 at 10:27 PM, Jörg Schaible >> wrote: >> >>> Hi Gary, >>> >>> Gary Gregory wrote: >>> >>> > In [paren] v18, we have a nice trick to use maven-site-plugin 2.x with >>> > Maven 2.x and maven-site-plugin 3.x with Maven 3.x . >>> > >>> > See >>> > >>> http://maven.apache.org/plugins/maven-site-plugin-3.0- beta-3/maven-3.html >>> > >>> > If you want to look at the parent POM, look for: >>> > >>> > >>> > maven-3 >>> > >>> > But, this does not work. >>> >>> What do you men with "this does not work"? It does. >>> >> >> If I take out the profiles element from the [codec] POM (from SVN) and >> run "mvn clean site" with Maven 3, (almost) nothing happens. M3 says the >> build was OK but it does not do anything. > > The profile does add only the site-descriptor as an attached artifact > anyway, simply because that's no longer done in M3. It has nothing to do > with the site generation itself. However, your problem is that the pom of > codec redefined the site-plugin in its pluginMgmt section again as version > 2.2 - which will produce nothing for M3. This has to be removed (alongside > with the redefinition with the profile). On top of it does the parent 18 > define version 2.0.1 in the reporting section - but that's relevant for M2 > only. Fixed it. - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org