Return-Path: X-Original-To: apmail-ant-ivy-user-archive@www.apache.org Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D20F46387 for ; Wed, 25 May 2011 01:08:06 +0000 (UTC) Received: (qmail 35803 invoked by uid 500); 25 May 2011 01:08:06 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 35775 invoked by uid 500); 25 May 2011 01:08:06 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 35767 invoked by uid 99); 25 May 2011 01:08:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 May 2011 01:08:06 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cody.casterline@gmail.com designates 209.85.213.173 as permitted sender) Received: from [209.85.213.173] (HELO mail-yx0-f173.google.com) (209.85.213.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 May 2011 01:08:01 +0000 Received: by yxk8 with SMTP id 8so3398187yxk.4 for ; Tue, 24 May 2011 18:07:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=Z8fFMRZ2Ax59qAGh/i6Dkvd/vEdszGktg+jSo/D6B70=; b=eBSaldMDKfQ8RZXX96fqsjVk8sP6yOmxLSHfZxch1lHMOc3Sc6TCboa3MyXPGoFywy WUqJMRmENyTtiOiHyMDZS6GSKdJVwb4fuZpALgslh6d3xQIbNmTMnzQV/ur5t9TK/dyd /sTLPH8U2Wxo6A3vN0PQcikYn3PPMPq7F+yc0= 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 :content-type; b=PdF6jUdyuYeAzwCmYgiqD0D5T41LUUsBefajFvDtYY1kIfUoViMyAqF7Xpl1a1llbC zPWsAgCtORei13kgCEniarPdEB/w76CRV4XyjHWgR9dn4sHrXzU+J7Aom422NPaIC4HY JzdNl+1Lgyvoh05SVLOjp+s0KdVw9CWQDqMAs= MIME-Version: 1.0 Received: by 10.151.24.14 with SMTP id b14mr4510041ybj.92.1306285660207; Tue, 24 May 2011 18:07:40 -0700 (PDT) Received: by 10.147.124.19 with HTTP; Tue, 24 May 2011 18:07:40 -0700 (PDT) In-Reply-To: References: Date: Tue, 24 May 2011 20:07:40 -0500 Message-ID: Subject: Re: Building a Repo -- Excludes Question From: Cody Casterline To: ivy-user@ant.apache.org Content-Type: multipart/alternative; boundary=000e0cd2574ac07cd304a40f5478 --000e0cd2574ac07cd304a40f5478 Content-Type: text/plain; charset=ISO-8859-1 On Tue, May 24, 2011 at 7:04 PM, Geoff Clitheroe wrote: > I don't see a direct dependency on javax.activation for > cxf-rt-frontend-jaxws so something else is calling for it. > > > http://search.maven.org/#artifactdetails%7Corg.apache.cxf%7Ccxf-rt-frontend-jaxws%7C2.4.0%7Cjar I figured as much, but I was hoping someone a bit more experienced might be able to pinpoint the issue and clarify why it's happening. I did a bit more searching (thanks, ivy:report!) and I think I figured it out: org.apache.cxf#cxf-rt-frontend-jaxws depends on: org.springframework#spring-webmvc depends on: org.springframework#spring-web depends on: javax.xml.soap#saaj-api depends on: javax.activation#activation While some other dependencies exclude javax.activation (like org.apache.cxf#cxf-api), because nothing in the above chain does, without an exclusion, my project does too. (Do please correct me if I'm wrong here.) :) Hmm, though, spring-web only depends on saaj-api as scope "provided", so it shouldn't have to download it, should it? see: http://search.maven.org/remotecontent?filepath=org/springframework/spring-web/3.0.5.RELEASE/spring-web-3.0.5.RELEASE.pom You will occasionally hit these problems. Doh! Ok, then my next question is what's the best way to handle these when they come up? > You may want to check out > http://code.google.com/p/ivyroundup/ Hmm. I'm not quite sure what this offers me over just using an resolver. > And to answer the final question. Yes! Run a repo manager as a proxy. > > http://maven.apache.org/repository-management.html Yikes! The reason I liked the solution at http://ant.apache.org/ivy/history/latest-milestone/tutorial/build-repository.html was because it *doesn't* require using a repo manager. I really don't want to have to hit the network to do builds. I want to make an on-disk repo and check it in with my source so that it's always available. Even if the network goes down or I'm on a plane. > This also gives you some options to do manual fixes for problems like > javax.activation I can do that with an on-disk repo too, though, can't I? Though I'm a bit vague on the best way to fix this case. --000e0cd2574ac07cd304a40f5478--