For my previous employer, I worked with Hibernate, and now that I am in a small startup, I would like to use it again. However, loading both the Hibernate core and the Hibernate annotations is rather painful, as it requires combining many JAR files. Since JARs are divided into categories such as “required” and “optional”, I would suggest that each developer ends up with different contents of their lib folder.
What is the general way to solve this problem? Basically, I want to have a formal way to get all the JARs for Hibernate, so (theoretically) I get exactly the same if I need again for another project next month.
Edit: I know something about what Maven does, but I was wondering if there is another way to handle this.
source
share