Return-Path: X-Original-To: apmail-maven-dev-archive@www.apache.org Delivered-To: apmail-maven-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8CCDDFFD7 for ; Thu, 18 Apr 2013 19:24:48 +0000 (UTC) Received: (qmail 86474 invoked by uid 500); 18 Apr 2013 19:24:48 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 86364 invoked by uid 500); 18 Apr 2013 19:24:48 -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 86355 invoked by uid 99); 18 Apr 2013 19:24:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Apr 2013 19:24:47 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bmathus@gmail.com designates 74.125.83.46 as permitted sender) Received: from [74.125.83.46] (HELO mail-ee0-f46.google.com) (74.125.83.46) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Apr 2013 19:24:44 +0000 Received: by mail-ee0-f46.google.com with SMTP id d49so1428507eek.19 for ; Thu, 18 Apr 2013 12:24:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=K++X07J4gQ72l0sU0RQpAZOnybTwpb/sqxuw8Hhl2yo=; b=DzOH08vG6QEwUeFiExZswX4sRtr82W3nGV8FjxmXuEHW5TKvAvEA2wXXjfJFu1qnAZ Hz42WhkuIE3erubIK/hI2E7i8qd4BfMAWtzvmJji7OG81IQaIDOO4yf2hp+FYX53UpoV nRjL9Lp1xP2ztBRTDjdpwytTXfuGZEdDVa4D7waDXpKgLPQA+r00H//bBg4KnhtKJSTp Swh2sA+jlS7n+tB+7G19BDEKRtVGs0aNudPxqgtLIwvNqcQ6QI7ddjspv9FaKgKCbkw9 6qUn9BlHS3OD8/iU7qYY+TW30SrYLF9X3YgvITw5BiHvf/sncCvro2jKH+aXUitSelNr Jr/A== X-Received: by 10.15.43.73 with SMTP id w49mr33531043eev.12.1366313062838; Thu, 18 Apr 2013 12:24:22 -0700 (PDT) MIME-Version: 1.0 Sender: bmathus@gmail.com Received: by 10.15.34.69 with HTTP; Thu, 18 Apr 2013 12:24:02 -0700 (PDT) In-Reply-To: References: <83b053da2b8147291bf8b6f369a4758a.squirrel@www.mosabuam.com> From: Baptiste MATHUS Date: Thu, 18 Apr 2013 21:24:02 +0200 X-Google-Sender-Auth: ozKlYiVODJK3rOVxktE2Lrmz8LA Message-ID: Subject: Re: The archetype/archetype-catalog mess To: Maven Developers List Content-Type: multipart/alternative; boundary=089e01681310c3555404daa78c84 X-Virus-Checked: Checked by ClamAV on apache.org --089e01681310c3555404daa78c84 Content-Type: text/plain; charset=UTF-8 +1. Though I'd personally be inclined to just go m3+ directly, I suppose this would be a bit more progressive for users to release a last m2 compatible version before going m3+. That'd be the occasion to state clearly this is the last m2-compatible in the release notes. Sure, this strategy is only valid if ARCHETYPE-427 and ARCHETYPE-358 are fixable without too much hassle. Cheers 2013/4/18 Anders Hammar > Heck, we might even go v3.0 with this change and remove a lot of garbage > that I've found in the code. And delete the create goal. :-) > Maybe even require Maven 3.0+ to simplify the code. Or maybe that's taking > this a little bit to far? > > /Anders > > > On Thu, Apr 18, 2013 at 6:41 PM, Manfred Moser >wrote: > > > You would be earning a lot of brownie points I am sure! There are a bunch > > of open questions around this and the perception that the archetype > system > > is pretty much dead on stackoverflow and other places. This could fix a > > lot of those concerns.. > > > > manfred > > > > > Currently, maven-archetype-plugin ignores the configured Maven > > > infrastructure when fetching the archetype-catalog. That is, it is > > > hard-coded to get the catalog from central. This causes problems in > > > environments where Internet access is restricted and a MRM is used. > Also, > > > in cases where Internet is accessible I think the current behavior > where > > > configured repositories/mirrors are ignored is strange. I would expect > my > > > Maven configuration to be honored and the catalog to downloaded from my > > > configured remote repos (incl. mirrors). > > > > > > Do anyone object if I do some drastic changes to this logic in the > > plugin? > > > I'm thinking that the plugin should follow the Maven configuration and > > not > > > have anything hard-coded in itself wrt where to get the archetype > > > catalog(s) from. > > > Related tickets are ARCHETYPE-427 and ARCHETYPE-358 primarily, but it > > > touches on other ones as well. > > > > > > /Anders > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > > For additional commands, e-mail: dev-help@maven.apache.org > > > > > -- Baptiste MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor ! --089e01681310c3555404daa78c84--