Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
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.