I'm unable to deploy the proxy using maven but it creates targets.
using command is: mvn deploy -Ptest -Dusername={username} -Dpassword={pwd}.
I got the error like repository element was not specified in the POM inside distributionManagement element. I would like to know what is the repository element in distributionManagement for apigee?. Pls refer attachment for error. In advance Thank You.
Try
mvn apigee-enterprise:deploy -P -Dusername= -Dpassword=
Also, make sure you profile is setup as defined at
https://github.com/apigee/apigee-deploy-maven-plugin
If it is able to import but running into issues with deployment, check your proxy for errors.
Thanks.
I just had the same issue and using mvn apigee-enterprise:deploy worked.
Hi @suresh
Refer to Build Lifecycle and Deploy links - "mvn deploy" would call one after the other in sequence. But for deploy to work it expects a repo in the pom for the artifacts to be pushed. Hence you got the error. You can use mvn install or mvn apigee-enterprise:deploy as mentioned by @pdani
Hope that helps. Do reach out if you have more questions.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |