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 #9
Date: Wed, 27 Jul 2011 20:20:20
Message-Id: CADg9GQYz1+w9Tguz0fTuOBZa3Wj3wT9zw290ZramncZREsn+ow@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 -----------------Progress-----------------
14 During this week, I have bumped the basic set of maven plugins that
15 are needed for offline operation of maven. These were done via mvn
16 ant:ant approach. These include maven-compiler-plugin,
17 maven-resources-plugin, maven-jar-plugin, maven-clean-plugin, etc.
18 In the meanwhile, I have started looking in to the java-maven-2 eclass
19 to understand what are the missing bits that needs to be filled. I
20 fixed some bugs associated with local repo.
21 In the meanwhile, I've fixed eselect-maven to contain our maven dist maven-2.
22
23 During past few days, I've been looking in to a proper implementation
24 on specifying the installed plugin versions to make mvn see it. There
25 are several solutions for the solution but neither are optimal. [1]
26
27 As discussed with mentor (kiorky), I'm switching from plugin impl/pom
28 rewritings to native eclass work from today. The idea is to finish up
29 eclass thing and then put full focus on parent-pom resolution,
30 setting plugin or dependency versions,maven local repo structure.
31
32 [1] http://maven.40175.n5.nabble.com/Set-specific-plugin-versions-for-a-project-issue-in-plugin-registry-xml-maven-metada-local-xml-td4629803.html
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