简体   繁体   English

Maven 人工制品许可

[英]Maven artefact licensing

I was asking why Google doesn't upload android artefacts into the maven central repository.我在问为什么 Google 不将 android artefacts 上传到 maven 中央存储库。 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. 根本不可能,因为Maven没有这种机制。 Apart from that it's interactive during the download of artifacts. 除此之外,它在工件下载期间是交互式的。

JFI: It's sad because NuGet in the .NET World has such functionality ( JFI:很遗憾,因为 .NET 世界中的 NuGet 具有这样的功能(

在此处输入图片说明

Stop License Acceptance popup by Auto Accepting Nuget within visual studio 通过在 Visual Studio 中自动接受 Nuget 来停止许可证接受弹出窗口

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM