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 BD6CCEF55 for ; Wed, 16 Jan 2013 10:34:34 +0000 (UTC) Received: (qmail 21709 invoked by uid 500); 16 Jan 2013 10:34:32 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 21413 invoked by uid 500); 16 Jan 2013 10:34:32 -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 21394 invoked by uid 99); 16 Jan 2013 10:34:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jan 2013 10:34:31 +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 (nike.apache.org: domain of anders.g.hammar@gmail.com designates 209.85.217.175 as permitted sender) Received: from [209.85.217.175] (HELO mail-lb0-f175.google.com) (209.85.217.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jan 2013 10:34:25 +0000 Received: by mail-lb0-f175.google.com with SMTP id n3so596679lbo.6 for ; Wed, 16 Jan 2013 02:34:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=HgN7O0TDQS5BUFhr07HVchpBL5XDPUvJC6eChUGI2gA=; b=UJOl2bSWAiZVLXGygKonLTizEVf+nkZ1bgYLmV6ZYx9uqrdr8KOwu0utjRL4TfmnXf T0IGkd+kf086uYWen5W36e8p5wDTzJHMkg89rgxeTHhP8hR6WqgQZEWZyISEfwI9bOSN m98ieUvBRC9KLhGrVOl/qm44FFtVnk9TvCiMAnwFmbsxROgOAS+waotAJhH4mz4kAYmQ /bGXTYRQ+FSiUo/8ghuTdjFPwjfoFSV5AU02HwqdK64mSRSuXx0oeXF0HxGFTVrz5sfd hXToJ9c8vbouCG2ZEi7+9efRbSLHyhrXwlz23K6Pqw2Iz2zLLEKbCySHUE/Hm4heGAOv iCLA== MIME-Version: 1.0 X-Received: by 10.112.45.232 with SMTP id q8mr442411lbm.23.1358332445331; Wed, 16 Jan 2013 02:34:05 -0800 (PST) Sender: anders.g.hammar@gmail.com Received: by 10.114.69.18 with HTTP; Wed, 16 Jan 2013 02:34:05 -0800 (PST) In-Reply-To: <50F67C23.6080503@durchholz.org> References: <50F67C23.6080503@durchholz.org> Date: Wed, 16 Jan 2013 11:34:05 +0100 X-Google-Sender-Auth: gUkq3wDkO6u6-dawrilYe1_-mmA Message-ID: Subject: Re: Packaging up pre-existing jar and source jar From: Anders Hammar To: Maven Users List Content-Type: multipart/alternative; boundary=bcaec554dd9ce4134304d3656ac0 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec554dd9ce4134304d3656ac0 Content-Type: text/plain; charset=ISO-8859-1 You already have the artifacts. You just need to create the pom (with the correct metadata) and deploy the pom, lib.jar and lib-sources.jar to your maven repository. There are different ways of doing this, depending on your environment. /Anders On Wed, Jan 16, 2013 at 11:08 AM, Joachim Durchholz wrote: > Hi all, > > sorry if this is a FAQ but I didn't find instructions on maven.org for > this. > > I'm provided with a lib.jar and lib-sources.jar. > How do I make Maven generate an artifact from these, without recompiling > the sources? (lib-sources.jar needs to be available for debugging when > importing the artifact as a dependency in other Maven projects.) > > Any feedback appreciated! > Jo > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: users-unsubscribe@maven.**apache.org > For additional commands, e-mail: users-help@maven.apache.org > > --bcaec554dd9ce4134304d3656ac0--