Maven已从2版更改为3版,因此它已将IOC容器从Plexus更改为Google Guice。

因此,Maven 2的货车(要从SourceForge文件释放区下载工件)必须重写为Maven 3以满足Guice。是否有教程 / API描述 /学习如何从丛货车变为Guice Wagon?

有帮助吗?

解决方案

org.sonatype.aether.connector.wagon.wagonrepositoryConnector是在Maven 3中使用货车的一个很好的例子

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