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 1Q4auN-0007c8-Ay for garchives@archives.gentoo.org; Tue, 29 Mar 2011 15:32:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C33711C06D; Tue, 29 Mar 2011 15:32:22 +0000 (UTC) Received: from mail-pz0-f53.google.com (mail-pz0-f53.google.com [209.85.210.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 8301C1C06D for ; Tue, 29 Mar 2011 15:32:22 +0000 (UTC) Received: by pzk3 with SMTP id 3so64709pzk.40 for ; Tue, 29 Mar 2011 08:32:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:from:to:content-type :content-transfer-encoding:x-mailer:subject:mime-version:date:cc; bh=qmFeR4veRX9d1EA2V4gXiOVb1Iss5nNy6YJr4e4IPN4=; b=NWMTEZ040oBGb4wmUiDfUYEm8+69Zr5bTxAOO307vXa9ACZu9ZZ2BYo+uL0dXOq3/N IJJM4l2jUAdThhQ/+F7XGV840OxeP32e+YFATE5ihoyjGAvcvP8RGpjSkWMoR7oewFId nVrHNbo9VTfZWjTRi6SwQaj+4f7tAo/GBg1cI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding:x-mailer :subject:mime-version:date:cc; b=vYFYk3bgMB68s9Cuth/RqV65MInkGCkLNmamZYe67NLIlnvDJYWid93SKYNgaFR2di BA+EPz0NHLPuXW1yT2e3dOgLQPsdzKYQndVuxhAYTojT9854ghTgjaq0x3CKWt07MI7q AGlgBlDPsAQZpzF5YZ2c/5QE1aJNcPLfwrPsM= Received: by 10.142.208.11 with SMTP id f11mr240176wfg.231.1301412741813; Tue, 29 Mar 2011 08:32:21 -0700 (PDT) Received: from [111.223.163.90] ([111.223.163.90]) by mx.google.com with ESMTPS id w32sm7403355wfh.7.2011.03.29.08.32.15 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Mar 2011 08:32:20 -0700 (PDT) Message-Id: From: Kasun Gajasinghe To: "gentoo-soc@lists.gentoo.org" Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Mailer: iPhone Mail (7E18) Subject: Re: [gentoo-soc] [GSoC] Maven integration for Gentoo ebuilds 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 (iPhone Mail 7E18) Date: Tue, 29 Mar 2011 21:02:55 +0530 Cc: "gentoo-soc@lists.gentoo.org" X-Archives-Salt: X-Archives-Hash: 60536e2c230cbbdd4697e9bb3e8c3b5b On 29 Mar 2011, at 14:42, Petteri R=C3=A4ty = wrote: > On 03/29/2011 06:47 AM, 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 =20= >> to >> a _binary_ jar, how should the developers who write _ebuilds_ specify >> it? I got to know that dependencies are also ebuilds under gentoo =20 >> i.e. >> no binaries. >> > > I am not sure how POM files categorize dependencies but in general =20 > there > should be some kind of a mapping between the two. > >> 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 =20 >> [1], >> hope it's correct! :) ). Because maven offline building is the =20 >> 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=3D"${T}/maven-repo/" while >> Debian has REPO=3D/usr/share/maven-repo. Since the file-system will = be >> read-only for ebuilds, and ebuilds should be built offline, what's =20= >> the >> purpose of this? >> > > ${T} is a temporary directory for a single ebuild so it's writable. > >> Further, please let me know the other issues that needs to be >> addressed that you have in mind. It turned out that the project is >> challenging than I thought before, and is getting exciting now! >> > > Besides writing the needed infrastructure for building with Maven it > would also be useful to convert as much as possible of our manual > ebuilds to use that infrastructure so that the solution will also be > field tested. I see the work happening initially in a separate overlay > with the goal of main tree merging before the project is over. > Ok great. I saw that there is functionality to create user-defined =20 overlays at overlays.gentoo.org. I'll create a one there and do the =20 implementation. Hopefully I can add a clone of gentoo-x86/dev-java/ =20 there first? I'm not sure how the version controlling happens then =20 though! Surely, I'll convert the current manually ebuilds to that =20 infrastructure. I'm not aware of how much work is there. I'm hoping to =20= continue working on it even after the Google Summer of Code over. I think this is a great chance the students can get to contribute to =20 open-source development with the initial push with an individually =20 assigned mentor. I've done Google Summer of Code 2010 program under =20 DocBook open repository and has continued my work even after the =20 assigned project which gained me committer status. I'm sincerely =20 expect to do the same with Gentoo this year. Thanks, Kasun > Petteri >