Remove environment/profile name from the zip file

The environment or profile name is getting appended to the bundle or zip file when apigee edge maven plugin is used for build. How can I specify the name of the bundle file in the pom file to eliminate the environment name? Command used -> mvn -e install -Ptest -Dusername=${Apigee_User_Name} -Dpassword=${Apigee_Password} -Dorg=${Apigee_Org_Name}. Zip file created - ${project.artifactId}${project.version}-test.zip. Here 'test' is the profile name used in the parent pom file.

0 3 149
3 REPLIES 3

Try following links -

The explanation in README.md are very useful

apigee-deploy-maven-plugin

Samples with apigee-deploy-maven-plugin

@Umesh Pai i am having the same problem. Did you get the solution for getting the zip without profile and version name appended to it.

@Nisha Mallesh This readme explains the use of the maven plugin but it doesn't point out how we can create the build with out version and artifact name in it.


Not applicable

Hello @Umesh Pai I tried using the same command as you :

mvn -e install -Ptest -Dusername=${Apigee_User_Name} -Dpassword=${Apigee_Password} -Dorg=${Apigee_Org_Name}

and its not appending the profile name on the zip created.

Ex. productapi-1.0.zip is being created.


Not sure though why you are facing the problem. Can you share the parent POM by any chance ?