From dev-return-127659-archive-asf-public=cust-asf.ponee.io@maven.apache.org Wed Feb 13 16:48:01 2019 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 C42B0180674 for ; Wed, 13 Feb 2019 17:48:00 +0100 (CET) Received: (qmail 8606 invoked by uid 500); 13 Feb 2019 16:47:59 -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 8595 invoked by uid 99); 13 Feb 2019 16:47:59 -0000 Received: from mail-relay.apache.org (HELO mailrelay2-lw-us.apache.org) (207.244.88.137) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2019 16:47:59 +0000 Received: from mail-yb1-f174.google.com (mail-yb1-f174.google.com [209.85.219.174]) by mailrelay2-lw-us.apache.org (ASF Mail Server at mailrelay2-lw-us.apache.org) with ESMTPSA id E59B82784 for ; Wed, 13 Feb 2019 16:47:58 +0000 (UTC) Received: by mail-yb1-f174.google.com with SMTP id 7so1156719ybp.13 for ; Wed, 13 Feb 2019 08:47:58 -0800 (PST) X-Gm-Message-State: AHQUAubyZfzgLqQX9nkiJqsyakk/YuNFW6Ms8WKLEQ5yaafzVRJwOXuq HTbQHslWFpedB/N0AXAU/2uwWCBA4btAarxpg4g= X-Google-Smtp-Source: AHgI3Ib8OF23JMKAYkfRSGTFWBRgPqx8pO4to3m5i3Lk/i8KkbW2YS5t7IFA5/QDTeRcJafBZNKh+l5CoA3shxBgvcg= X-Received: by 2002:a25:ba90:: with SMTP id s16mr1333617ybg.336.1550076478559; Wed, 13 Feb 2019 08:47:58 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Tibor Digana Date: Wed, 13 Feb 2019 17:47:46 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [SUREFIRE] maven-metadata.xml does not point to latest snapshot To: Maven Developers List Content-Type: multipart/alternative; boundary="000000000000e11cd30581c94d2a" --000000000000e11cd30581c94d2a Content-Type: text/plain; charset="UTF-8" Is it so a big problem to keep both versions? This is our internal Nexus server anyway. On Wed, Feb 13, 2019 at 1:27 PM Benedikt Ritter wrote: > Hello, > > Am Di., 12. Feb. 2019 um 08:39 Uhr schrieb Benedikt Ritter < > britter@apache.org>: > > > Hello, > > > > Am Mo., 11. Feb. 2019 um 18:39 Uhr schrieb Enrico Olivelli < > > eolivelli@gmail.com>: > > > >> In maven coordinates 3.0.0 is different from 3.0.0-M4 (you already > knew), > >> so they can coexist. > >> > > > > Yes, but the question is, what is latest available snapshot? The > > 3.0.0-SNAPSHOT has been deployed sometime last June. > > > > > >> > >> How are you referring to surefire in your project? > >> > > > > We have some end to end tests that determine the latest snapshots of some > > plugins so we can run tests against them. We do this by analyzing the > > maven-metadata.xml so we don't have to hard code all the versions. > > > > > >> > >> Btw I will check and try to deploy current master > >> > > > > I checked, it didn't help. Maybe the master branch should have > > 3.0.0-SNAPSHOT as version and only be updated to a milestone version for > a > > milestone release. > > > > the problem is still present. I suspect maven can not deal with milestone > snapshot version. My suggestion is to change the version on the master > branch to 3.0.0-SNAPSHOT and create milestone releases without having an > explicit milestone snapshot first. This would fix the metadata in that the > latest version would again be the latest deployment from the master branch. > > Regards, > Benedikt > > > > > > Thank you! > > Benedikt > > > > > >> > >> Enrico > >> > >> Il giorno lun 11 feb 2019, 14:59 Benedikt Ritter > ha > >> scritto: > >> > >> > Hi, > >> > > >> > I just realized that the maven-metadata.xml for Surefire in the > snapshot > >> > repository [1] does not point to the latest Surefire snapshot. It says > >> that > >> > 3.0.0-SNAPSHOT is the latest version but 3.0.0-M4-SNAPSHOT is actually > >> the > >> > latest available snapshot. Is it possible to correct this? > >> > > >> > Thanks, > >> > Benedikt > >> > > >> > [1] > >> > > >> > > >> > https://repository.apache.org/content/groups/snapshots/org/apache/maven/plugins/maven-surefire-plugin/maven-metadata.xml > >> > > >> > > > --000000000000e11cd30581c94d2a--