Uploaded image for project: 'Apache Tomcat Maven Plugin'
  1. Apache Tomcat Maven Plugin
  2. MTOMCAT-226

Wasted work in AbstractCatalinaMojo#getManager()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • backlog
    • None
    • None

    Description

      AbstractCatalinaMojo#getManager() fetches AuthenticationInfo for the server from the wagon and only then checks if the user/pass has been provided on the command-line. At which point the AuthenticationInfo is not actually needed, so the work was wasted.

      The code should check for the command line override first, and only fetch the AuthenticationInfo if necessary.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: