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 8916610F9B for ; Thu, 5 Sep 2013 16:11:12 +0000 (UTC) Received: (qmail 92563 invoked by uid 500); 5 Sep 2013 16:11:10 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 92079 invoked by uid 500); 5 Sep 2013 16:11:09 -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 92070 invoked by uid 99); 5 Sep 2013 16:11:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Sep 2013 16:11:08 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of eric.kolotyluk@gmail.com designates 209.85.160.44 as permitted sender) Received: from [209.85.160.44] (HELO mail-pb0-f44.google.com) (209.85.160.44) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Sep 2013 16:11:02 +0000 Received: by mail-pb0-f44.google.com with SMTP id xa7so1984484pbc.3 for ; Thu, 05 Sep 2013 09:10:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=5G/6Kk9A8SNDeyEbG8BldMK05gcwCxcWTQe9qXDu0Uo=; b=maVXb9CQsZTACI6BxCjrvKB5hvO7rlsbK0E1MvUOazroutuhodExWAHVzxtC6OPXiY +545sgjH+t6gL+n4rjxL13Fe1hvE2ukJeSVuti8ETSq3GlcCYIaLoDA3hQoBZGMpsGGT 8zcgA/lNtzD+YdaBktCGdrdNNAAHcnBXMdfJNgt7+BAScE6QpnSDVoJ1b+5KdGGKpTVl lM0YLa1aEiP4NTQizfecHGuy97bhD6/ge9lD9JjbK73PDBG/C+ro0UF0C+AF/x4E+ICt SF2YK/llBi/tirv2AC/dF0GJjtvCZHE+Dl/1al6OtK9Gult4aFfymBXbu5CBka3VjbH6 GpFQ== X-Received: by 10.68.160.5 with SMTP id xg5mr10001490pbb.173.1378397441644; Thu, 05 Sep 2013 09:10:41 -0700 (PDT) Received: from [192.168.0.20] (S0106602ad07f9cfa.vc.shawcable.net. [24.85.131.20]) by mx.google.com with ESMTPSA id vz4sm38915030pab.11.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Sep 2013 09:10:40 -0700 (PDT) Message-ID: <5228ACFF.6090009@gmail.com> Date: Thu, 05 Sep 2013 09:10:39 -0700 From: Eric Kolotyluk User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: users@maven.apache.org Subject: Re: Maven project as a shared library References: <1378369500071-5769523.post@n5.nabble.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org What I more commonly see are module naming conventions that make this pattern really obvious. For example common client server where common is a dependency of both client and server. Cheers, Eric On 2013-09-05 1:53 AM, Anders Hammar wrote: > Yes, it is called a dependency. Dependency Management is one of the core > things in Maven. I suggest you read one of the freely available > books/articles describing how Maven works [1]; it is well described there. > Is see that the link to Sonatype's book doesn't work any more. You can find > that book here [2]. > > [1] http://maven.apache.org/articles.html > [2] http://www.sonatype.com/resources/books > > /Anders > > > On Thu, Sep 5, 2013 at 10:25 AM, eaglefly wrote: > >> Hi, >> >> I would like to make maven project as a shared library. My purpose is to >> use >> one maven by two other projects. Do you know how to do something like this? >> >> Proj1 (use Proj3 as shared library) >> Proj2 (use Proj3 as shared library) >> Proj3 (shared library) >> >> >> >> -- >> View this message in context: >> http://maven.40175.n5.nabble.com/Maven-project-as-a-shared-library-tp5769523.html >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org >> For additional commands, e-mail: users-help@maven.apache.org >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org