Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java package namespace for projects with no own domain

Is there a general rule-of-thumb on how to name package namespaces for open source projects with no own domain?

Namespaces should be unique, so domains were chosen to take care of that, but in the end it doesn't matter, as long as they are unique.

Now, if I have a project that is only hosted on github, is it okay to take

com.github.username.projectname

or is that rather frowned upon, because I use a domain that I don't really own?

like image 332
SkaveRat Avatar asked Oct 25 '11 21:10

SkaveRat


1 Answers

There are a number of com.google.code and projects with sourceforge in the package name, so that namespacing has plenty of precedent.

like image 187
Nathan Feger Avatar answered Sep 22 '22 23:09

Nathan Feger