ProfileApplicationResult (MavenModel model, Path projectPomDir, Path basedir, MavenExplicitProfiles explicitProfiles, Collection<String> alwaysOnProfiles) { return MavenServerManager.getInstance().getConnector(myProject, projectPomDir.toAbsolutePath().toString()) .applyProfiles(model, basedir, explicitProfiles, alwaysOnProfiles); }