Domanda

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?

È stato utile?

Soluzione

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

Altri suggerimenti

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top