Apache or MIT in mvn repository?

0 votes
asked Jan 30 in Wanted features by costateixeira (290 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 by plantuml (141,890 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 by costateixeira (290 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 by plantuml (141,890 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.
...