Is copying open source code considered legal in terms of license, forget about plagiarism? I have seen some codes is exactly the same as open source code, the only thing changed is the package name and the class name.
Thank you
Is copying open source code considered legal in terms of license, forget about plagiarism? I have seen some codes is exactly the same as open source code, the only thing changed is the package name and the class name.
Thank you
as long as the license allows it, you can do anything.
AFAIK, Open Source licenses are all about allowing you to copy code, with different restrictions. GPL allows it if the result is GPL too. MIT and MIT-like licenses usually only require attribution. some BSD licenses don't even require that.
in any case, not attributing to the original authors is considered rude at the least.
It depends entirely on what license the original source code was released under.
The only case that I know of where this is fine, is if the code was explicitly released into the Public Domain.
The above scenario described violates GPL, BSD, MIT, Apache and Creative Commons Licenses!
Most likely this is illegal. (I am not a lawyer, and international application of these licenses is always fun, etc etc).
The reason it is illegal is the above licenses have clauses, where you have to credit the original authors. I assume this is not the case in your scenario.
It depends on the exact open-source license.
Most licenses require you to include sufficient traceability information in your code (e.g., if you copied entire files or even sections), and in some cases restrict your ability to sell that code as your own.
Complete plagiarism is in violating of these licenses, though I am not sure if any entity is actually capable of enforcing these.