Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BC87C200CE6 for ; Fri, 15 Sep 2017 11:55:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BB4721609D1; Fri, 15 Sep 2017 09:55:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D61801609CF for ; Fri, 15 Sep 2017 11:55:05 +0200 (CEST) Received: (qmail 50224 invoked by uid 500); 15 Sep 2017 09:55:04 -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 50212 invoked by uid 99); 15 Sep 2017 09:55:04 -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; Fri, 15 Sep 2017 09:55:04 +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 ECDDA1A22D9 for ; Fri, 15 Sep 2017 09:55:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.38 X-Spam-Level: ** X-Spam-Status: No, score=2.38 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 HZfMVhSdR9qI for ; Fri, 15 Sep 2017 09:55:01 +0000 (UTC) Received: from mail-ua0-f173.google.com (mail-ua0-f173.google.com [209.85.217.173]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 48A705FAF3 for ; Fri, 15 Sep 2017 09:55:01 +0000 (UTC) Received: by mail-ua0-f173.google.com with SMTP id c27so980178uah.2 for ; Fri, 15 Sep 2017 02:55:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=yUwECRmo9m1nNyRII2Li2F7PfYgVkYylxNc2QAV4ctk=; b=iakiAJ6Psx7g24Nb1y2oS5mRqGxhyF+A1N+krf51RqL0Fut86UqcjMd4jFoRvkipbd H9o2YM/tdIqVs501W1ZTEl+I/oa/O/9z23czkK4IODw2BlzUo3VZAMsw5/S+IrCG8hVB WS6/JFgOAcBkOLEEy3CLrmjACkF64bnaWeTlvVyDKKhoXm7n7DFX4jSIWANvAdlQ9ft0 yFtKDCcIjoBbd1OwJ9oLbHlaAoRLBgTpy0zimDCCK0zRPN94gl5estc0pr/dzUSg5vx7 2h/LOvLsRJB0S5vQ/LA21USGj4f9fKdtxuBRLRS+3A7aKWEjcyTkv+kJQW204YEqnDYl X0QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=yUwECRmo9m1nNyRII2Li2F7PfYgVkYylxNc2QAV4ctk=; b=JXQhbGJLbuxPU6uI3o9plZb4zwF69vcVxqAIv1dqIDW07fJkZUocEWSgMv44u4lX1w Opmi9MhDrF20g1GJuX65dpCPylqQateYJEbXcmGbgPxSsvdCT73SQQqOKSeoOf1zpmQ5 4dFeuLIzmnxj+03xs0NbIWkp1Fn1Re95526ASLaZbg9NG9Cx65clsSjgxLytY8+/c6nS kqKU7MqG9ahZ076ApKCJvPUCCC7wXm3Rdexcf4d62sJw/l71qOe3uspDLpoqy1ucuc7f jwRxXHLDJioQlVcfP0Or+CfCAVkqCvJy5DhHiIggvn2eOedw2CL1zOz/DYvz0jU2OiWO nHMA== X-Gm-Message-State: AHPjjUgNTiklSFfBWk5ytJLWgC2+7Rl+8oiTnzahz8lrGqzoU/D28LoN y8pPK9awBSGSUqWGf1+gdlMkipR4ZEiqut9sbIQIDw== X-Google-Smtp-Source: ADKCNb5ShAiqo1lSVII7OANjRQsp8NC7kqQ5+QDc+mhnopV43yoyGhFZ2ohIZJsH3hVpxYsvg2IWUN3FxwXVwW8f/6k= X-Received: by 10.176.89.168 with SMTP id g37mr20233432uad.53.1505469295095; Fri, 15 Sep 2017 02:54:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.82.252 with HTTP; Fri, 15 Sep 2017 02:54:54 -0700 (PDT) In-Reply-To: <77af7f90-e596-6425-59f9-c6ac7511f0b1@apache.org> References: <74C127B0-F707-4BBA-A2C1-D57E60C9C0FC@talios.com> <77af7f90-e596-6425-59f9-c6ac7511f0b1@apache.org> From: Stephen Connolly Date: Fri, 15 Sep 2017 02:54:54 -0700 Message-ID: Subject: Re: [VOTE] Release Apache Maven 3.5.1 To: Maven Developers List Cc: =?UTF-8?B?UGV0ciDFoGlyb2vDvQ==?= , Igor Fedorenko Content-Type: multipart/alternative; boundary="001a1146603a8df4910559376228" archived-at: Fri, 15 Sep 2017 09:55:06 -0000 --001a1146603a8df4910559376228 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On 14 September 2017 at 23:55, Michael Osipov wrote: > Am 2017-09-15 um 00:50 schrieb Petr =C5=A0irok=C3=BD: > >> I was able to easily fix our plugin by e.g. replacing >> "Thread.currentThread().getContextClassLoader()" with >> "this.getClass().getClassLoader()" (in the Mojo class) to get the plugin >> classloader. >> >> I don't know though if the "Thread.currentThread().getCon >> textClassLoader()" >> is just misuse on our side or if it's something that more plugins may re= ly >> on. >> > > Similar cause in MASSEMBLY: https://issues.apache.org/jira/browse/MNG-620= 9 > > I think using TCCL is wrong here. I agree, I think the TCCL is supposed to be for extension lookup. If you want the plugin's classloader then that should be `this.getClass().getClassLoader()` from the Mojo class. If you want the classloader with all the extensions, that should be TCCL. What is unclear to me is why we set TCCL to anything other than the project realm. A pom plugin declaration of true should not affect the TCCL that the plugin execution sees, so I wonder if the root bug is that the fix allows the TCCL to be other than project realm? Igor? > > > On Thu, Sep 14, 2017 at 2:42 PM Petr =C5=A0irok=C3=BD wrote: >> >> Argh, I forgot to link the plugin source: >>> https://github.com/kiegroup/droolsjbpm-integration/tree/7.3. >>> 0.Final/kie-maven-plugin >>> >>> On Thu, Sep 14, 2017 at 2:41 PM Petr =C5=A0irok=C3=BD >>> wrote: >>> >>> Hello, >>>> >>>> I am seeing a (probably) similar issue with our custom plugin. >>>> >>>> See the reproducer: >>>> https://github.com/psiroky/reproducers/tree/mvn351-kie-maven-plugin >>>> (works >>>> fine with maven 3.5.0, but fails with NPE with the RC of maven 3.5.1). >>>> >>>> I am not yet sure if the plugin is just doing something it's not >>>> supposed >>>> to, or if this is a regression in maven itself. I'll will take a deepe= r >>>> look. >>>> >>>> Petr >>>> >>>> >>>> On Thu, Sep 14, 2017 at 1:53 PM Stephen Connolly < >>>> stephen.alan.connolly@gmail.com> wrote: >>>> >>>> On 14 September 2017 at 04:43, Mark Derricutt wrote: >>>>> >>>>> +2 non-binding from Mark! >>>>>>> >>>>>> >>>>>> I was discussing this with a coworker and he made the comment that i= f >>>>>> >>>>> this >>>>> >>>>>> change could break Mojos, maybe it shouldn't be in a point release - >>>>>> >>>>> whats >>>>> >>>>>> the policy on changes that may potentially break existing plugins? >>>>>> >>>>>> >>>>> Well we need to assess the issue. Right now I don't even have a >>>>> description >>>>> of what went wrong. Any chance you could provide a replication... or >>>>> mail >>>>> me directly if you cannot share it publically and I may be able to >>>>> produce >>>>> a minimal reproduction from it. >>>>> >>>>> If this breaks a mojo that was doing something wrong in the first >>>>> place, >>>>> well that will not stop 3.5.1... OTOH if this exposes a bug in the >>>>> issue >>>>> "fixed" then I'd likely revert and respin. >>>>> >>>>> We really need a reproducer first. >>>>> >>>>> >>>>> >>>>>> -- >>>>>> "Great artists are extremely selfish and arrogant things" =E2=80=94 = Steven >>>>>> >>>>> Wilson, >>>>> >>>>>> Porcupine Tree >>>>>> >>>>>> On Thu, Sep 14, 2017 at 10:29 AM, Mark Derricutt >>>>>> >>>>> wrote: >>>>> >>>>>> >>>>>> On 14 Sep 2017, at 10:26, Mark Derricutt wrote: >>>>>>> >>>>>>> Calling -2 for vote if not too late. >>>>>>> >>>>>>> Actually - looking at the commit diff, I see in our code we did hav= e >>>>>>> true for the jasmine-maven-plugin which we >>>>>>> >>>>>> don't >>>>> >>>>>> actually need. Removing that from the mojo definition and running my >>>>>>> >>>>>> build >>>>>> >>>>>>> with the staged 3.5.1 release and everything builds fine. >>>>>>> >>>>>>> +2 non-binding from Mark! >>>>>>> >>>>>>> Mark >>>>>>> ------------------------------ >>>>>>> >>>>>>> "The ease with which a change can be implemented has no relevance a= t >>>>>>> >>>>>> all >>>>> >>>>>> to whether it is the right change for the (Java) Platform for all >>>>>>> >>>>>> time." >>>>> >>>>>> =E2=80=94 >>>>>> >>>>>>> Mark Reinhold. >>>>>>> >>>>>>> Mark Derricutt >>>>>>> http://www.theoryinpractice.net >>>>>>> http://www.chaliceofblood.net >>>>>>> http://plus.google.com/+MarkDerricutt >>>>>>> http://twitter.com/talios >>>>>>> http://facebook.com/mderricutt >>>>>>> >>>>>>> >>>>>> >>>>> >>>> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > For additional commands, e-mail: dev-help@maven.apache.org > > --001a1146603a8df4910559376228--