From issues-return-139192-archive-asf-public=cust-asf.ponee.io@maven.apache.org Fri Oct 19 01:44:04 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 246EA18064E for ; Fri, 19 Oct 2018 01:44:03 +0200 (CEST) Received: (qmail 18382 invoked by uid 500); 18 Oct 2018 23:44:03 -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 18371 invoked by uid 99); 18 Oct 2018 23:44:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2018 23:44:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id D32EE180898 for ; Thu, 18 Oct 2018 23:44:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.5 X-Spam-Level: X-Spam-Status: No, score=-109.5 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, KAM_SHORT=0.001, 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 (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id jStBGZEZHaDc for ; Thu, 18 Oct 2018 23:44:01 +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 8F6725F170 for ; Thu, 18 Oct 2018 23:44: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 CA1BEE2072 for ; Thu, 18 Oct 2018 23:44:00 +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 2C8B42125A for ; Thu, 18 Oct 2018 23:44:00 +0000 (UTC) Date: Thu, 18 Oct 2018 23:44:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MNG-6490) maven fails reporting circular dependency when the dependency is a classified secondary artifact 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/MNG-6490?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D166560= 40#comment-16656040 ]=20 ASF GitHub Bot commented on MNG-6490: ------------------------------------- slachiewicz opened a new pull request #188: [MNG-6490] Maven fails reportin= g circular dependency when the depende=E2=80=A6 URL: https://github.com/apache/maven/pull/188 =20 =20 =20 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. =20 For queries about this service, please contact Infrastructure at: users@infra.apache.org > maven fails reporting circular dependency when the dependency is a classi= fied secondary artifact > -------------------------------------------------------------------------= ----------------------- > > Key: MNG-6490 > URL: https://issues.apache.org/jira/browse/MNG-6490 > Project: Maven > Issue Type: Bug > Components: Dependencies > Affects Versions: 3.5.2, 3.5.3, 3.5.4 > Environment: Ubuntu 16.0.4 LTS, Ubuntu 18.0.4 LTS, Mac OS High Si= erra, Oracle and OpenJDK 8, Oracle Java 11,=20 > Reporter: John Canny > Priority: Blocker > > As of maven 3.5.2, 3.5.3, 3.5.4, the following pom fails with the error > "dependencies.dependency. Main:MainJar:1' for Main:MainJar:1 is referenci= ng itself" > But the dependency is not circular, it references a classified jar (in ou= r use cases its an architecture-dependent native code container jar). The p= om below allows the main jar to be built without building the dependency ev= ery time (other lines conditionally build the dependency), and ensures the = appropriate pre-built dependency is loaded. Behavior in maven 3.5.0 and ear= lier was correct (i.e. no error). This breaks several of the usage scenario= s for classified artifacts... > =C2=A0 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 xmlns:xsi=3D"http://www.= w3.org/2001/XMLSchema-instance" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 xsi:schemaLocation=3D"ht= tp://maven.apache.org/POM/4.0.0 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> > =C2=A0 4.0.0 > =C2=A0 Main > =C2=A0 MainJar > =C2=A0 jar > =C2=A0 1 > =C2=A0 > =C2=A0=C2=A0=C2=A0 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ${project.groupId} > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ${project.artifactId} > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ${project.version} > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 linux > =C2=A0=C2=A0=C2=A0 > =C2=A0 > -- This message was sent by Atlassian JIRA (v7.6.3#76005)