0

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?

Eugen Martynov
  • 19,888
  • 10
  • 61
  • 114

2 Answers2

1

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

khmarbaise
  • 92,914
  • 28
  • 189
  • 235
0

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

Vladimir
  • 1
  • 1
  • 23
  • 30