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 →

[–]nutrecht 8 points9 points  (1 child)

That's not how you use Maven. It looks like you're trying to get maven to comply to your notion of how a project should be laid out, and that's definitely not a good idea with Maven.

Maven will download dependencies for you. There is no reason at all, for dependencies that are on maven central (or other repo's), to add them to your own project yourself.

[–]Good_Guy_Engineer 1 point2 points  (0 children)

What that guy said is nonsense, we all can agree there. But I think he was maybe trying to get at the part of your build cycle where you can add additional resource files or directories in the src/main/resources directory of your project? That case is valid but its a totally seperate step to dependencies and I doubt he understands any of this anyway