Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 10976 invoked from network); 8 Sep 2010 14:34:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Sep 2010 14:34:17 -0000 Received: (qmail 66852 invoked by uid 500); 8 Sep 2010 14:34:17 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 66531 invoked by uid 500); 8 Sep 2010 14:34:15 -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 66523 invoked by uid 99); 8 Sep 2010 14:34:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 14:34:14 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of thatguy1177@gmail.com designates 74.125.82.47 as permitted sender) Received: from [74.125.82.47] (HELO mail-ww0-f47.google.com) (74.125.82.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 14:34:09 +0000 Received: by wwb31 with SMTP id 31so95387wwb.16 for ; Wed, 08 Sep 2010 07:33:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=AJNe6voXeKd/zmqGUG9FrxDWH5y/KDBRol19P7HcqYU=; b=cmoP1m4Ot2DacHFGyN8wrmuqTVG+7Zrb0LhJ8Oo4qW1IFr/NWWujdsZaIA5Cb9krRw cthHA+z+FMf3jUvTWStef1peEbxcmVse3zyHGYai99wgbO8Zcixn/u3r4xeNe7RkSZa3 C59Af4uMUwKs+Et/onzt7888DXdfwR930Fw6k= 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:content-transfer-encoding; b=I9XkaTujcSWRVVmUFvGzw6yoeQPrwO54L0YwYycMRVLzjdQt8gUlp1U1caxPTiSDGL h6gBxgUiLCEmgL4oZtMMO9OAZXeUhFWcg/miqIJSGBq47jbkVNVsA4U2XeWN44cfn6ah Z1P6s5Cno340bxlWgb3Uq4QQW8MmfsbB+5G0A= MIME-Version: 1.0 Received: by 10.227.156.21 with SMTP id u21mr162985wbw.56.1283956427685; Wed, 08 Sep 2010 07:33:47 -0700 (PDT) Received: by 10.227.141.206 with HTTP; Wed, 8 Sep 2010 07:33:47 -0700 (PDT) In-Reply-To: <4C879D32.4000703@informatik.haw-hamburg.de> References: <4C879D32.4000703@informatik.haw-hamburg.de> Date: Wed, 8 Sep 2010 10:33:47 -0400 Message-ID: Subject: Re: how to suppress artifacts with extra classifiers From: Steve Miller To: ivy-user@ant.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Which configurations are you asking for in your ivy.xml file? Here's what I have used, and it only asks for the compile and runtime jars, which normally excludes sources and javadocs. Does this help or am I missing something? Steve compile,master;runtime->runtime"/> On Wed, Sep 8, 2010 at 10:26 AM, Lutz Behnke wrote: > Hi there, > > I need some help to _not_ get stuff from a maven2 Repository. Any hints > would be greatly appreciated. > > I have read any (I hope) entry on classifiers in the mailing list archive > but nothing seems to apply to my problem. > > My ivy config you will find below. > > I am using an Artifactory server as a proxy-repo to a number of Maven2 > compatible repos, searching the POMs for dependency information. These PO= Ms > contain dependencies for artefacts with classifiers (namely javadoc and > sources). > > Example: > asm-3.0.jar -> asm-3.0-javadoc.jar > > These artefacts are not contained in the remote repositories and I don't > need them neither. > > So here is my qustion: How do I tell ivy to ignore those dependencies. > > Everything else was resolved like a beauty, retreived and installed. It > would be sufficient for me to have ivy give a warning and simply ignore t= he > fact that it could not find the > > Because this is a somewhat large project (50+ artifacts including transie= nt > and only beginning), I would rather not add dummy artifacts to my enterpr= ise > repo in order to shut ivy up in a brute force way. > > > =A0 > =A0 value=3D"http://timadorus-hudson.informatik.haw-hamburg.de:8081/artifacto= ry" > /> > > =A0 > =A0 > =A0 > =A0 =A0 > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 root=3D"${org.repo.url}/remote-repos" > =A0 =A0 =A0 =A0 =A0 =A0 =A0 m2compatible=3D"true" /> > > =A0 =A0 =A0 > =A0 =A0 =A0 =A0 pattern=3D"${org.repo.url}/repo/[organisation]/[module]/[revision]/ivy.xm= l" /> > =A0 =A0 =A0 =A0 pattern=3D"${org.repo.url}/repo/[organisation]/[module]/[revision]/[artif= act]-[revision].[ext]" > /> > =A0 =A0 =A0 > =A0 =A0 > =A0 > > > > Thanks for any pointers > > mfg lutz > > -- > Lutz Behnke > Hochschule f=FCr Angewandte Wissenschaften Hamburg, > Labor f=FCr Allgemeine Informatik, > > phone: +49 40 42875-8156 =A0 =A0mailto:lutz.behnke@informatik.haw-hamburg= .de > fax =A0: +49 40 2803770 =A0 =A0 =A0 http://users.informatik.haw-hamburg.d= e/~sage > Berliner Tor 7, 20099 Hamburg, Germany > >