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 9F3B018E6F for ; Mon, 7 Dec 2015 19:54:40 +0000 (UTC) Received: (qmail 48059 invoked by uid 500); 7 Dec 2015 19:54:39 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 47991 invoked by uid 500); 7 Dec 2015 19:54:38 -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 47980 invoked by uid 99); 7 Dec 2015 19:54:38 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Dec 2015 19:54:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 21F921A072F for ; Mon, 7 Dec 2015 19:54:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.002 X-Spam-Level: X-Spam-Status: No, score=-0.002 tagged_above=-999 required=6.31 tests=[RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id AwTsvcnrfV8T for ; Mon, 7 Dec 2015 19:54:37 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id F36EE43A01 for ; Mon, 7 Dec 2015 19:54:36 +0000 (UTC) Received: from Karl-Heinzs-MacBook-Pro.local ([79.252.202.251]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MVeCF-1ZlKRI2lWJ-00Z0i7 for ; Mon, 07 Dec 2015 20:54:35 +0100 Reply-To: info@soebes.de Subject: Re: [rpm-maven-plugin] how to control the name under which rpm is stored in m2 repository? References: <5665D378.8020607@javactivity.org> To: Maven Users List From: Karl Heinz Marbaise Message-ID: <5665E3EE.2070105@gmx.de> Date: Mon, 7 Dec 2015 20:54:22 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <5665D378.8020607@javactivity.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:lyvVGjT8sDNgf0GOIL7xfBAOz0K7ySDlTtVkuJ9f9ou8NuQy20U sTR6SZNgfHEcUhGqEcd+jK4l/36Mj0xTR89aNFefevuWTFEbSj2kstq7VXnZ4H+ksErZauH oMbrvd5DrEnTnYGFfqHlrmYLwwGi1Vn/7pnHylWc88nSvOcyo+RG2tsO2w/TyknM6U2F6f4 DrW65x35P1xz574MS0GWA== X-UI-Out-Filterresults: notjunk:1;V01:K0:Il2MlqMOhtk=:IsSuwjs8WMK/36xXrZCwXI fBW8ESiJANnPJf9MsA5AiSSY6pubcmtM1Wb2a34q0d8ESdOcKtJb4okjtL5uPehmPKKzJf+dW kwcd7sEoDZg4eYUNUFTsM7TLEAcFd40JcoXienSziNz90lQujAu1V9Gdp0o85Cub1OxkXO+sD gkYntIQ+SBGm0pMooWW+0wz6mIlJAQJZR7zP5kUogK2074RLdyBH6kIE+6f+UnXXqqv95qhYa tNSQl9DVwx2uY9kBvoqRtD/Q9XiSWbFU5utf2nqQKpXnNj8R92ViDZVxCU3pHM7Pmk5A6ayDp GuD0LRskCJh50xfWAACkxxCfGw8jRwgUT8c7HElVQzx5/4ekoPUQ62rPDggO/g5uJmJstMnL2 igRDnE6piYY8OwzfPTY1egJ29pCpz1mcFZJHh6/x659l9RZXWcfJADvZGZpf6TfQx7yRN7Cd7 czf/Vpb+J3H92mmgQk8VCgjQRRbumSf7IRswwXBL3Eq+g5D/NrK9SQ8b4KDcO7HU8qqSGiMAl ur1LNnP7/fVeEfoX+a5ykdK5SftzyXkwf/y4dhIP1XpPEjRKOrG7zrwQk1l2klN2ZL6mC3cqW JcRQK3ZjMFkHYlas3VnhoqjdjeEMX4dkaWJfUxrgxcEumecUa9fEdp/NOQuG6KYOkVrtSaCrK haT4ndGkfvCWn9J5TJZ8y1MR+U6C4aCzmTlPYSbBbrq1EleCgyKHoF0j7HlBxHyBXa3N3BLSo Wh1vWoxqbZC2/hxTvLioBy4I+wtrIdzmcQuGm5xB4P+5Dq1SbKfnuZr4BytfmRXt3kuBeu/UV XfWO7Wa Hi Steve, simply answer to this: It is not possible... Long answer: Maven repositories dependending on an appropriate naming schema to find artifacts / versions etc. If you change that the whole system will not work at all.. So the name which is stored within a maven repository can't be changed. Kind regards Karl Heinz Marbaise On 12/7/15 7:44 PM, Steve Cohen wrote: > Our organization has a convention for naming rpms. Typically, the rpm > will have a shorter base name than the Maven project. There is also a > convention around how releases are named. So we want a name > like|${shortname}-${project.version}-${release}.noarch.rpm|. > > I want to build such rpms using the rpm-maven-plugin rather than older > nmake technology. > > And this is easily accomplished using the plugin's parameters. The rpm > generated in the target directory has the desired name. > > However, when|mvn install|installs this rpm into the maven repository, > it insists on storing it the "maven > way":|${project.artifactId}-${project.version}.rpm| > > I want the rpm stored in the standard maven repository directory using > the name that is initially created on package. > > I also tried using the maven-install-plugin (install-file goal) and did > not get the results I was after. > > How may I accomplish this? > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org