From notifications-return-14136-apmail-ant-notifications-archive=ant.apache.org@ant.apache.org Fri Nov 05 03:14:35 2010 Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 78614 invoked from network); 5 Nov 2010 03:14:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Nov 2010 03:14:34 -0000 Received: (qmail 68185 invoked by uid 500); 5 Nov 2010 03:15:06 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 68104 invoked by uid 500); 5 Nov 2010 03:15:05 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 68097 invoked by uid 99); 5 Nov 2010 03:15:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 03:15:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 03:15:04 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA53EiDq027904 for ; Fri, 5 Nov 2010 03:14:44 GMT Message-ID: <16319967.22221288926884653.JavaMail.jira@thor> Date: Thu, 4 Nov 2010 23:14:44 -0400 (EDT) From: "qxo (JIRA)" To: notifications@ant.apache.org Subject: [jira] Updated: (IVY-1244) ivy MDArtifact maven compatible improvement:add none jar(type!=jar) artifact with a default classifier (value= type) In-Reply-To: <2031618.7821288876661363.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IVY-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] qxo updated IVY-1244: --------------------- Attachment: (was: ArtifactRevisionId.java) > ivy MDArtifact maven compatible improvement:add none jar(type!=jar) artifact with a default classifier (value= type) > -------------------------------------------------------------------------------------------------------------------- > > Key: IVY-1244 > URL: https://issues.apache.org/jira/browse/IVY-1244 > Project: Ivy > Issue Type: Improvement > Reporter: qxo > > MDArtifact: > {code} > public MDArtifact(ModuleDescriptor md, String name, String type, String ext, URL url, > Map extraAttributes) { > //... > if((!("jar".equals(type))&&"jar".equals(ext) )&& (extraAttributes == null || !extraAttributes.containsKey("classifier"))){ > if( extraAttributes == null){ > extraAttributes = new HashMap(); > } > extraAttributes.put("classifier", type); > } > this.extraAttributes = extraAttributes; > } > {code} > now we use this ivy settings: > {code} > > > > > {code} > publish artifactory to maven compatible repo,we so can maven/ivy both with the same repo :) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.