Gentoo Archives: gentoo-soc

From: Kasun Gajasinghe <kasunbg@×××××.com>
To: gentoo-soc@l.g.o
Cc: kiorky <kiorky@××××××××××.net>, Serkan Kaba <serkan@g.o>, Alistair Bush <ali_bush@g.o>
Subject: [gentoo-soc] Gentoo Maven Integration - Weekly Report #8
Date: Thu, 21 Jul 2011 14:30:10
Message-Id: CADg9GQYNu6+jqC-FOKjpLNOxpNbDttVb-bE_b2g4W3ZEScZnaQ@mail.gmail.com
1 Hi all,
2 -----------------Goal-----------------
3 The goal of this project is to be easily able to write ebuilds for
4 upstream projects that use Apache Maven as the build system. The Maven
5 integration allows to natively use Apache Maven in Java packages in
6 the main tree. The current system work around the support for Maven
7 projects by transforming them to Ant. It generates build.xml via “mvn
8 ant:ant” command and sanitizes that. This conversion too has some
9 problems and needs to fixed. With this project, developers gains the
10 ability to use native Maven support for writing ebuilds and will get
11 full support for using maven-to-ant feature.
12
13
14 -----------------Progress-----------------
15 This week has been spent on working on ebuilds related to maven plugins, and
16 native eclass implementation.
17 Packaging maven plugins turned out to be a little heavier than the
18 maven dependencies I've packaged earlier. This is mainly because of
19 the inabilities of ant. My earlier plan was to package the plugins
20 natively. But there were few plugins where I had to follow the ant:ant
21 approach. The needed plugins include maven-compiler-plugin, surefire,
22 maven-jar-plugin, etc.
23 I have changed the java-maven-plugins eclass to make it work with
24 current ebuilds. Mainly the dep fixes has been done. In the meanwhile,
25 I have started working on the java-maven-2 eclass. src_compile is
26 complete. src_install needs to be done, which is somewhat challenging.
27
28 Current plan is to  have the basic plugins packaged by next Monday.
29 And then, have the native eclass working by Friday in the coming week.
30 This plugins requirement is unexpected. It could be bigger than what I
31 have aimed. Because of this, I'm getting a bit late on the schedule.
32 Will catch up soon.
33
34 Regards,
35 --Kasun
36
37 --
38 ~~~*******'''''''''''''*******~~~
39 Kasun Gajasinghe,
40 University of Moratuwa,
41 Sri Lanka.
42 Blog: http://blog.kasunbg.org
43 Twitter: http://twitter.com/kasunbg