On 30-06-18 16:39, Karen Goh wrote:
Hi expert,

I used maven build and run goal : deploy to see how my spring framework project 
run but I got the above error.


There is this stackoverflow person which has similar problem as mine:

https://stackoverflow.com/questions/27153024/repository-element-was-not-specified-in-the-pom-inside-distributionmanagement-el/39439911


So, I read up the below:
https://maven.apache.org/pom.html#Distribution_Management

My question is since I am doing this on a stand alone basis and do not need to 
share the POM denpendencies, how do I get rid of this message?

you seem confused as to what "mvn deploy" actually does, it places an artifact in a repository, see: https://maven.apache.org/plugins/maven-deploy-plugin/
if that is not what you want then using mvn install should suffice.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to