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 EC459200B48 for ; Mon, 18 Jul 2016 20:22:57 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E94F9160A65; Mon, 18 Jul 2016 18:22:57 +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 4500E160A5D for ; Mon, 18 Jul 2016 20:22:57 +0200 (CEST) Received: (qmail 61821 invoked by uid 500); 18 Jul 2016 18:22:51 -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 60788 invoked by uid 99); 18 Jul 2016 18:22:27 -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, 18 Jul 2016 18:22:27 +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 57BA9C0283 for ; Mon, 18 Jul 2016 18:22:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.489 X-Spam-Level: X-Spam-Status: No, score=0.489 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, NO_DNS_FOR_FROM=0.379, T_DKIM_INVALID=0.01] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=neutral reason="invalid (public key: DNS error: SERVFAIL)" header.d=artifact-software.com header.b=hC6DfGZG; dkim=neutral reason="invalid (public key: DNS error: SERVFAIL)" header.d=artifact-software.com header.b=UYChW2OO 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 txhs-lbfb-d6 for ; Mon, 18 Jul 2016 18:22:21 +0000 (UTC) Received: from smtp.artifact-software.com (modemcable202.79-37-24.static.videotron.ca [24.37.79.202]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 788965F4E7 for ; Mon, 18 Jul 2016 18:22:20 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.artifact-software.com (Postfix) with ESMTP id F17E46A657F for ; Mon, 18 Jul 2016 13:10:00 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=artifact-software.com; s=default; t=1468861801; bh=x5oZWc2qPkPUog3DR4LLehyQzWmheLNLO9YQB8Aq1+0=; h=Reply-To:Subject:References:To:From:Date:In-Reply-To; b=hC6DfGZG7QUbv0dYTn/AZP26FFw73wXemeXyUQvlWqE2pJjrD3c6inhkAtf8ZwSax wt2BP3PGFjfhe/wguolXRhqsTjoMVjRgxShqhd9seSpEAugaF93jGd4Pi3vEP81hOq +9qGLQxlf5GJvbe9GvaRjGWulG0H/0FzjaoSaaLo= X-Virus-Scanned: amavisd-new at artifact-software.com Received: from smtp.artifact-software.com ([127.0.0.1]) by localhost (server4.artifact-software.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id U7S5WEzSqPDO for ; Mon, 18 Jul 2016 13:10:00 -0400 (EDT) Received: from [192.168.3.196] (unknown [192.168.3.196]) by smtp.artifact-software.com (Postfix) with ESMTP id 04FCA6A657D for ; Mon, 18 Jul 2016 13:09:59 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=artifact-software.com; s=default; t=1468861800; bh=x5oZWc2qPkPUog3DR4LLehyQzWmheLNLO9YQB8Aq1+0=; h=Reply-To:Subject:References:To:From:Date:In-Reply-To; b=UYChW2OOM331w0FavvcObNjwx5qjLBJUWe/OjpWhLWziuid10c7KPTy0K4f52wAxY 4CeX6nMCFGdmeQZ6HiN8VOBtFlu9vGLX0tMGVhdnMxJ10yCc+OTHcrc14wkF/7GnE4 xooZRZ/XZCSFBNY+scDBS7M+IIlbDUnCBPC08GHw= Reply-To: users@maven.apache.org Subject: Re: Resolving an Artifact from Remote Repository instead of Local References: <9BDC0E23-1354-47C7-A4F2-2FE422288067@inovexcorp.com> To: users@maven.apache.org From: Ron Wheeler Organization: Artifact Software Message-ID: Date: Mon, 18 Jul 2016 14:21:29 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit archived-at: Mon, 18 Jul 2016 18:22:58 -0000 What repo are you using locally - Nexus, Artifactory,....? Why is it not available to others? Ron On 18/07/2016 2:04 PM, Jordan Lewis wrote: > Is this question in the wrong mailing list? Is there a specific Aether mailing list? > > Thanks, > Jordan > > > > > On 7/14/16, 9:41 AM, "Jordan Lewis" wrote: > >> Hi All, >> >> This is a question about the Aether API. I’m working on building an index file which will point to the resolved artifact using bnd-indexer-maven-plugin. The indexer has an option to forbid the use of local URIs and that works fine as long as I don’t have the artifact in my local repository. I need the artifact to resolve to the remote repository so that anyone can use this index file and it won’t depend on my local repository. If the artifact is in my local repository though, it resolves to that artifact whenever the indexer code call system.resolveArtifact(..). I can get around this by clearing my local repository and then the artifact will resolve to the remote repository location just fine. I did some digging and it appears like you are always checking the localRepositoryManager first and then you check remote repositories. >> >> Is there a way to make it ignore the local repository resolution or set a repository priority order where it would check the remote repository before the local repository? >> >> Thanks, >> Jordan >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > -- Ron Wheeler President Artifact Software Inc email: rwheeler@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org