2 ms·
Huh, as a consultant having touched many java code bases, they are all basically the same. Import the maven pom into intellij and run the main class. The folder
by matsemann 6y ago
Huh, as a consultant having touched many java code bases, they are all basically the same. Import the maven pom into intellij and run the main class. The folder structure, the code conventions etc are basically the same at every client and every project I've ever seen in java.
All needed is having the correct version of Java, and maybe give maven a password so it can access private libraries. It's dead simple.
And more importantly: it's the same everywhere.
- oblio 6y agoYeah, people under-estimate badly how useful the Maven conventions are, because they've never seen them in the C/Python/whatever world. I haven't used Maven in a bunch of years. But source code goes in src/main/java. Test code goes in src/test/java, resources (images, files, whatever) go in src/main/resources, test resources go in src/test/resources. There is a pom.xml file that contains dependencies, and if it doesn't, it points to a parent which <<does>> contain them. There might be submodules and they all are folders containing another pom.xml. That pom.xml generally points to the main pom.xml. Etc. There's a bit of tedium in there, but <<it's always the same>>! The level of consistency is something most ecosystems dream about. And you know what? That means that you can use your spare brain cells for actual creativity or hard work.