سؤال

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