You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2013/06/12 00:54:20 UTC

[jira] [Created] (MTOMCAT-226) Wasted work in AbstractCatalinaMojo#getManager()

Sebb created MTOMCAT-226:
----------------------------

             Summary: Wasted work in AbstractCatalinaMojo#getManager()
                 Key: MTOMCAT-226
                 URL: https://issues.apache.org/jira/browse/MTOMCAT-226
             Project: Apache Tomcat Maven Plugin
          Issue Type: Improvement
            Reporter: Sebb


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org