I have been trying to follow the Maven-Config-Plugin and code provided. I went through all the Readme's provided but to be frank they are preety much high level and does not provide element details on what all changes need to be done if you want to customize or create your own shared-pom.xml.
I created a sample project with the edge.json, pom.xml and shared-pom.xml similar to the one in samples/EdgeConfig. When I run this only changing the KVM names in the edge.json and
providing all the needed details in the profile inside shared-pom. Only the org is getting updated, even though I have envConfig in my edge.json , my env KVM's are not at all updated and always see "No env scoped KVM config found." message. There are no proper help or documents online to solve this issue. Kindly help.
Solved! Go to Solution.
HI @SnehaNiyogi
Welcome to the community !!
In the sample edge.json, the env config is to deploy to an environment called "test", see line number 4 in the file. If your environment is something else - say "dev", then please update that line to "dev" and run the maven command
Also please note that the samples are in context to the plugin alone. Using shared-pom or single pom is open for developers to decide depending on their preference. Also this is an open sourced project, everything might not be there, so please reach out to us in community or raise an issue in Github. I am sure someone will be able to provide some info.
Hope the above helps, if not, please reach out with more info on what command you are running, your sample edge.json, error you see, etc. That will help us investigate and resolve the issue sooner