mirror of https://github.com/apache/maven.git
Fix it113 - invert expression
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@498149 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
42363a1d53
commit
8c9f74fe21
|
@ -65,7 +65,7 @@ public class MyMojo
|
|||
throw new MojoExecutionException( "Cannot find AuthenticationInfo for: " + serverId + "." );
|
||||
}
|
||||
|
||||
if ( username.equals( authInfo.getUserName() ) )
|
||||
if ( !username.equals( authInfo.getUserName() ) )
|
||||
{
|
||||
getLog().error( "Expected username: " + username + "; found: " + authInfo.getUserName() );
|
||||
throw new MojoExecutionException( "Expected username: " + username + "; found: " + authInfo.getUserName() );
|
||||
|
|
Loading…
Reference in New Issue