From users-return-143395-archive-asf-public=cust-asf.ponee.io@maven.apache.org Mon Aug 6 09:56:41 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 3C67A180627 for ; Mon, 6 Aug 2018 09:56:41 +0200 (CEST) Received: (qmail 63542 invoked by uid 500); 6 Aug 2018 07:56:39 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 63530 invoked by uid 99); 6 Aug 2018 07:56:39 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2018 07:56:39 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id A14C2C035B for ; Mon, 6 Aug 2018 07:56:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.908 X-Spam-Level: * X-Spam-Status: No, score=1.908 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=freightos.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id tpHJfWrJifSc for ; Mon, 6 Aug 2018 07:56:37 +0000 (UTC) Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 3C8D25F197 for ; Mon, 6 Aug 2018 07:56:37 +0000 (UTC) Received: by mail-wr1-f54.google.com with SMTP id h14-v6so11370444wrw.13 for ; Mon, 06 Aug 2018 00:56:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freightos.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tqI7OAvuSs9oVtZ2WlZDxLUtP6/H+aQstDb9a31TU9o=; b=AJyNQGqy7mnmpxjtPWfAfP5xGZQMbs/vxp7/iouazSZKqWFn4NEPBlAKphOsNfziuC LV24qxlhd+PrGLAGILKvWnGVQq9cBMDmCOklexFyULU5kZePXbxwJkdis0TQCDcOSapo o/R3Aqnx6b0U37GFgou62Fqu/iuXS0fNGM7yU8iYlKP/qHk6GHFe/dKJ4pSoCYSyOu9d bs0gL+jIKMvqmUPLR8neI2WI/vFTCYGKUzWZMA7DZ/uF5qr12vJ1R/7jIYxoJojgKrGf ddtzhw6flSGNI7hKC72oZMj/y+cB4gVipZjtcFCR4ZKEHyC7ebVCJD7j1quJYA1KIua4 Mdtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tqI7OAvuSs9oVtZ2WlZDxLUtP6/H+aQstDb9a31TU9o=; b=l145JuJgd47KcR8dZuEZsm5awNdx0x5wSf090kwHFi723b6g0dFQmo5Wvxze4B2ap1 WhQ+tWwE9/Ia2idV78gEnVE9Hv0Msh4yk+uAd8RGSf/Kt0GmWKZunA1GoS6BMf3S07+P 5KhGmxg/RVE5G7Npiq3j56EGX23CubNebnP6GDl3WZpPz5LsVGxbX9IympWCxSOrUoRA Hxv1winiT4+0K6KwdaiPTItlvBc04UnRkd77nXoxzboJn6YzOOv5QNT7040JVmdrYaxx Zf+xG/Sm/kkm2h2b8TYOcV6xvZVCPHtc+kil813IjihgRK6Qj+a8q9RT0xoOP7aVoIRV wTZA== X-Gm-Message-State: AOUpUlFj8JsxsbFJ0qtLXf3Ajaka6cIGVBLvo7Gy+ZXJorXCKD/2XiCC gWd4/RIaKg6DIa+7G1SxO9bQG9hEZWgce4PYmkrTeQ== X-Google-Smtp-Source: AAOMgpeZ1uSjjReU/tkZ+T94nllQ48azKTN1WkV3b6zbgOgmla4p8v/6zgxEWsfMURA4NbzZb4IuhtNpVZVC6AySVFg= X-Received: by 2002:adf:bc03:: with SMTP id s3-v6mr9335146wrg.211.1533542196905; Mon, 06 Aug 2018 00:56:36 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Joshua Fox Date: Mon, 6 Aug 2018 10:56:00 +0300 Message-ID: Subject: Re: Double copy of XML in POMs To: rfscholte@apache.org Cc: users@maven.apache.org Content-Type: multipart/alternative; boundary="000000000000e51a380572bf9d9c" --000000000000e51a380572bf9d9c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you! Good to know that is is being handled. (It is not a blocker since we deleted the repository and forced a new download.) On Fri, Aug 3, 2018 at 11:07 AM Robert Scholte wrote= : > Yes, this is a known issue, see MNG-6281[1] Up until Maven 3.3.9 this wa= s > never an issue, until we fixed MNG-6020[2]. Before that Maven stopped > reading after the closing root-tag. > It is very hard to reproduce. One of the possibilities I have in mind is > that the same pom is required twice (either by 2 Maven executions or as > part of the reactor) and that the files are appended. > I still think MNG-6020 is a good fix: the file must contain valid XML. S= o > I'd love to see an explanation for this weird behavior and fix it. > > thanks, > Robert > > [1] https://issues.apache.org/jira/browse/MNG-6281 > [2] https://issues.apache.org/jira/browse/MNG-6020 > > On Thu, 02 Aug 2018 12:48:52 +0200, Joshua Fox > wrote: > > I got a lot of these error messages using Maven 3.5 on Windows 10. > > *The POM for=E2=80=A6 jar=E2=80=A6 is invalid, transitive dependencies (= if any) will not > be available, enable debug logging for more details* > > > It turns out that the POM files consisted of a *double copy *of the XML! > See the attached example. > > I removed ~/.m2/ and rebuilt, and the POMs were OK. > > Is this a known issue? It is very strange to see XML appearing twice. > > > > > --=20 *JOSHUA FOX* Director, Software Architecture | Freightos *T (Israel): *+972-545691165 | *T (US)*: +1-3123400953 Smooth shipping. --000000000000e51a380572bf9d9c--