Sha256: 24022bb96289aae788d3617b3346e520f583e09d8aebf92148d7ef54bca71dfe

Contents?: true

Size: 777 Bytes

Versions: 2

Compression:

Stored size: 777 Bytes

Contents


module LockJar
  class Maven
    
    class << self
      def runtime( opts = {} )
        Runtime.new( opts )
      end
      
      def pom_version( pom_path, opts = {} )
        runtime(opts).resolver.naether.pom_version( pom_path )
      end
      
      def write_pom( notation, file_path, opts = {} )
        runtime(opts).resolver.naether.write_pom( notation, file_path )
      end
      
      def deploy_artifact( notation, file_path, url, deploy_opts = {}, lockjar_opts = {} )
        runtime(lockjar_opts).resolver.naether.deploy_artifact( notation, file_path, url, deploy_opts )
      end
      
      def install( notation, pom_path, jar_path, opts = {} )
        runtime(opts).resolver.naether.install( notation, pom_path, jar_path )
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lock_jar-0.0.3 lib/lock_jar/maven.rb
lock_jar-0.0.2 lib/lock_jar/maven.rb