Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Maven pom.xml file queries

Not applicable

Kindly clarify my below queries on pom.xml file,as I could not get from here.

1)While override.delay is used for delay when overriding the existing version in deployment,what is the purpose of apigee.delay?

<apigee.override.delay>10</apigee.override.delay>

<apigee.delay>1000</apigee.delay>

2)Document says validate is to validate the code against schema before importing the bundle.Against which schema is the code validated?I hope here code is referred to policies xmls.

<options>validate</options>

3)We already specify <options> in pom.xml.So,does the below one override <options> as it is taken from user input?

<apigee.options>${options}</apigee.options>

4)When <options> is given as validate and override,does it add a new revision and deploy it,while <options>update</options> is to update the existing revision?

5)When we give <options> as override or update,does it require to provide "deploy" in the below command?

mvn apigee-enterprise:deploy -e -P test -Dusername=<name> -Dpassword=<password>

6)What does this version tag signify?Hope this is not revision.And I dont have any version specified in basepath of proxy.

<apigee.apiversion>v1</apigee.apiversion>

7)I have below configuration in pom.xml file.

<options>validate,override</options>

And executed below command,

mvn apigee-enterprise:deploy -e -P test -Dusername=<name> -Dpassword=<password>

But I see two revisions deployed.Already Revision 2 was present.Why it was not overriden?

2150-1.png

0 1 215
1 REPLY 1