r/javahelp • • Nov 23 '21

Codeless Does java have a package manager?

I have been developing test automation projects on C# and Python for a while. I am using NuGet/PiP to install dependencies such as Selenium.

I will be switching to another company and they use Java stack. I am trying to understand how java environment works.

What is the easiest way to install dependencies on Java?

Are there any easy to use package managers for java that I can use?

25 Upvotes

12 comments sorted by

View all comments

Show parent comments

3

u/wheezymustafa Nov 23 '21

This is the correct answer. Maven can be a little cumbersome and clunky but is widely used by many organizations and there’s a shit ton of documentation.

I haven’t seen gradle* used as much in a professional setting but it seems a little less verbose than maven. They both achieve the same outcome though.

0

u/[deleted] Nov 24 '21

[deleted]

-8

u/le_bravery Extreme Brewer Nov 24 '21

Maven is the worst

3

u/Gaarco_ Nov 24 '21

Honestly they are both pretty bad, but the Java community is enthusiastic about everything Java related even more so if it's a fossil from 30 years ago that doesn't even support (and won't ever) new xml features for syntactic sugar.

Still waiting for a build tool that allows me to write build scripts in Java without having to learn other technologies to package a fucking jar.