From issues-return-140088-archive-asf-public=cust-asf.ponee.io@maven.apache.org Thu Nov 8 22:22:34 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 C11C2180671 for ; Thu, 8 Nov 2018 22:22:33 +0100 (CET) Received: (qmail 51305 invoked by uid 500); 8 Nov 2018 21:22:32 -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 51287 invoked by uid 99); 8 Nov 2018 21:22:32 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2018 21:22:32 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 6CBF9CDE04 for ; Thu, 8 Nov 2018 21:22:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id XjxA4eqwFJja for ; Thu, 8 Nov 2018 21:22:30 +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 9ACA273631 for ; Thu, 8 Nov 2018 15:58:01 +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 2CCCDE0F39 for ; Thu, 8 Nov 2018 15:58:01 +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 D7B11266AF for ; Thu, 8 Nov 2018 15:58:00 +0000 (UTC) Date: Thu, 8 Nov 2018 15:58:00 +0000 (UTC) From: "Benjamin Cartereau (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (MEAR-272) SNAPSHOT dependencies are copied with timestamp MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Benjamin Cartereau created MEAR-272: --------------------------------------- Summary: SNAPSHOT dependencies are copied with timestamp Key: MEAR-272 URL: https://issues.apache.org/jira/browse/MEAR-272 Project: Maven Ear Plugin Issue Type: Bug Affects Versions: 3.0.1 Environment: JDK 8 Maven 3.3 and 3.5 Reporter: Benjamin Cartereau We have an EAR project that have a dependency towards a SNAPSHOT (version in dependency within the pom set as "1.0-SNASPHOT") version of a jar stored in our Nexus repository. When we build the project, the ear:ear plugin is executed and we can see that the timestamp version of the dependency is copied as is: [INFO] Copying artifact[jar:xxx:yyy:1.0-20181106.150409-27] to[yyy-*1.0-20181106.150409-27*.jar] We also tried with the 3.0.0 version of the ear plugin and we get the same result. Then we have tried the 2.10.1 version of the plugin (with the useBaseVersion set to true in ear plugin configuration) and it is now working: [INFO] Copying artifact[jar:xxx:yyy:1.0-20181106.150409-27] to[yyy-*1.0-SNAPSHOT*.jar] The "useBaseVersion" parameter has no effect with 3.0.1 version of the plugin except displaying the warn message "Using _useBaseVersion_ not _yet_ fixed". -- This message was sent by Atlassian JIRA (v7.6.3#76005)