Class: Bee::Task::Maven2DependencyResolver
- Inherits:
-
MavenDependencyResolver
- Object
- BaseDependencyResolver
- MavenDependencyResolver
- Bee::Task::Maven2DependencyResolver
- Defined in:
- lib/dependency_resolver.rb
Overview
Maven 2 dependency resolver.
Constant Summary collapse
- DEFAULT_REPOSITORY =
Default repository address.
'http://repo1.maven.org/maven2'
- DEFAULT_CACHE =
Default cache location.
File.('~/.m2/repository')
Constants inherited from MavenDependencyResolver
Bee::Task::MavenDependencyResolver::DEFAULT_SCOPE, Bee::Task::MavenDependencyResolver::SCOPE_AVAILABILITY
Instance Method Summary collapse
-
#initialize(file, scope, verbose = false) ⇒ Maven2DependencyResolver
constructor
Constructor: - file: dependency file (should be maven.xml).
Methods inherited from BaseDependencyResolver
Constructor Details
#initialize(file, scope, verbose = false) ⇒ Maven2DependencyResolver
Constructor:
-
file: dependency file (should be maven.xml).
-
scope: the scope for dependencies (compile, runtime or test).
-
verbose: tells if we should be verbose.
428 429 430 431 |
# File 'lib/dependency_resolver.rb', line 428 def initialize(file, scope, verbose=false) super(file, scope, verbose) @cache = DEFAULT_CACHE end |