Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D8DE5C91B for ; Tue, 1 May 2012 23:06:25 +0000 (UTC) Received: (qmail 71674 invoked by uid 500); 1 May 2012 23:06:23 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 71615 invoked by uid 500); 1 May 2012 23:06:23 -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 71600 invoked by uid 99); 1 May 2012 23:06:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 May 2012 23:06:23 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cerebrotecnologico@gmail.com designates 209.85.220.171 as permitted sender) Received: from [209.85.220.171] (HELO mail-vx0-f171.google.com) (209.85.220.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 May 2012 23:06:16 +0000 Received: by vcbfl15 with SMTP id fl15so36226vcb.30 for ; Tue, 01 May 2012 16:05:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=GcBV6H/D6MKC+LXVgY0GCClcYcI08Yf4lclw3397w4c=; b=GLDt6Z329+5Zd3fVase50b86cM5PXKad0mSgNLze4mV8rZIo55hVuIMscR2iSdMQ/v cukJDcukZML4itgPyKAV5osLnUmr2gy4xT38PaqxdaXfPddJVbYE91/8KvxcYiEk4e8Z rLV3CoW1VfPiOKtBnoYq+a11lDiWXt87Xwv3nVE/uu6e0wRWiqzIdmmB3Mzx5Hk92Umi 5XqLd0cUjxV8MXJUUHuOqlWClVQSG6w4Cz78XY8uGFizePHMErlFdVTZW16+IOfJocoP nF5KdwbHkVV2jgb5zzQxj3dvv3ccZPWpFJ0ueK+SyXk1l0mgKekzzMMJFLh3Nim3KdR5 l17A== MIME-Version: 1.0 Received: by 10.52.70.209 with SMTP id o17mr1454302vdu.11.1335913555199; Tue, 01 May 2012 16:05:55 -0700 (PDT) Received: by 10.220.178.5 with HTTP; Tue, 1 May 2012 16:05:55 -0700 (PDT) Date: Tue, 1 May 2012 16:05:55 -0700 Message-ID: Subject: Dependency in an assembly (zip file) From: Jorge Medina To: users@maven.apache.org Content-Type: text/plain; charset=ISO-8859-1 Hi, I have a project A with multiple modules, one of the modules called "alfa" has "jar" that produces a JAR file but it also produces a ZIP file through the maven-asembly-plugin. In my Nexus repository I get the JAR and ZIP file as alfa-X.Y.Z.jar alfa-X.Y.Z-alfa.zip I have a second project B where I need to specify the ZIP file as a dependency, but I can't figure how to specify this dependency. I tried: com.example.projectA alfa zip X.Y.Z but as I expected that looks for alfa-X.Y.Z.zip , not alfa.X.Y.Z-alfa.zip How do I modify project A or project B to be able to specify the dependency in the ZIP file ? Does project A should be of "pom" packaging rather than "jar" ? -Jorge --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org