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 061A9107EC for ; Fri, 3 May 2013 10:31:59 +0000 (UTC) Received: (qmail 55719 invoked by uid 500); 3 May 2013 10:31:57 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 55469 invoked by uid 500); 3 May 2013 10:31:56 -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 55446 invoked by uid 99); 3 May 2013 10:31:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 May 2013 10:31:56 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stephen.alan.connolly@gmail.com designates 209.85.212.182 as permitted sender) Received: from [209.85.212.182] (HELO mail-wi0-f182.google.com) (209.85.212.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 May 2013 10:31:52 +0000 Received: by mail-wi0-f182.google.com with SMTP id m6so453769wiv.15 for ; Fri, 03 May 2013 03:31:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=AvfcQNobWZ9UedpeZgWu8aaCsUWcYy0pA6lfH8izXGI=; b=g73PZN//Hj4ilrJnQp3rbwwB9/05rBM/75yWBvi3dpa9rXeumwi9wj8S/UWBrLEHPK GQkOVRo3Z3KFH6VFrbbDubw5ar04XVlrJC5m8x+kv8pmuEIkQ2aRgKR6fNjL8zcyPJze VcXzkAWuv5X1UKyPisWduvd6ikeJ6BrL7IL4ux+3wtJL4G7vuYcNDXhp56/KJmRcZnqN z31kCvE+m4I7k1WmG7aGWJhRd8RZUaieEOe0aXKepsP1f01bO009mODxEKGko+b2AZ5a 6fVmu3CGWHbyUogPXX6Mzzo2Mi5dc17RTUUusxYNJ9BT2KJFoe/OMaKWu9weU0hpzkVg 1zLQ== MIME-Version: 1.0 X-Received: by 10.180.184.11 with SMTP id eq11mr12364717wic.30.1367577090918; Fri, 03 May 2013 03:31:30 -0700 (PDT) Received: by 10.194.37.198 with HTTP; Fri, 3 May 2013 03:31:30 -0700 (PDT) In-Reply-To: References: Date: Fri, 3 May 2013 11:31:30 +0100 Message-ID: Subject: Re: cannot resolve POM with classifier? From: Stephen Connolly To: Maven Users List Content-Type: multipart/alternative; boundary=001a11c23f4eb5115004dbcdda32 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c23f4eb5115004dbcdda32 Content-Type: text/plain; charset=ISO-8859-1 I'd either do it something like maven-deploy-plugin public-artifact deploy deploy-file ${project.build.directory}/public-pom.xml ${project.build.directory}/some.jar ${project.build.directory}/some-javadoc.jar,${project.build.directory}/some-sources.jar jar,jar javadoc,sources Or I would use the non-maven-jar maven plugin and the dependency:copy plugins keeping the public pom as part of the reactor (for the case where you need to use the public pom as a dependency within your reactor On 3 May 2013 11:25, Stephen Connolly wrote: > yep > > > On 3 May 2013 11:18, Simone Tripodi wrote: > >> Thanks for the suggestion, Stephen! >> >> so you mean that rather than attaching the new pom to the original >> project, >> I should use the deployer to deploy a separated artifact, right? >> >> TIA, all the best, >> -Simo >> >> >> http://people.apache.org/~simonetripodi/ >> http://simonetripodi.livejournal.com/ >> http://twitter.com/simonetripodi >> http://www.99soft.org/ >> >> >> On Thu, May 2, 2013 at 2:21 PM, Stephen Connolly < >> stephen.alan.connolly@gmail.com> wrote: >> >> > Deploy at a different GAV. >> > >> > Used do this at a former employers. Internally we'd use one GA and the >> > publish externally at a different GA (same V) >> > >> > On Thursday, 2 May 2013, Simone Tripodi wrote: >> > >> > > Hi all, >> > > >> > > I am in the scenario where a POM is generated and attached in the main >> > > project, then will be deployed on the repo; that POM contains all >> > required >> > > dependencies my users need when developing custom applications. >> > > >> > > The issue comes when I would like to resolve the generated prom in an >> > > external project, becauee IIUC there is no way to: >> > > >> > > * inherit from a parent pom with a classifier; >> > > >> > > * declare its dependency in `dependencyManagement` with scope >> `import`. >> > > >> > > Does that mean that POM cannot have classifiers? Do you have any >> > > alternative solution? >> > > TIA! >> > > -Simo >> > > >> > > http://people.apache.org/~simonetripodi/ >> > > http://simonetripodi.livejournal.com/ >> > > http://twitter.com/simonetripodi >> > > http://www.99soft.org/ >> > > >> > >> > >> > -- >> > Sent from my phone >> > >> > > --001a11c23f4eb5115004dbcdda32--