From issues-return-133807-archive-asf-public=cust-asf.ponee.io@maven.apache.org Tue Jun 12 19:03:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id A0158180608 for ; Tue, 12 Jun 2018 19:03:03 +0200 (CEST) Received: (qmail 47511 invoked by uid 500); 12 Jun 2018 17:03:02 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 47500 invoked by uid 99); 12 Jun 2018 17:03:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2018 17:03:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 075B31A2284 for ; Tue, 12 Jun 2018 17:03:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.5 X-Spam-Level: X-Spam-Status: No, score=-109.5 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id cX8iSGI_kG8C for ; Tue, 12 Jun 2018 17:03:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id CFD185F21E for ; Tue, 12 Jun 2018 17:03:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6985FE0114 for ; Tue, 12 Jun 2018 17:03:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3029A21097 for ; Tue, 12 Jun 2018 17:03:00 +0000 (UTC) Date: Tue, 12 Jun 2018 17:03:00 +0000 (UTC) From: "George Lianeris (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MNG-6425) Maven inserts incorrect version metadata when 'artifactory matrix parameters' are used. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MNG-6425?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] George Lianeris updated MNG-6425: --------------------------------- Attachment: MNG-6425-wirelog-full.log > Maven inserts incorrect version metadata when 'artifactory matrix paramet= ers' are used. > -------------------------------------------------------------------------= -------------- > > Key: MNG-6425 > URL: https://issues.apache.org/jira/browse/MNG-6425 > Project: Maven > Issue Type: Bug > Components: Deployment > Affects Versions: 3.5.3 > Environment: Linux, Windows > Reporter: George Lianeris > Priority: Major > Attachments: MNG-6425-wirelog-full.log, MNG-6425-wirelog.log, MNG= -6425.log > > > When using artifactory matrix parameters as per > [Artifactory Matrix Parameters|https://www.jfrog.com/confluence/display/R= TF/Using+Properties+in+Deployment+and+Resolution#UsingPropertiesinDeploymen= tandResolution-IntroducingMatrixParameters] > and they are added to the command line like so: > mvn -Psomeprofile package deploy:deploy -DaltDeploymentRepository=3Dcentr= al::default::[https://artifactory.my.co/artifactory/myco-dev;artifactory.li= censes=3Dmyco] > The metadata.xml for the artifact (not the version beneath it) acquires i= ncorrectly calculated version values on the *second* run. > What it should be: > {code:xml} > > > com.myco.foo > bar > > > 1.0.0-SNAPSHOT > > 20180611143540 > > > {code} > =C2=A0 > What it is (more or less): > {code:xml} > > > com.myco.foo > bar > > *1.0.0* > *1.0.0* > > *1.0.0* > 1.0.0-SNAPSHOT > > 20180611143540 > > > {code} > =C2=A0 > Note that version 1.0.0 does not exist and was never built.=C2=A0 This ma= kes it impossible to use the artifactory matrix parameters. > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)