From issues-return-190431-archive-asf-public=cust-asf.ponee.io@maven.apache.org Thu Aug 26 22:48:04 2021 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-he-de.apache.org (mxout1-he-de.apache.org [95.216.194.37]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 77C0A18064D for ; Fri, 27 Aug 2021 00:48:04 +0200 (CEST) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-he-de.apache.org (ASF Mail Server at mxout1-he-de.apache.org) with SMTP id 6A49363F68 for ; Thu, 26 Aug 2021 22:48:03 +0000 (UTC) Received: (qmail 84520 invoked by uid 500); 26 Aug 2021 22:48:01 -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 84442 invoked by uid 99); 26 Aug 2021 22:48:01 -0000 Received: from ec2-52-204-25-47.compute-1.amazonaws.com (HELO mailrelay1-ec2-va.apache.org) (52.204.25.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Aug 2021 22:48:01 +0000 Received: from jira2-he-de.apache.org (jira2-he-de.apache.org [168.119.33.54]) by mailrelay1-ec2-va.apache.org (ASF Mail Server at mailrelay1-ec2-va.apache.org) with ESMTPS id 5A2093E96B for ; Thu, 26 Aug 2021 22:48:01 +0000 (UTC) Received: from jira2-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira2-he-de.apache.org (ASF Mail Server at jira2-he-de.apache.org) with ESMTP id 653ECC80269 for ; Thu, 26 Aug 2021 22:48:00 +0000 (UTC) Date: Thu, 26 Aug 2021 22:48:00 +0000 (UTC) From: "Michael McCallum (Jira)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MINVOKER-283) Change in behaviour with maven 3.8.2, invoker plugin is trying to install its parent 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/MINVOKER-283?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D17= 405502#comment-17405502 ]=20 Michael McCallum commented on MINVOKER-283: ------------------------------------------- Also worth noting that different versions of the invoker plugin have the sa= me issue i.e. definitely something to do with maven 3.8.1. Tried linux vs m= ac as well just to be sure. > Change in behaviour with maven 3.8.2, invoker plugin is trying to install= its parent > -------------------------------------------------------------------------= ----------- > > Key: MINVOKER-283 > URL: https://issues.apache.org/jira/browse/MINVOKER-283 > Project: Maven Invoker Plugin > Issue Type: Bug > Affects Versions: 3.2.1, 3.2.2 > Environment: mvn -f pom.xml -s ..../maven/settings.xml --version > Apache Maven 3.8.2 (ea98e05a04480131370aa0c110b8c54cf726c06f) > Maven home: /usr/local/Cellar/maven/3.8.2/libexec > Java version: 16.0.2, vendor: Homebrew, runtime: /usr/local/Cellar/openjd= k/16.0.2/libexec/openjdk.jdk/Contents/Home > Default locale: en_NZ, platform encoding: UTF-8 > OS name: "mac os x", version: "11.5.2", arch: "x86_64", family: "mac" > Reporter: Jonathan Tew > Priority: Major > > When running maven 3.8.2, the integration test phase attempts the install= ation of the parent. > =C2=A0 > It fails when its already present in the respository. > =C2=A0 > This is a change in behaviour from running on maven 3.8.1. > h2. maven 3.8.2 > =C2=A0 > [*INFO*] *---* maven-invoker-plugin:3.2.1:install *(...integration-test)*= @ something-v3 *---* > [*INFO*] Installing /..blah../maven/repository/blah/blah-parent/2.10/blah= -parent-2.10.pom=C2=A0to=C2=A0/..blah../maven/repository/blah/blah-parent/2= .10/blah-parent-2.10.pom > [*INFO*] *---------------------------------------------------------------= ---------* > [*INFO*] *BUILD FAILURE* > [*INFO*] *---------------------------------------------------------------= ---------* > [*INFO*] Total time:=C2=A0 8.758 s > [*INFO*] Finished at: 2021-08-27T09:48:34+12:00 > [*INFO*] *---------------------------------------------------------------= ---------* > [*INFO*] Totally detected 0 potential finishing task(s) > [*ERROR*] Failed to execute goal org.apache.maven.plugins:maven-invoker-p= lugin:3.2.1:install *(...integration-test)* on project something-v3: *Faile= d to install project parents: MavenProject: something:something-v3:1.999-SN= APSHOT @ something-v3/pom.xml*: Failed to install POM: MavenProject: blah:b= lah-parent:2.10 @ /..blah../maven/repository/blah/blah-parent/2.10/blah-par= ent-2.10.pom: Failed to install artifact: blah:blah-parent:pom:2.10: Failed= to install artifact blah:blah-parent:pom:2.10: cannot install /..blah../ma= ven/repository/blah/blah-parent/2.10/blah-parent-2.10.pom to same path -> *= [Help 1]* > =C2=A0 > =C2=A0 > =C2=A0 > h2. maven 3.8.1 > [*INFO*] *---* maven-invoker-plugin:3.2.1:integration-test *(....integrat= ion-test)* @ something-v3 *---* > [*INFO*] Building: *sanity/pom.xml* > [*INFO*] Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d) > [*INFO*] Maven home: /usr/local/Cellar/maven/3.8.1 > [*INFO*] Java version: 16.0.2, vendor: Homebrew, runtime: /usr/local/Cell= ar/openjdk/16.0.2/libexec/openjdk.jdk/Contents/Home > [*INFO*] Default locale: en_NZ, platform encoding: UTF-8 > [*INFO*] OS name: "mac os x", version: "11.5.2", arch: "x86_64", family: = "mac" > [*INFO*] [INFO] Error stacktraces are turned on. > [*INFO*] [INFO] Scanning for projects... > =C2=A0 -- This message was sent by Atlassian Jira (v8.3.4#803005)