I was asking why Google doesn't upload android artefacts into the maven central repository. Apparently the answer is that user has to accept license before download.

I know that it is possible (and required) to include a license to the artefact. But is it possible to force user to accept it before downloading and usage?

有帮助吗?

解决方案

It's simply not possible cause Maven has no such mechanism. Apart from that it's interactive during the download of artifacts.

其他提示

JFI: It's sad because NuGet in the .NET World has such functionality (

enter image description here

Stop License Acceptance popup by Auto Accepting Nuget within visual studio

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top