diff --git a/mongocamp-library/src/main/scala/dev/mongocamp/server/service/CoursierModuleService.scala b/mongocamp-library/src/main/scala/dev/mongocamp/server/service/CoursierModuleService.scala index e7785c9a..ef53413d 100755 --- a/mongocamp-library/src/main/scala/dev/mongocamp/server/service/CoursierModuleService.scala +++ b/mongocamp-library/src/main/scala/dev/mongocamp/server/service/CoursierModuleService.scala @@ -37,7 +37,7 @@ object CoursierModuleService extends LazyLogging { def loadMavenConfiguredDependencies(): List[File] = { val modules = ConfigurationRead.noPublishReader.getConfigValue[List[String]](DefaultConfigurations.ConfigKeyPluginsModules) - loadMavenConfiguredDependencies(modules.map(mName => mName.replace(pnpp, BuildInfo.version))) + loadMavenConfiguredDependencies(modules.map(mName => mName.replace("$$MC_VERSION$$", BuildInfo.version))) } def loadMavenConfiguredDependencies(dependencyStrings: List[String]): List[File] = {