2

I wrote a code(in Java), I want to publish that for coders community. Yes I want to contribute in community but wait, what if some one copy my code and put their license with my code and claim that they are original author of code ???? How can I ensure that code belongs to me and anyone can contribute in and/or anyone can use that code. Do I required any kind of license for this ? If yes then what kind of license I need and how can I get that license ?

1 Answer 1

4

I think you are looking for an open-source license. If you would like specific protections for your code you need a license. The Open Source Foundation has a list of licenses here.

How can I ensure that code belongs to me and anyone can contribute

The GPL 3.0 might be a fit for your project, but ultimately the decision of license is up to you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.