OK, my assumption was wrong! Thanks for clarifying that. When you point it out, 
it does make sense.  

/Tommy


      Tommy Svensson
[email protected] Från: Hans Aikema <[email protected]>Svara: 
Maven Users List <[email protected]>Datum: 5 december 2024 at 
17:11:43Till: Maven Users List <[email protected]>Cc: Yeikel Santana 
<[email protected]>, Maven Users List <[email protected]>Ämne:  Re:  Can I 
sell my Java library on Maven Central?   

> On 5 Dec 2024, at 16:57, Tommy Svensson <[email protected]> wrote:
>  
> Hmm …
>  
> As far as I know, all jar packages uploaded to Maven Central need to have an 
> open source license.   
No, as Yeikel already properly linked closed-source software is perfectly 
publishable on maven central.
A prominent example of such uploads are the Oracle database drivers. They're 
not open source, but the full set of jars are available on Maven Central - 
https://www.oracle.com/database/technologies/maven-central-guide.html

With a sources jar that holds a dummy source that says  

"
THIS IS A DUMMY SOURCE FILE

Oracle Corporation does not open source the Oracle JDBC driver
and any other companion jars. Therefore, the source code is not  
included in this distribution.  
"

>  
> I guess there is no rule that you cannot try to sell open source software, 
> dual licensed. But then you need to provide something extra for the 
> commercial license or people will go with the free one.
>  
> And as far as I know there is no general online store for selling commercial 
> java code. You have to setup an online store and have a private domain for 
> that your self. And if you do not intend to only sell only in your own 
> country then you need to deal with laws of every country you sell in. It is 
> not an easy thing to do from your private home office!   
>  
> That no one have setup a general online store (as far as I know) for 
> different people to sell their software via, is probably because it is messy 
> and risky thing to do.   
>  
> Regards,
> Tommy Svensson
>  
>  
>      Tommy Svensson
> [email protected] Från: Yeikel Santana <[email protected]>Svara: Maven Users 
> List <[email protected]>Datum: 5 december 2024 at 02:54:21Till: 
> [email protected] <[email protected]>Ämne:  Re: Can I sell my Java 
> library on Maven Central?  Yes, you can upload it to Maven Central
>  
>  
> See  https://central.sonatype.org/faq/closed-source/
>  
>  
> I am not aware of any marketplace
>  
>  
>  
> ---- On Wed, 04 Dec 2024 20:41:26 -0500 [email protected] wrote ----
>  
>  
> Say I develop a Java library and want to sell it. Is there any marketplace
> for that?

Reply via email to