We are in the process of checking whether our projects can be migrated from ant-maven build system to gradle-maven build system. Unfortunately, we have to live with our maven pom’s for sometime before we decide to move fully to gradle because of the scope of the changes. In the meantime, I came across an issue where I need to pass properties to our pom’s for some of our dependencies.
Is there a way I can pass some properties like how i can pass a system property “mvn install -DsomeProperty=someValue”?
I’m trying to understand in which jvm the dependency resolution happens. Does it happen in a test jvm or gradle jvm? I have tried defining systemProperty “someProperty”, “someValue” and System.setProperty("someProperty,“someValue”) as possible solutions. Both didn’t work.
I’m a newbie here so any input will be greatly appreciated.