Class: Dependabot::FileFetchers::Java::Maven
- Defined in:
- lib/dependabot/file_fetchers/java/maven.rb
Constant Summary collapse
- MODULE_SELECTOR =
"project > modules > module"
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Methods inherited from Base
#commit, #directory, #files, #initialize, #repo, #target_branch
Constructor Details
This class inherits a constructor from Dependabot::FileFetchers::Base
Class Method Details
.required_files_in?(filenames) ⇒ Boolean
12 13 14 |
# File 'lib/dependabot/file_fetchers/java/maven.rb', line 12 def self.required_files_in?(filenames) (%w(pom.xml) - filenames).empty? end |
.required_files_message ⇒ Object
16 17 18 |
# File 'lib/dependabot/file_fetchers/java/maven.rb', line 16 def self. "Repo must contain a pom.xml." end |