I am trying to setup apigee maven config plugin with multi-file configuration.
Attached is the folder structure.
I am running below command :
mvn install -Ptest -Dapigee.config.options=create -Dapigee.config.dir=resources/edge
It is not able to detect any files.
[INFO] Config file env\test\targetServers.json not found. [INFO] No target server config found.
[INFO] Config file org\kvms.json not found.
[INFO] No org scoped KVM config found.
[INFO] Config file env\test\kvms.json not found.
[INFO] No env scoped KVM config found.
Solved! Go to Solution.
HI @Apoorva
I will need more info to help. Can you confirm if the env within the profile "test" in the pom points to test ? Can you share the pom file or can you share the project here if possible ?
HI @Apoorva
I will need more info to help. Can you confirm if the env within the profile "test" in the pom points to test ? Can you share the pom file or can you share the project here if possible ?
Yes, test profile points to env test. Attaching child and parent pom.
Thanks @Apoorva
Can you confirm that the directory structure is relative to the pom being invoked ? I see your pom file is calling another pom
@Sai Saran Vaidyanathan yes .. pom is invoked. one is child pom and other is parent pom
HI @Apoorva
Can you change the -Dapigee.config.dir to be relative to the parent pom as that is the pom invoking the plugin ?
Hi @Apoorva - any update ? Is the issue resolved ? If yes, can you please accept the answer ?
Hi @Sai Saran Vaidyanathan Thanks, yes the issue is resolved.
Awesome !