tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] [Created] (MTOMCAT-226) Wasted work in AbstractCatalinaMojo#getManager()
Date Tue, 11 Jun 2013 22:54:20 GMT
Sebb created MTOMCAT-226:

             Summary: Wasted work in AbstractCatalinaMojo#getManager()
                 Key: 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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message