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 1Qeeve-0006qz-R4 for garchives@archives.gentoo.org; Thu, 07 Jul 2011 03:07:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47CE121C1A3 for ; Thu, 7 Jul 2011 03:07:02 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by pigeon.gentoo.org (Postfix) with ESMTP id CF8D0E0540; Thu, 7 Jul 2011 02:54:35 +0000 (UTC) Received: by fxd18 with SMTP id 18so614532fxd.11 for ; Wed, 06 Jul 2011 19:54:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=a65YEe+XJkOMmgYMC1wlHtkh28lVvU4GNkRul/oDbO8=; b=HyQGMqIbMc9Nt23meGxp6mky7IKiIBngy2Jj37eHsrqDgVHmEz+IgNOSJT5eXw56DO 4vZUioS/cIzE41Rb/eFQPXoEqqGA/GdaWB8XCevX007pknvp0x80M60P7OVN/rdJ3a7u YeA6I5dFT/XNWrHUjkCp/hY2oEtEvmkDuUbEI= Received: by 10.223.91.129 with SMTP id n1mr428041fam.113.1310007273189; Wed, 06 Jul 2011 19:54:33 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@lists.gentoo.org Reply-To: gentoo-java@lists.gentoo.org MIME-Version: 1.0 Received: by 10.223.72.196 with HTTP; Wed, 6 Jul 2011 19:54:12 -0700 (PDT) From: Kasun Gajasinghe Date: Thu, 7 Jul 2011 08:24:12 +0530 Message-ID: Subject: [gentoo-java] Gentoo Maven Integration - Weekly Report #6 To: gentoo-soc@lists.gentoo.org Cc: gentoo-java@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 2e3c0c8f310c275b84e280a40c33af23 Hi all, -----------------Goal----------------- The goal of this project is to be easily able to write ebuilds for upstream projects that use Apache Maven as the build system. The Maven integration allows to natively use Apache Maven in Java packages in the main tree. The current system work around the support for Maven projects by transforming them to Ant. It generates build.xml via =E2=80=9Cm= vn ant:ant=E2=80=9D command and sanitizes that. This conversion too has some problems and needs to fixed. With this project, developers gains the ability to use native Maven support for writing ebuilds and will get full support for using maven-to-ant feature. -----------------Progress----------------- First of all, Good News. I was finally able to build maven and it's hefty 50+ dependencies from source. Now, it emerges successfully, and passed the few tests I did. I have waited a little while before sending this report to ensure that I haven't missed something. With this, the milestone for the mid-term is complete. In the next days, I'll be testing the package, and fix the few glitches I find on the way. Here's a little description about what I was doing in the last week. Basically, I have bumped apache-maven and it emerges without any issue. At testing I have found two issues; one is dependency conflict, and other is another dependency issue having wrong version. First issue, the dependency conflict was due to the conflict of maven deps with the dependencies of the project we are building. Basically, Apache Maven is a build management tool which take of almost everything including dependency downloading and handling. Maven uses a mechanism called shading classes (using maven-shade-plugin) to avoid these conflicts. Since maven-shade-plugin should be built from maven itself, we had to find another alternative. Finally, Jarjar came for the rescue! So, this issue is now fixed. The full discussion that went with Maven upstream developers can be found at http://maven.40175.n5.nabble.com/Gentoo-maven-intg-Intermediary-sh= aded-source-files-generated-by-maven-shade-plugin-td4546889.html Second issue was due to some misconfiguration and wrong dep of maven-remote-resources plugin. It failed with ClassNotFoundException for the class org.codehaus.plexus.velocity.DefaultVelocityComponent which was in the package plexus-velocity. After some rigorous period, found that it was due to doxia version, the which has no particular connection maven-remote-resources plugin! Anyway, the issue is fixed now. Full discussion that went with Maven upstream developers can be found at http://maven.40175.n5.nabble.com/Gentoo-Maven-Intg-plexus-velocity-missing-= maven-remote-resources-plugin-fails-with-a-ClassNotFoundExn-td4544174.html It's been fun and exciting week! Regards, --Kasun -- ~~~*******'''''''''''''*******~~~ Kasun Gajasinghe, University of Moratuwa, Sri Lanka. Blog: http://blog.kasunbg.org Twitter: http://twitter.com/kasunbg