ITeye博客

gradle上传jar到nexus

矮蛋蛋 · 2015-07-10 11:29 · 企业架构 · Markdown

原文地址:https://docs.gradle.org/current/userguide/maven_plugin.html configurations { deployerJars }

dependencies { deployerJars "org.apache.maven.wagon:wagon-http:2.2" }

uploadArchives { configuration = configurations.deployerJars repositories { mavenDeployer { repository(url: "http://127.0.0.1:9081/nexus/content/repositories/releases/") { authentication(userName: "admin", password: "admin123") } } } } I get

aromanov@ws:~/etc/apache-s4-0.6.0$ gradle -i upload

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。