def merge_files
      @appliance_config.files.each_value { |dirs| dirs.clear }

      included = []

      @appliance_configs.each do |appliance_config|
        next if included.include?(appliance_config)
        appliance_config.files.each do |dir, files|
          @appliance_config.files[dir] = [] if @appliance_config.files[dir].nil?
          files.each { |f| @appliance_config.files[dir] << f }
        end
        included << appliance_config
      end
    end
def merge_files
      @appliance_config.files.each_value { |dirs| dirs.clear }

      included = []

      @appliance_configs.each do |appliance_config|
        next if included.include?(appliance_config)
        appliance_config.files.each do |dir, files|
          @appliance_config.files[dir] = [] if @appliance_config.files[dir].nil?
          files.each { |f| @appliance_config.files[dir] << f }
        end
        included << appliance_config
      end
    end
[BGBUILD-276] Import files into appliance via appliance definition file (Files section)
 https://issues.jboss.org/browse/BGBUILD-276