On Sun, Jul 3, 2011 at 12:30 AM, Hervé BOUTEMY <herve.bout...@free.fr>wrote:

> Le samedi 2 juillet 2011, Kasun Gajasinghe a écrit :
> > No, you are not discouraging me in anyway. This stage is just the first
> > step of a much wider task. The ultimate goal of this work is to provide
> > the ability to package maven-based builds to Gentoo system. Gentoo
> > encourages and the package-management installs packages by first
> compiling
> > them from source. So, as you can understand, if the package source uses
> > maven as the build management tool, it needs maven to do the building and
> > generate the jar.
> >
> > Further, there are other constraints involved. Mainly the packages should
> > be able to use the existing jars available in the system (under
> > /usr/share), and we've are not strict about having a specific version as
> a
> > dep as long the existing system jar is api-compatible.
> honestly, this is the part I really doubt about: it will be hard to do
> (will
> need to change the way Maven resolves dependencies), and I expect there
> will
> be a lot of failures since dependencies version modification in general
> causes
> failures.
>
> As a proof of concept, I find the task fun.
> As a user, I expect a lot of problems and wouldn't really be confident
> about
> this.
>
>
To re-iterate, as a 'user' this will have a 'normal' behavior of Maven. It's
the system part that will be different, and have the said constraints.

And, maven is packaged with almost the same dependency versions of Maven.
There were few exceptions in some Plexus packages, but the versions are
close enough and api-compatible. Do you really think this leads to the said
error?

But if you want to try, why not :)
>

Well, we have packaged ant and is in a good working condition. Now,
unfortunately, maven-based projects don't have a simpler way to package
their projects, to be installed via portage (the package mgt system). We are
going to provide a direct way for this.


--Kasun

-- 
~~~*******'''''''''''''*******~~~
Kasun Gajasinghe,
University of Moratuwa,
Sri Lanka.
Blog: http://blog.kasunbg.org
Twitter: http://twitter.com/kasunbg

Reply via email to