ProfileApplicationResult applyProfiles(MavenModel model,
                                         File basedir,
                                         MavenExplicitProfiles explicitProfiles,
                                         HashSet<String> alwaysOnProfiles, MavenToken token) throws RemoteException;
ProfileApplicationResult applyProfiles(MavenModel model,
                                         File basedir,
                                         MavenExplicitProfiles explicitProfiles,
                                         HashSet<String> alwaysOnProfiles, MavenToken token)