def add_pom_dependencies( pom_path, scopes=['compile'] )
      if Naether.platform == 'java'
        @resolver.addDependencies( pom_path, scopes )
      else
        list = Naether::Java.convert_to_java_list( scopes )
        @resolver._invoke( 'addDependencies', 'Ljava.lang.String;Ljava.util.List;', pom_path, list )
      end
    end
def add_pom_dependencies( pom_path, scopes=['compile'] )
      if Naether.platform == 'java'
        @resolver.addDependencies( pom_path, scopes )
      else
        list = Naether::Java.convert_to_java_list( scopes )
        @resolver._invoke( 'addDependencies', 'Ljava.lang.String;Ljava.util.List;', pom_path, list )
      end
    end
Add dependencies from a Maven POM

 @param [String] pom_path
 @param [Array<String>] scopes valid options are compile,test,runtime