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 D523B10F3C for ; Sun, 5 May 2013 16:16:50 +0000 (UTC) Received: (qmail 13415 invoked by uid 500); 5 May 2013 16:16:48 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 13324 invoked by uid 500); 5 May 2013 16:16:48 -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 13315 invoked by uid 99); 5 May 2013 16:16:48 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 May 2013 16:16:48 +0000 Received: from localhost (HELO columbia) (127.0.0.1) (smtp-auth username rfscholte, mechanism login) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 May 2013 16:16:47 +0000 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "Maven Users List" Subject: Re: Artifact's file References: Date: Sun, 05 May 2013 18:16:44 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Robert Scholte" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.15 (Win32) Hi, Just a guess: your project has to be aware of the mapping from packaging-type to file extension. So you have to add the packaging-plugin to your project, and add "true" See http://books.sonatype.com/mvnref-book/reference/writing-plugins-sect-plugins-lifecycle.html, final paragraph. Robert Op Sun, 05 May 2013 17:29:36 +0200 schreef Igor Zapletnev : > I have my custom packaging type (for example, test-type and my mojo for > package goal for test-type artifacts). My package mojo properly set file > for artifact (project.getArtifact().setFile(destination)) and install it > in > the m2 repo. > > But when another plug-in has dependency on this plug-in (with test-type > packaging type) file is null for this artifact dependency. > > But I am able see this file in m2 repo, could you please explain how > maven > stores references on artifact's file and how this file will be resolved? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org