Hello,

what should we do with Java ebuilds using Maven? The current Maven ebuild
does not set the local repository location i.e. every user will have its
own repository in its home directory. While this is what the Maven folks
recommend, it is not very good for Gentoo.

Imagine you have to create an ebuild for a package that uses Maven. With the
current installation, Maven would try to load all its dependencies into the
local directory of whom? Root (suppose so)? You'll end-up with at least two
such repositories on your disk, which is quite a waste of space (remember,
they are never deleted). Setting MAVEN_LOCAL_HOME to a directory inside the
build image is even worse, since Maven would download all dependencies
every time building the package.

Therefore I would suggest to use a common repository in Gentoo somewhere
in /var/cache/maven. We'll just have to take care for the permissions,
since the normal user will have to write into the repository also if he is
using Maven.

Comments? If you agree, I would create an issue in bugzilla for the current
maven ebuild.

Regards,
J�rg


--
[EMAIL PROTECTED] mailing list

Reply via email to