Isn't maven-deploy-plugin aware of the pom in which I declared it as a build plugin? [duplicate]
问题 This question already has answers here : repository element was not specified in the POM inside distributionManagement element or in -DaltDep loymentRepository=id::layout::url parameter (3 answers) Closed 2 years ago . I have a maven project. In the pom I declared the group id, artifact id, version. I declared for maven-deploy-plugin as a build plugin, with goal of deploy:deploy-file. Then I launched maven from eclipse with the same goal, wuth -Durl declared as jvm arg. Maven build fails