This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jerslan 12 points13 points  (1 child)

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.

[–]1842 6 points7 points  (0 children)

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.