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 EC67F10361 for ; Tue, 25 Mar 2014 10:41:51 +0000 (UTC) Received: (qmail 14968 invoked by uid 500); 25 Mar 2014 10:41:47 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 14790 invoked by uid 500); 25 Mar 2014 10:41:46 -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 14761 invoked by uid 99); 25 Mar 2014 10:41:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Mar 2014 10:41:44 +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 (nike.apache.org: domain of nigel.magnay@gmail.com designates 209.85.216.43 as permitted sender) Received: from [209.85.216.43] (HELO mail-qa0-f43.google.com) (209.85.216.43) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Mar 2014 10:41:39 +0000 Received: by mail-qa0-f43.google.com with SMTP id j15so231600qaq.30 for ; Tue, 25 Mar 2014 03:41:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=FJgQXGWUHcZyf03AVH7WayfxF4MCVEnphSJ1kgSoMDs=; b=HCviqJHytYhkILxr7BSgOfIBUPK7HlL8G0BranTyH2uT6b/g264yTgyvv18vTpcCig FFSXjFoW8cCsirNNuw8HQfgq6px7p5z/7zzWhCU6YIKPD6xw3n3NlOHMOTl4eHjOhYeT 7llYnjgbYYUQIIzrcna1GaJDo4Utbye6gVhgoKRwW0w/HgGJnr8AE6Q/noeXcfrStci0 etPGVQTKvjhP5cChcgwBZoO5ltOLZG/vAVh9sPgpQZHaRueepALQAOnAYNxxgdyU7YCZ ENR+rSt+hV/mevzFfQrd1PfhFwpOAMkqxMLIu9CHu381oE3PAGWsijxGgcGuhjNTgSxL XYFA== MIME-Version: 1.0 X-Received: by 10.140.49.109 with SMTP id p100mr38779743qga.47.1395744077431; Tue, 25 Mar 2014 03:41:17 -0700 (PDT) Received: by 10.229.242.1 with HTTP; Tue, 25 Mar 2014 03:41:17 -0700 (PDT) In-Reply-To: References: <25664F3F-7531-4E73-92D9-E568C04E1C6C@tesla.io> <2F666C4F-4483-4627-9CA1-D2794977FB18@tesla.io> <530D1FB4.1050407@j-hohwiller.de> <703E4D1F-844E-4A82-870B-FC6414F015FA@fortysix.ch> Date: Tue, 25 Mar 2014 10:41:17 +0000 Message-ID: Subject: Re: Model Version 5.0.0 From: Nigel Magnay To: Maven Developers List Content-Type: multipart/alternative; boundary=001a1137087ceec83104f56bfd25 X-Virus-Checked: Checked by ClamAV on apache.org --001a1137087ceec83104f56bfd25 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Mar 25, 2014 at 8:55 AM, Baptiste Mathus wrote: > FWIW, I'm aware it's easily feasible to add that checksum validation in a > plugin, but you'll still have to repeat the coordinates. > And that very thing was my point: I don't think having to repeat those > coordinates to add metadata is great. > > Not even saying this *must* go in modelVersion 5, I just wanted that debate > to happen at least for future reference if people wonder why maven pom > can't store that dependency metadata (DRY'ly alongside its data, I mean). > > There's all sorts of other per-dependency information that would be useful, for example - flex applications needing to store RSL deployment paths and policy file urls. The 'maven way' seems to be sentenced to perennially repeat yourself, and live with the fact your plugin config and your dependency list can drift out of sync. Or to suffer some kind of excuse of 'just specify the dependencies you want to apply this metadata to with some kind of regular expression (!)'. XML even has a well-understood extension mechanism for this kind of thing. ... com.woo yay 1.0 /blah/blah /woo/policy.xml .... /// some plugin that enforces security:sha1 .... etc etc etc If your tooling doesn't understand namespaced nodes, it's trivial to strip them. --001a1137087ceec83104f56bfd25--