Gentoo Maven Integration - Weekly Report #3
Kasun Gajasinghe <[email protected]> Tue, 14 Jun 2011 07:31:36 +0530
| Newsgroups | gmane.linux.gentoo.summer-of-code,gmane.linux.gentoo.java |
|---|---|
| Message-ID | <[email protected]> |
--00151747b362a485bf04a5a26b17
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hi,
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:
Bumped/fixed/added following ebuilds:
plexus-interactivity-api
plexus-velocity 1.1.8
plexus-io 1.0.1
plexus-archiver 1.2
fixed wagon-ftp, plexus-utils
maven-model to 2.2.1
stable plexus-container-default-1.0_alpha9-stable ebuild
plexus-container-default to 1.5.5
plexus-component-api is now merged to plexus-container-default. So, there i=
s
no need to DEPEND on plexus-component-api anymore if you are using
plexus-container-default-1.5.5 ebuild.
Got the maven adding generated-sources via modello working. maven-model is
one example that is based on gen-src.
Started writing documentation at wiki [1]
Next:
* Package maven-plugins and all it's 20+ projects together. Currently,
there's no package structure for maven-plugins. So, have to make the projec=
t
structure by adding modules under artifact maven-plugins-aggregator.
trunk/ contains the needed project structure but adding SNAPSHOTS is not
really a good idea.
* Get the core maven components working. In other words get all the project=
s
listed at [3] working. There's two phases: packaging the tarball.
writing/bumping corresponding ebuilds.
* fix SRC_URIs of excalibur-* ebuilds. These are archived now, so the
current SRC_URI doesn't work anymore.
These tasks may probably take more than a week!
Any suggestions are welcome!
Thanks,
--Kasun
[1] https://overlays.gentoo.org/proj/java/wiki/Maven_Integration
[2] http://svn.apache.org/repos/asf/maven/plugins/trunk/
[3] https://svn.apache.org/repos/asf/maven/maven-2/tags/maven-2.2.1/
--=20
~~~*******'''''''''''''*******~~~
Kasun Gajasinghe,
University of Moratuwa,
Sri Lanka.
Blog: http://kasunbg.blogspot.com
Twitter: http://twitter.com/kasunbg
--00151747b362a485bf04a5a26b17
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hi,<br>
<br>
Goal:<br>
The goal of this project is to be easily able to write ebuilds for<br>
upstream projects that use Apache <span class=3D"il">Maven</span> as the bu=
ild system. The <span class=3D"il">Maven</span><br>
<span class=3D"il">integration</span> allows to natively use Apache <span c=
lass=3D"il">Maven</span> in Java packages in<br>
the main tree. The current system work around the support for <span class=
=3D"il">Maven</span><br>
projects by transforming them to Ant. It generates build.xml via =E2=80=9Cm=
vn<br>
ant:ant=E2=80=9D command and sanitizes that. This conversion too has some<b=
r>
problems and needs to fixed. With this project, developers gains the<br>
ability to use native <span class=3D"il">Maven</span> support for writing e=
builds and will get<br>
full support for using <span class=3D"il">maven</span>-to-ant feature.<br>
<br>Progress:<br><br>Bumped/fixed/added following ebuilds:<br><br>plexus-in=
teractivity-api<br>plexus-velocity 1.1.8<br>plexus-io 1.0.1<br>plexus-archi=
ver 1.2
<br>fixed wagon-ftp, plexus-utils<br>maven-model to 2.2.1
<br>stable plexus-container-default-1.0_alpha9-stable ebuild<br=
>plexus-container-default to 1.5.5 <br><br>plexus-component-api is now merg=
ed to plexus-container-default. So, there is no need to DEPEND on plexus-co=
mponent-api anymore if you are using plexus-container-default-1.5.5 ebuild.=
<br>
<br>Got the maven adding generated-sources via modello working. maven-model=
is one example that is based on gen-src.<br><br>Started writing documentat=
ion at wiki [1]<br><br>Next:<br>* Package maven-plugins and all it's 20=
+ projects together. Currently, there's no package structure for maven-=
plugins. So, have to make the project structure by adding modules under art=
ifact maven-plugins-aggregator.<br>
trunk/ contains the needed project structure but adding SNAPSHOTS is not re=
ally a good idea.<br>* Get the core maven components working. In other word=
s get all the projects listed at [3] working. There's two phases: packa=
ging the tarball. writing/bumping corresponding ebuilds.<br>
* fix SRC_URIs of excalibur-* ebuilds. These are archived now, so the curre=
nt SRC_URI doesn't work anymore.<br><br>These tasks may probably take m=
ore than a week!<br><br>Any suggestions are welcome!<br><br>Thanks,<br>
--Kasun<br><br>[1] <a href=3D"https://overlays.gentoo.org/proj/java/wiki/Ma=
ven_Integration">https://overlays.gentoo.org/proj/java/wiki/Maven_Integrati=
on</a><br>[2] <a href=3D"http://svn.apache.org/repos/asf/maven/plugins/trun=
k/">http://svn.apache.org/repos/asf/maven/plugins/trunk/</a><br>
[3] <a href=3D"https://svn.apache.org/repos/asf/maven/maven-2/tags/maven-2.=
2.1/">https://svn.apache.org/repos/asf/maven/maven-2/tags/maven-2.2.1/</a><=
br clear=3D"all"><br>-- <br>~~~*******'''''''&#=
39;'''''*******~~~<br>
Kasun Gajasinghe,<br>University of Moratuwa,<br>Sri Lanka.<br>Blog: <a href=
=3D"http://kasunbg.blogspot.com">http://kasunbg.blogspot.com</a><br>Twitter=
: <a href=3D"http://twitter.com/kasunbg">http://twitter.com/kasunbg</a><br>
--00151747b362a485bf04a5a26b17--