Reputation: 6900
I see several project that its naming start with com
such as com.company_name.project_name
.
For sample at tutorial of maven at apache site for sample project says: mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -Dinteractiv
This issue maybe simple for more people but is ambiguous for me.
My question is: What often project naming start with com
?
Upvotes: 0
Views: 645
Reputation: 45
That comes from the Java package naming convention. See the Java Naming a package page for more details. The relevant part that explains com.companyname
packages states "Companies use their reversed Internet domain name to begin their package names—for example, com.example.mypackage for a package named mypackage created by a programmer at example.com."
Upvotes: 1
Reputation: 11969
Because by conventions com
is for commercial (http://fr.wikipedia.org/wiki/.com ) and in Java, and in Maven too, we tends to use the reverse host name (eg: app.mycompany.com -> com.mycompany.app).
Apache or Codehaus would use org.
Upvotes: 2