user4615488
user4615488

Reputation:

Intellij IDEA default java project file structure

I did create a java project on IDEA and its structure is as follow (by default):

My question is: is this structure a good practice?

Usually I see as a common practice to structure as: src/each/segment/of/a/package.

Upvotes: 0

Views: 829

Answers (1)

Matt
Matt

Reputation: 3662

This has nothing to do with IntelliJ. This structure is the default Maven (and Gradle) structure, which is getting adopted on most project.

I'm not sure if we can say it's a good practice or no but it's pretty standard and if you're using Maven (or Gradle) it's the default structure, so it's better to keep it that way.

Upvotes: 2

Related Questions