From issues-return-135058-archive-asf-public=cust-asf.ponee.io@maven.apache.org Thu Jul 19 22:25:05 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 E7C5A180630 for ; Thu, 19 Jul 2018 22:25:04 +0200 (CEST) Received: (qmail 33215 invoked by uid 500); 19 Jul 2018 20:25: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 33203 invoked by uid 99); 19 Jul 2018 20:25:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jul 2018 20:25:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 8E722C2AB3 for ; Thu, 19 Jul 2018 20:25:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, 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-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id SyaDqou0Qz6v for ; Thu, 19 Jul 2018 20:25:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 185145F402 for ; Thu, 19 Jul 2018 20:25:02 +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 644D1E0FAB for ; Thu, 19 Jul 2018 20:25:01 +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 E124C27143 for ; Thu, 19 Jul 2018 20:25:00 +0000 (UTC) Date: Thu, 19 Jul 2018 20:25:00 +0000 (UTC) From: "Jim Showalter (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MNG-6448) Need to be able to tell Maven to not bother trying to download particular sources jars 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-6448?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Jim Showalter updated MNG-6448: ------------------------------- Attachment: (was: pom.xml) > Need to be able to tell Maven to not bother trying to download particular= sources jars > -------------------------------------------------------------------------= ------------- > > Key: MNG-6448 > URL: https://issues.apache.org/jira/browse/MNG-6448 > Project: Maven > Issue Type: Bug > Components: Dependencies > Reporter: Jim Showalter > Priority: Major > Attachments: pom.xml > > > Sources jars are optional, so Maven has no way of knowing if a project de= cided to publish a sources jar. Even if the code and released jar hasn't ch= anged since 1998, somebody might edit the build pom to generate a sources j= ar. > This causes Maven to attempt to fetch non-existent sources jars in perpet= uity. > Maven waits several seconds when attempting to fetch a sources jar before= giving up. > We have 142 sourceless jars on our build path. > The=C2=A0wait time multiplied by 142 winds up adding 11 minutes to our bu= ilds. > We don't want to shut off sources jars, because, when they exist, develop= ers use them to step through code. But we don't want Maven to keep trying t= o download sources jars we know don't exist and are pretty sure will never = exist. > Something like a section in settings.xml for ignoreSourcesJars that allow= ed us to list the ones to ignore would be great. > I'm happy to help with this if someone can point me to where in the code = a change like this needs to be made. -- This message was sent by Atlassian JIRA (v7.6.3#76005)