You are not logged in.

#1 2022-01-17 19:26:00

Archologist
Member
Registered: 2022-01-17
Posts: 2

Maven package

Hello all,
this is my first question in the arch bbs, so I hope this is the right forum.
I have seen that maven is installed in /opt, but other java packages like ant and gradle are using /usr/share/java.
So I want to suggest that maven will be installed in /usr/share/java too.
But what is the best way to achieve this, a bug report (it's not a bug), or contact the packager directly?
Or is there any other place for suggestions? Can anybody give me a hint?
Thank you!

Last edited by Archologist (2022-01-18 21:17:43)

Offline

#2 2022-01-17 23:29:55

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,261

Re: Maven package

Welcome to archlinux forum


Upstream recommends instaling to /opt and expects bin , conf and lib folders directly under the maven basedir.
(https://maven.apache.org/install.html)

Archlinux puts large , self-contained pacakges under /opt , see https://wiki.archlinux.org/title/Arch_p … irectories


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2022-01-17 23:41:08

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,492
Website

Re: Maven package

Lone_Wolf wrote:

... expects bin , conf and lib folders directly under the maven basedir.

This is true also of the other packages the OP mentioned.  But their basedir is just /usr/share/java/.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2022-01-18 11:55:55

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,261

Re: Maven package

Correct, I should have looked further.

ant has the same maintainer as maven (anthraxx aka Levente Polyak) , so it does seem a bit weird to build the packages differently .

Archologist, I do think contacting the maintainer is best way to bring this up .

Whether you want to use arch-general mailing list[1] , libera IRC chat[2] or the maintainers archlinux email address[3] is your choice.

[1] https://mailman.archlinux.org/mailman/listinfo/
[2] https://wiki.archlinux.org/title/Arch_IRC_channels
[3] https://archlinux.org/people/developers/


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2022-01-18 14:05:53

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,492
Website

Re: Maven package

Lone_Wolf wrote:

ant has the same maintainer as maven (anthraxx aka Levente Polyak) , so it does seem a bit weird to build the packages differently.

This is what led me to conclude that there is almost certainly a good reason: he's a dev and TU with ample packages and activity.  So I doubt it was just on a whim that maven is in /opt/.  Unfortunately I didn't see anything in the package commit history that would suggest why it was there - it's been in /opt/ from the very beginning it would seem.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2022-01-18 21:16:19

Archologist
Member
Registered: 2022-01-17
Posts: 2

Re: Maven package

Okay, thanks for the information. I will contact anthraxx by email. Maybe he can answer here.

Offline

Board footer

Powered by FluxBB