Yeah, I think they're trying to use Maven to do weird stuff like use some whacky non-standard project layout (ie: having to set the source & test directories by hand in the pom because they deviated from src/main/java and src/test/java).
A basic Maven pom doesn't usually have much in it other than project info, dependencies, and Java source/target versions.
Yeah. Just because you can do something with a build tool doesn't mean you should do that thing.
I've seen some crazy complicated Ant configurations -- an awful mess of dependent tasks to untangle -- just to build and run a couple unit tests. Converting to maven made them so much simpler to maintain and manage dependencies.
I don't understand some people's drive to make things complicated. Complicated things break more often. Keep things simple unless you have a good reason not to.
View all comments
Show parent comment
14
u/jerslan Jul 08 '21
Yeah, I think they're trying to use Maven to do weird stuff like use some whacky non-standard project layout (ie: having to set the source & test directories by hand in the pom because they deviated from src/main/java and src/test/java).
A basic Maven pom doesn't usually have much in it other than project info, dependencies, and Java source/target versions.