Apache or MIT in mvn repository?

+1 vote
asked Jan 30, 2018 in Wanted features by costateixeira (280 points)
Hi

For my project, all dependencies are managed through mvnrepository, and we cannot use GPL.

Is it possible to have plantuml in Apache or MIT licence in the mvnrepository?

1 Answer

0 votes
answered Jan 30, 2018 by plantuml (232,640 points)
Why not, but we need help here...

We are ok to provide both GPL and MIT version of PlantUML in mvnrepository. And since we are somehow moving our source from sourceforge to github, I think we could both actions together (see https://issues.sonatype.org/browse/OSSRH-29501 )

However, I must say that I have no idea on best practice about double license software in github and mvnrepository. So suggestions highly welcome! Thanks!
commented Jan 31, 2018 by costateixeira (280 points)
Thanks! To see an example of double license, you can please see HAPI-hl7v2 library's pom, which is double licensed as LGPL and MPL: https://github.com/hapifhir/hapi-hl7v2/blob/master/pom.xml#L120

Is this helpful?
commented Jan 31, 2018 by plantuml (232,640 points)
Unfortunately, the situation is more complex for us. For HAPI-hl7v2 library, the code is the same for LGPL and MPL.
For PlantUML, GPL and MIT version are not exactly the same. We remove some optional GPL code when we distribute the MIT code. So I think we must have two different source code, one for GPL, one for MIT.

I'm not sure about this, but I don't know if any other open source project is facing the same issue as we are.
commented Apr 10, 2018 by anonymous
Hi

Thank you for this - I was unsure what should be done to enable an Apache or MIT license. Should the code be cloned somewhere? Is there something that we can try to help with? Personally I do not understand what needs to be done but I can ask some colleagues to see if anyone can learn / help. It would be great to use PlantUML.
commented Apr 18, 2018 by costateixeira (280 points)
The last comment was from me - Is there anything that could be done to have this?
commented Sep 30, 2019 by costateixeira (280 points)
Hi

So I have pushing for using PlantUML and tried to analyse the problem even if this is not in my skillset.

It seems we need to host the MIT / Apache version on github indeed. I guess the challenge is to maintain then both versions, but since you are doing it already, couldn't you just do it on github already?

I was told that once we have the apache / mit licensed code in a github repo, then we just have to create a ticket on issues.sonatype.org which should promote this to Maven.

Is this something you can do - maintain the code in github? I do not know if there are any other implications.

Thank you for making PlantUML so awesome that we really want it :)
...