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 AB35A11ED2 for ; Thu, 24 Jul 2014 11:25:14 +0000 (UTC) Received: (qmail 91694 invoked by uid 500); 24 Jul 2014 11:25:12 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 91615 invoked by uid 500); 24 Jul 2014 11:25:12 -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 91603 invoked by uid 99); 24 Jul 2014 11:25:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jul 2014 11:25:12 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hws689@gmail.com designates 209.85.219.45 as permitted sender) Received: from [209.85.219.45] (HELO mail-oa0-f45.google.com) (209.85.219.45) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jul 2014 11:25:06 +0000 Received: by mail-oa0-f45.google.com with SMTP id i7so3439584oag.4 for ; Thu, 24 Jul 2014 04:24:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=KlmeGuGpDiX/a2v677ilqf98R85dsaL3UttJfH1Eczo=; b=K/o+WRAIx3rP0p81L4mihXmhkPRfV1XkIVCII0cOrawKv+dnFnt1hkg1pX9NZp9iI4 mBemZ3Pc1jedid1VYMCBs3QGZJV7F3DjqBO8PonM7pGIPByyNX1IQ0S75j0YaKfOZFUE 9kZB7Rn8ryCuZ/T40PtbPXSFaUBViz4a9Iul1GHGFnH5bqN3n3i2ozV834MJ5NrzH0+E 07dN21AySpNy3rFbj8L8apzFQzi9OR0EMUq5Owrht7wox/8HaSeusinaB3PRZI4DRiUg 5/nHl8JsNKpCKsahJhjNnwaak55fl8AsMDlUfz5t+lhioiGv7wCIDaQt5MuUS/Apb73I ayFQ== MIME-Version: 1.0 X-Received: by 10.182.60.42 with SMTP id e10mr11977435obr.33.1406201086356; Thu, 24 Jul 2014 04:24:46 -0700 (PDT) Received: by 10.202.9.204 with HTTP; Thu, 24 Jul 2014 04:24:46 -0700 (PDT) In-Reply-To: <5F274ED30832C44A8778291D0DD82A7A36F7D2@ev002.EVANS6.local> References: <5F274ED30832C44A8778291D0DD82A7A36F7D2@ev002.EVANS6.local> Date: Thu, 24 Jul 2014 08:24:46 -0300 Message-ID: Subject: Re: Upload 3rd party jars retaining original names From: Hilton Wichwski Silva To: Maven Users List Content-Type: multipart/alternative; boundary=047d7b673cb03c348204feeeb47e X-Virus-Checked: Checked by ClamAV on apache.org --047d7b673cb03c348204feeeb47e Content-Type: text/plain; charset=UTF-8 Maybe this help http://maven.apache.org/plugins/maven-dependency-plugin/copy-mojo.html 2014-07-24 8:20 GMT-03:00 David Evans : > Is it possible to put a bunch of 3rd party jars into a Maven repository > so that they can be accessed by a project using their original names? > > I am developing against a 3rd party software package that includes about > a dozen supporting jar files. I am trying to upload these jars into a > Maven repository such that I can put a dependency in my development > project that puts all of the original jars on my classpath. I have > tried: > > * insert jars individually (and as a collection) using Nexus console but > the stored jar is named {artifactId}-{version} > > * create jar projects with various source structures but, again, the > stored jar is named {artifactId}-{version} > > * create a jar project containing an assembly: I can make the 3rd party > jars visible with their original names but, yet again, they are put into > in a jar named {artifactId}-{version}. > > Context is that I'm just beginning to try and replace historical > Ant/Eclipse projects with Maven/Eclipse. I've read through "Maven The > Definitive Guide" and Googled as much as I can but I'm at a stage where > I'm not even sure I'm asking sensible questions. If there's a "how to" > document around (with worked examples rather than isolated XML > fragments) that would be great. If I'm missing the point of Maven and > trying to implement an Ant concept that would be good to know too. > > Thanks in advance > > David > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > --047d7b673cb03c348204feeeb47e--