Class UpdateCommand

    • Constructor Detail

      • UpdateCommand

        public UpdateCommand()
    • Method Detail

      • printOutdatedPlugin

        public void printOutdatedPlugin​(List<org.apache.maven.model.Dependency> localPomDependencies,
                                        List<String> centralMavenVersionList,
                                        HashMap<String,​String> updatePluginVersions,
                                        HashMap<Integer,​String> listOfArtifacts)
        This method printing the outdated plug-ins
        Parameters:
        localPomDependencies - This parameter hold the artificial dependencies
        centralMavenVersionList - This parameter hold version list
        updatePluginVersions - This parameter contain the key ,value pair of version
        listOfArtifacts - this hold list of artifact id which is need to update
      • updateOutdatedPlugins

        public void updateOutdatedPlugins​(List<org.apache.maven.model.Dependency> localPomDependencies,
                                          HashMap<Integer,​String> listOfArtifacts,
                                          List<String> centralMavenVersionList,
                                          org.apache.maven.model.Model model,
                                          ArrayList<String> userInputPluginForUpdate)
        This method updating the outdated plug-ins
        Parameters:
        localPomDependencies - This is hold the dependencies of artificial pom
        listOfArtifacts - This parameter hold the value of updated plug-ins version
        centralMavenVersionList - This parameter hold version list
        model - This parameter hold the after pom file reader dependencies
        userInputPluginForUpdate - This is hold user input for update plug-ins