Apache or MIT in mvn repository?

+1 vote
asked Jan 30, 2018 in Wanted features by costateixeira (500 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?

2 Answers

0 votes
answered Jan 30, 2018 by plantuml (294,960 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 (500 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 (294,960 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 (500 points)
The last comment was from me - Is there anything that could be done to have this?
commented Sep 30, 2019 by costateixeira (500 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 :)
commented Apr 19, 2023 by Håkan
Hi,

Long time since someone write in this thread.
What is the progress?
Are there still plans to provide a MIT-version of PlantUML?
commented Apr 19, 2023 by plantuml (294,960 points)
Yes, there are still plans for MIT version (see https://github.com/plantuml/plantuml/commit/b7da8b68981317394af76810457f1981d1872d90 )

However, we move really slowly on this subject, sorry about that!

We'll post a message here when ready
0 votes
answered May 13, 2023 by plantuml (294,960 points)
It takes some time, but this is available on https://repo1.maven.org/maven2/net/sourceforge/plantuml/plantuml-mit/1.2023.7/ now.

Hope this help!
...