Class UpdateCommand

    • Constructor Detail

      • UpdateCommand

        public UpdateCommand()
    • Method Detail

      • printOutdatedPlugin

        public boolean printOutdatedPlugin​(List<org.apache.maven.model.Dependency> localPomDependencies,
                                           List<String> centralMavenVersionList,
                                           HashMap<String,​String> updatePluginVersions,
                                           HashMap<Integer,​String> listOfArtifacts)
        This method is printing the outdated plug-ins
        Parameters:
        localPomDependencies - This parameter holds the artificial dependencies
        centralMavenVersionList - This parameter holds version list
        updatePluginVersions - This parameter contains the key, value pair of versions
        listOfArtifacts - This holds a list of artifact ids which need to be updated
      • 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 is updating the outdated plug-ins
        Parameters:
        localPomDependencies - This is holding the dependencies of artificial pom
        listOfArtifacts - This parameter holds the value of updated plug-ins version
        centralMavenVersionList - This parameter holds the version list
        model - This parameter holds the after pom file reader dependencies
        userInputPluginForUpdate - This is holding user input for update plug-ins