Gentoo Archives: gentoo-java

From: Kasun Gajasinghe <kasunbg@×××××.com>
To: gentoo-java@l.g.o, gentoo-soc@l.g.o
Cc: kiorky <kiorky@××××××××××.net>, Serkan Kaba <serkan@g.o>, Alistair Bush <ali_bush@g.o>
Subject: [gentoo-java] Gentoo Maven Integration - Weekly Report #3
Date: Tue, 14 Jun 2011 02:02:50
Message-Id: BANLkTi=gKWM3EcQbAyCG5SuR0dTDj96f9g@mail.gmail.com
1 Hi,
2
3 Goal:
4 The goal of this project is to be easily able to write ebuilds for
5 upstream projects that use Apache Maven as the build system. The Maven
6 integration allows to natively use Apache Maven in Java packages in
7 the main tree. The current system work around the support for Maven
8 projects by transforming them to Ant. It generates build.xml via “mvn
9 ant:ant” command and sanitizes that. This conversion too has some
10 problems and needs to fixed. With this project, developers gains the
11 ability to use native Maven support for writing ebuilds and will get
12 full support for using maven-to-ant feature.
13
14 Progress:
15
16 Bumped/fixed/added following ebuilds:
17
18 plexus-interactivity-api
19 plexus-velocity 1.1.8
20 plexus-io 1.0.1
21 plexus-archiver 1.2
22 fixed wagon-ftp, plexus-utils
23 maven-model to 2.2.1
24 stable plexus-container-default-1.0_alpha9-stable ebuild
25 plexus-container-default to 1.5.5
26
27 plexus-component-api is now merged to plexus-container-default. So, there is
28 no need to DEPEND on plexus-component-api anymore if you are using
29 plexus-container-default-1.5.5 ebuild.
30
31 Got the maven adding generated-sources via modello working. maven-model is
32 one example that is based on gen-src.
33
34 Started writing documentation at wiki [1]
35
36 Next:
37 * Package maven-plugins and all it's 20+ projects together. Currently,
38 there's no package structure for maven-plugins. So, have to make the project
39 structure by adding modules under artifact maven-plugins-aggregator.
40 trunk/ contains the needed project structure but adding SNAPSHOTS is not
41 really a good idea.
42 * Get the core maven components working. In other words get all the projects
43 listed at [3] working. There's two phases: packaging the tarball.
44 writing/bumping corresponding ebuilds.
45 * fix SRC_URIs of excalibur-* ebuilds. These are archived now, so the
46 current SRC_URI doesn't work anymore.
47
48 These tasks may probably take more than a week!
49
50 Any suggestions are welcome!
51
52 Thanks,
53 --Kasun
54
55 [1] https://overlays.gentoo.org/proj/java/wiki/Maven_Integration
56 [2] http://svn.apache.org/repos/asf/maven/plugins/trunk/
57 [3] https://svn.apache.org/repos/asf/maven/maven-2/tags/maven-2.2.1/
58
59 --
60 ~~~*******'''''''''''''*******~~~
61 Kasun Gajasinghe,
62 University of Moratuwa,
63 Sri Lanka.
64 Blog: http://kasunbg.blogspot.com
65 Twitter: http://twitter.com/kasunbg