Hi Benoit,
Hi Christian,

It’s difficult to find references to
previous versions, 
I luckily found another reference.
According to Brad McEvoy, original author of Milton, at least 1.8.1 is licensed under an apache license:
http://milton-users.96038.n3.nabble.com/milton2-is-now-available-and-a-change-of-license-td4024910.html
Milton 1.8.1 is still available under the apache license and it will 
receive limited backports for a while, and I'll continue to accept 
patches for the forseeable future. 

Note that the current milton library v2 is released under Apache license. Is
there any intention to upgrade to milton v2 (is it even possible)?
The recent 2.x versions are dual-licensed, either Affero GPL version 3 or you may purchase a license and use it commercially.

A vanilla RestXQ/Webdav implementation would indeed be nice… :-)

Best from Konstanz
Michael 


Am 18.01.2018 um 19:24 schrieb Christian Grün <christian.gruen@gmail.com>:

Hi Benoit,

I just realised that the basex-api Maven artifact depends on milton-api 1.8,
which is released under GPLv3 (this is declared in its parent pom). That
means that basex-api, and any software that is distributed with it, must be
released under GPLv3 as well... Are BaseX developers aware of that?

That’s interesting to hear, I didn’t know that. I am wondering if the
license was changed in between. It’s difficult to find references to
previous versions, but the license information in milton 1.8.1.3 that
I discovered in eXist seems to point to the Apache license [1]. Do you
know more about that?

Note that the current milton library v2 is released under Apache license. Is
there any intention to upgrade to milton v2 (is it even possible)?

It’s probably quite some effort to get this done (at least without
financial support from commercial sponsors). Apart from that, BaseX
WebDAV has some custom extensions for locking resources [2], which
would possibly need to be reimplemented.

Yet another approach: As WebDAV is XML-based, we believe it would even
be possible to write an implementation completely in XQuery, based on
RESTXQ. Maybe someone out there would be interested in tackling this?
;)

Cheers,
Christian

[1] https://github.com/eXist-db/mvn-repo/blob/master/org/exist-db/thirdparty/com/ettrema/milton/1.8.1.3/milton-1.8.1.3.pom
[2] http://docs.basex.org/wiki/Webdav#Locking