AFAIK this configuration isn’t published to the maven repo so only works for local projects.
A few options:
-
Refactor the configuration to a shared variable in the parent project as suggested in option 1 here
-
Extract the configuration to a shared project which is always a local project in every build (including CI)
-
Write the configuration dependencies to a text/json/xml file which is published to maven and downloaded/deserialized for the CI build.