Maven部署插件在pom.xml中的distributionManagement中没有看到我的存储库

时间:2013-08-21 12:23:33

标签: maven maven-3 maven-deploy-plugin

我尝试在命令行上使用命令mvn deploy部署到我的远程存储库(Nexus)。通过这样做我得到以下错误:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project pro-tools-maven-plugin: Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::layout::url parameter -> [Help 1]

我在distributionManagement的{​​{1}}内指定了我的存储库。用户名和密码存储在pom.xml

settings.xml的摘录:

pom.xml

可能是什么问题?

0 个答案:

没有答案