Tim
Tim

Reputation: 99498

Is a Maven project necessarily a Java package?

From the Maven projects which I have seen, a Maven project seems to always correspond to a Java package.

So is a Maven project necessarily a Java package?

Note that package is a concept in Java language, while project is a concept in Maven.

Thanks.

Upvotes: 1

Views: 126

Answers (1)

user902383
user902383

Reputation: 8640

There are no relation between Java packages and Maven project.

Maven is building tool and java packages are pure abstraction to it. You can have this impression as most popular naming convention for naming maven project is to set group id same as root package for project.

Upvotes: 2

Related Questions