code: public Boolean invoke(File pomFile, VirtualChannel channel) throws IOException, InterruptedException {
  
          org.jfrog.build.extractor.maven.reader.ModuleName current = new org.jfrog.build.extractor.maven.reader.ModuleName(
                  currentModule.groupId, currentModule.artifactId);
  
          Map<org.jfrog.build.extractor.maven.reader.ModuleName, String> modules = Maps.newLinkedHashMap();
          for (Map.Entry<ModuleName, String> entry : versionsByModule.entrySet()) {
              modules.put(new org.jfrog.build.extractor.maven.reader.ModuleName(
                      entry.getKey().groupId, entry.getKey().artifactId), entry.getValue());
          }
  
          org.jfrog.build.extractor.maven.transformer.PomTransformer transformer =
                  new org.jfrog.build.extractor.maven.transformer.PomTransformer(current, modules, scmUrl,
                          failOnSnapshot);
  
          return transformer.transform(pomFile);
      }
docs: Performs the transformation.
  
  @return True if the file was modified.