ProfileActivator[] (File basedir) { PropertyProfileActivator sysPropertyActivator = new PropertyProfileActivator(); /* DefaultContext context = new DefaultContext(); context.put("SystemProperties", MavenServerUtil.collectSystemProperties()); try { sysPropertyActivator.contextualize(context); } catch (ContextException e) { MavenServerGlobals.getLogger().error(e); return new ProfileActivator[0]; } */ return new ProfileActivator[]{ // TODO: implement //new MyFileProfileActivator(basedir), sysPropertyActivator, new JdkVersionProfileActivator(), new OperatingSystemProfileActivator()}; }