Package org.moxie.maxml

Examples of org.moxie.maxml.MaxmlMap.entrySet()


    pom.addExclusions(readStrings(map, Key.exclusions, new ArrayList<String>(), true));

    // all task attributes are inherited. individual attributes can be overridden
    if (map.containsKey("tasks")) {
      MaxmlMap taskOverrides = map.getMap("tasks");
      for (Map.Entry<String, Object> entry : taskOverrides.entrySet()) {
        String task = entry.getKey();
        MaxmlMap taskAttributes  = (MaxmlMap) entry.getValue();
        if (tasks.containsKey(task)) {
          // update existing entry with attribute overrides
          tasks.getMap(task).putAll(taskAttributes);
View Full Code Here


  }

  void parseDependencyAliases(MaxmlMap map, Key key) {
    if (map.containsKey(key.name())) {
      MaxmlMap aliases = map.getMap(key.name());
      for (Map.Entry<String, Object> entry : aliases.entrySet()) {
        String definition = entry.getValue().toString();
        Dependency dep = new Dependency(definition);
        dependencyAliases.put(entry.getKey(), dep);
      }
    }
View Full Code Here

  }

  void parseDependencyOverrides(MaxmlMap map, Key key) {
    if (map.containsKey(key.name())) {
      MaxmlMap poms = map.getMap(key.name());
      for (Map.Entry<String, Object> entry: poms.entrySet()) {
        String definition = entry.getKey();
        if (entry.getValue() instanceof MaxmlMap) {
          Dependency dep = new Dependency(definition);
          Pom override = new Pom();
          override.groupId = dep.groupId;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.