Can Maven ref a parent POM from a private s3 bucket?

删除回忆录丶 提交于 2019-12-05 19:15:00

Per my comment on the other post in this thread: If you're using Maven 3.2.5 or later, you can specify the plugin as a JAR on the command line.

If you're using Maven 3.3.1 or later, create a .mvn/extensions.xml file in your project that defines the S3 wagon so that it's pre-loaded by the time the parent POM is being resolved.

See Maven's 3.3.1 release notes for details: https://maven.apache.org/docs/3.3.1/release-notes.html

The answer is No.

The main issue with Maven and S3 repo is that Maven loads a parent POM before a S3 wagon.

Check here for details: http://www.sonatype.org/nexus/2015/03/03/why-s3-is-not-the-perfect-maven-repository/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!