Closed imran9m closed 5 years ago
@imran9m - looks like the bundle is invalid. Can you compare the zip file you get in the target directory when you use 1.1.5 and 1.1.7 ? There were no changes done on that part of the code. So please compare and let me know if you see any difference.
Are you changing anything else in the pom along with the version change ?
@ssvaidyanathan Thanks for the response. There are no changes. Here is a sample repo you can replicate the issue.
Repo - https://github.com/imran9m/helloworld
Steps
mvn clean package -DprepareBundle=true
mvn apigee-enterprise:deploy -Pconfigure-bundle,deploy-bundle
mvn clean package -DprepareBundle=true apigee-enterprise:deploy -Pconfigure-bundle,deploy-bundle
I did little bit of research and was able to resolve the issue with below changes for 1.1.7.
mvn clean package -DprepareBundle=true
mvn apigee-enterprise:configure apigee-enterprise:deploy -Pconfigure-bundle,deploy-bundle
Hi.. Looks like you were missing the configure goal within your pom file. In your sample pom, configure and deploy are in two different profiles. Not sure why you have it set like that. Please refer to the samples in the github for more info. Since this is working as expected, I am closing this issue. If you still feel thats not the case, please reopen
Observation - We migrated from 1.1.5 to 1.1.7(and enabled oAuth). During deployment, getting below failure. If I reverted it back to 1.1.5, it works fine(with oAuth as well). Please advise.