Class: ReactorCommands

Inherits:
Thor
  • Object
show all
Defined in:
lib/mavenReactorService/ReactorCommands.rb

Overview

This is controller class for reactor service #

Instance Method Summary collapse

Instance Method Details

#projectValidator(project_directory_path = Dir.getwd) ⇒ Object



45
46
47
48
# File 'lib/mavenReactorService/ReactorCommands.rb', line 45

def projectValidator(project_directory_path = Dir.getwd )
  reactorHandler = ReactorHandler.new
  reactorHandler.validateProjectsEligiblity(project_directory_path)
end

#reactorHandler(externalPomUrl = nil, project_directory_path = Dir.getwd) ⇒ Object



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# File 'lib/mavenReactorService/ReactorCommands.rb', line 26

def reactorHandler(externalPomUrl=nil,project_directory_path = Dir.getwd)
   reactorHandler = ReactorHandler.new
   reactorHandler.createEffectivePom(project_directory_path,externalPomUrl)
   reactorHandler.makeReator(project_directory_path)
   reactorHandler.managePlugins(project_directory_path)
reactorHandler.plugiConfigHandler(project_directory_path)
   reactorHandler.moveCommonProperties(project_directory_path)
   reactorHandler.createDistributionManagmentInReactorPom(project_directory_path,externalPomUrl)
   reactorHandler.handleDeveloperAndContributors(project_directory_path)
   reactorHandler.mergeRepository(project_directory_path)
reactorHandler.manageDepedency(project_directory_path)
   reactorHandler.handleInterDependency(project_directory_path)
   reactorHandler.handleTeamSpecificParent(project_directory_path,externalPomUrl)
reactorHandler.dmpmForexternalConfiguration(project_directory_path,externalPomUrl)
reactorHandler.removeEmptyTags(project_directory_path)
reactorHandler.sortPomExecutor()
end