From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q4QDQ-0000sB-7i for garchives@archives.gentoo.org; Tue, 29 Mar 2011 04:07:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 185601C0F9; Tue, 29 Mar 2011 04:07:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id DD34E1C0F9 for ; Tue, 29 Mar 2011 04:07:19 +0000 (UTC) Received: from [10.0.0.10] (unknown [78.185.232.74]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: serkan) by smtp.gentoo.org (Postfix) with ESMTPSA id CA9711B40AB for ; Tue, 29 Mar 2011 04:07:18 +0000 (UTC) Message-ID: <4D915AF2.5030602@gentoo.org> Date: Tue, 29 Mar 2011 07:07:14 +0300 From: Serkan Kaba Organization: Gentoo User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110313 Lightning/1.0b3pre Thunderbird/3.1.9 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-soc@lists.gentoo.org Reply-to: gentoo-soc@lists.gentoo.org MIME-Version: 1.0 To: gentoo-soc@lists.gentoo.org Subject: Re: [gentoo-soc] [GSoC] Maven integration for Gentoo ebuilds References: <1301171717.31104.240.camel@big_daddy.dol-sen.ca> <4D8E528F.6020009@gentoo.org> <4D8EF564.8020002@gentoo.org> In-Reply-To: X-Enigmail-Version: 1.1.2 OpenPGP: id=88AF65A2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 96712ef77fcbe2bdb1e7cf62d843ae30 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 29-03-2011 06:47, Kasun Gajasinghe wrote: > I'd like to know how the dependencies will be handled by maven based > ebuilds. Can you let me know the difference between dependencies > specified in Maven's POM file, and ebuild's dependencies? Are both > should be same? Since, Maven's POM contains the unique artifacts IDs > (with the combination of groupId, artifactId, version) which points to > a _binary_ jar, how should the developers who write _ebuilds_ specify > it? I got to know that dependencies are also ebuilds under gentoo i.e. > no binaries. POM dependencies can be too restrictive sometimes, like depending on a specific version. We should be depending on any version (or sometimes with >=,<=) as long as the package compiles and runs fine with it. > I've been going through the Ralph's (nick: sera ) suggested eclass > [1]. It turned out to be very useful. (sera, I got your name from [1], > hope it's correct! :) ). Because maven offline building is the biggest > issue Gentoo is currently facing, As Petteri suggested, I've been > going through to see how other distributions handle this. I see that > both in sera's eclass and in Debian's MavenRepoSpec [2], that they > specify a variable which points to a maven local-repository location. > Ralph's eclass specified MAVEN_REPO_DIR="${T}/maven-repo/" while > Debian has REPO=/usr/share/maven-repo. Since the file-system will be > read-only for ebuilds, and ebuilds should be built offline, what's the > purpose of this? We then still need to add symlinks to jars during build time in there which is an "access violation" in sand box. - -- Sincerely, Serkan KABA Gentoo Developer -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2RWvIACgkQRh6X64ivZaLfkgCfVF99iZaa6Pa+dTlC4cjuLvZd ILkAn34OooCvrNy6uu9yEg4bua/q7X6G =staW -----END PGP SIGNATURE-----