Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 10019 invoked from network); 5 Nov 2010 18:29:31 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Nov 2010 18:29:31 -0000 Received: (qmail 19806 invoked by uid 500); 5 Nov 2010 18:30:00 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 19686 invoked by uid 500); 5 Nov 2010 18:30:00 -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 19678 invoked by uid 99); 5 Nov 2010 18:30:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 18:30:00 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stephen.alan.connolly@gmail.com designates 209.85.214.171 as permitted sender) Received: from [209.85.214.171] (HELO mail-iw0-f171.google.com) (209.85.214.171) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 18:29:55 +0000 Received: by iwn38 with SMTP id 38so2461544iwn.30 for ; Fri, 05 Nov 2010 11:29:35 -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=96kM8iT+gG/DOxKW+crj5jl21EK+wx8Z0i64IS+PayU=; b=Qube6/Nmq/aCs8bJW5Oz3R+l6WCBYnZ+sSXdTTAQkiH0P17Jj1y4NR5jN8Mi6gYZtO pMcEHReHNkqWGGT2BZ+c/Kty2DaLVP4OzZ915qagtc24ZfuF02gB7wBFSumVqFx7ce00 RPHOIh5v+L6EEUGN9iZRmiw7tiMf7oFfUbRpg= 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=CMDWC8+ltpDT0cNA6XOMxiumxE5F6/POQRSasRm1BBbJkx4DtvKRV8JKxt4ONJh219 7tD1zZLztES8Sq5FTXbTxwdQRR79oq+yMW4K+bmPKxGoJGbH2uk305EsjbNksUfwF/RP Cs9ToCyMw1hiuw5nf3DlgtVVrL+gIY84bRLOs= MIME-Version: 1.0 Received: by 10.231.30.193 with SMTP id v1mr2009760ibc.87.1288981775177; Fri, 05 Nov 2010 11:29:35 -0700 (PDT) Received: by 10.231.176.72 with HTTP; Fri, 5 Nov 2010 11:29:34 -0700 (PDT) In-Reply-To: References: Date: Fri, 5 Nov 2010 18:29:34 +0000 Message-ID: Subject: Re: Problems using maven-dependencies-plugin From: Stephen Connolly To: Maven Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable AFAIK, the xml model only defines four/five scopes compile runtime provided test system (deprecated) anything else is technically invalid, though a lot of maven versions fail to validate scopes completely (personally there need to be some more scopes: at least "bundled") -Stephen On 5 November 2010 17:27, Rafael Adson Barbosa Barros wrote: > Hi, > > I'm trying to use maven-dependencies-plugin along with flexmojos ( > https://github.com/Flexmojos/flexmojos). > What I want to do is use maven-dependencies-plugin to copy some dependenc= ies > to the destination. However, as the project is flex (and not java), I'm > having problems managing it since I have to manage some > dependencies that are defined in the external scope. > > Searching in the maven-dependencies-plugin code base I found: > > if ( !Artifact.SCOPE_COMPILE.equals( includeScope ) && > !Artifact.SCOPE_TEST.equals( includeScope ) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0&& !Artifact.SCOPE_PROVIDED.equals( includ= eScope ) && > !Artifact.SCOPE_RUNTIME.equals( includeScope ) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0&& !Artifact.SCOPE_SYSTEM.equals( includeS= cope ) ) > =A0 =A0 =A0 =A0throw new ArtifactFilterException( "Invalid Scope in inclu= deScope: " > + includeScope ); > > in the class org.apache.maven.shared.artifact.filter.collection.ScopeFilt= er, > that is not allowing me to use the plugin the way I want to. > > My question then is this: the plugin only supports today scopes that are > adequate for the java programming language. Should it not be > language-independent > (thus removing the presented code)? If it should be dependent on java, is > there some way that I can use the plugin to do what I want to do? > > Thanks, > Rafael. > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org