Apache or MIT in mvn repository?

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

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 (193,030 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 (320 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 (193,030 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

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 (320 points)
The last comment was from me - Is there anything that could be done to have this?