Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 78285 invoked from network); 12 Nov 2009 06:58:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Nov 2009 06:58:43 -0000 Received: (qmail 76316 invoked by uid 500); 12 Nov 2009 06:58:40 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 76212 invoked by uid 500); 12 Nov 2009 06:58:40 -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 76201 invoked by uid 99); 12 Nov 2009 06:58:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Nov 2009 06:58:40 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of glahiru@gmail.com designates 209.85.211.194 as permitted sender) Received: from [209.85.211.194] (HELO mail-yw0-f194.google.com) (209.85.211.194) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Nov 2009 06:58:37 +0000 Received: by ywh32 with SMTP id 32so1887966ywh.14 for ; Wed, 11 Nov 2009 22:58:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=9T8dmjobpxKWBMWSxlBUmyQP9sLQFPWlrhZDl/xR4OI=; b=jmNvDf4AcOc5ck8fDD2snf/pgMSvOzzQwHbJ/pLxmdS6bRBsVpQxeUPynkgE+/5GRd zgJSmzRnH6OKb9mxGYTnPA0Ox5pKnJk/ZRHt3mGApYMrXM7vv7dSgFjwgnv6HKT5eTu1 e0mYFnzq/fzlovnQnaNDJJVVOJJdkiiWuLF4M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=m0Zo1FgZn8OKnz5mUynhB3yx5BB73U6CGaJck9UqSuBqrNgeH4/Zu45n3ZLFhVCEKB /Z1SCix7Gur6fcVMz8ogFO0C1sG8x8C383Cuf+SXNSWsXLZf9YtC6SZrXMW67W/Cpz9d BYBryakJytMpMmFwuP7juInwuK8olUBnJbQB8= MIME-Version: 1.0 Received: by 10.90.215.9 with SMTP id n9mr3898232agg.98.1258009096358; Wed, 11 Nov 2009 22:58:16 -0800 (PST) In-Reply-To: <88c1b40911112240r4c67c23bwabeefa2e03c01e70@mail.gmail.com> References: <72b4c7110911112232n72f24be2r5cb74eab8ee4d9b4@mail.gmail.com> <88c1b40911112240r4c67c23bwabeefa2e03c01e70@mail.gmail.com> Date: Thu, 12 Nov 2009 12:28:16 +0530 Message-ID: <72b4c7110911112258i681d632avef8b083acf5e0d8e@mail.gmail.com> Subject: Re: How to fix the java.net repository relocation From: Lahiru Gunathilake To: Maven Users List Cc: stephen.alan.connolly@gmail.com Content-Type: multipart/alternative; boundary=0016368336f0500d370478271166 --0016368336f0500d370478271166 Content-Type: text/plain; charset=ISO-8859-1 Hi Stephen, On Thu, Nov 12, 2009 at 12:10 PM, Stephen Connolly < stephen.alan.connolly@gmail.com> wrote: > AFAIK, > > Axis2 is an apache project and would be deploying to repo1.maven.org. > The rules for repo1.maven.org are that you cannot rely on any > artifacts which are not hosted on repo1.maven.org. > I think there were artifacts hosted and now it's moved. As such, I would expect that Axis2 _should not_ require artifacts from > java.net, and should not have any sections in their > pom.xml files. Yes axis2 doesn't have any repository section in it's pom files but when I manually add the relocated repo in to the Axis2 pom it successfully get some of the artifacts and later on it again refer to the wrong location and get a html content in the the pom file. please refer the error here[1]. > (OK technically they are allowed ones which are only > enabled for -SNAPSHOTs... but it cannot be enabled for releases) > > That is the theory, now it may well be that Axis2 is being bold and > depending on java.net. > > To answer your question. Your best bet is to set up a maven > repository manager (e.g. nexus, artifactory, etc) and configure your > settings.xml to use that repository manager as * > I will try for this and get back to you. [1]http://www.pastie.org/694974 Thanks in advance Lahiru > > Then you can add all the repositories you want to source artifacts > from to your repository manager, and you should be able to build. > > Also this sounds more like a question for the Axis2 list > > -Stephen > > 2009/11/12 Lahiru Gunathilake : > > Hi all, > > > > I am trying to build set stack of java products which fails due to the > > relocation of https://maven-repository.dev.java.net/nonav/repository/. > From > > the product stack I am buiding Apache Axis2 very first and I cannot see > this > > repository in Axis2 pom.xml. So I tried to put the new location in to > Axis2 > > pom and tried to build but still it's failing with some other artifacts. > I > > wanted to change the location where we artifacts pointing to this > location, > > so I ran a grep command inside my .m2 directory but I couldn't find any > of > > the .pom file where it refer to this repository. > > > > I'm ahead of a release and have to do a clean repository build, so can > > someone please help me to avoid this problem. > > > > Regards > > Lahiru > > > > -- > > Apache Qpid, Worlds dominant messaging middleware..!!! > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > -- Apache Qpid, Worlds dominant messaging middleware..!!! --0016368336f0500d370478271166--