From 8c9f74fe2157f65961a9943c2428bd0a6a29b47b Mon Sep 17 00:00:00 2001 From: Kenney Westerhof Date: Sat, 20 Jan 2007 18:18:04 +0000 Subject: [PATCH] Fix it113 - invert expression git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@498149 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/maven/plugins/MyMojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/its/core-integration-tests/src/test/resources/it0113-serverAuthzAvailableToWagonMgrInPlugin/maven-it0113-plugin/src/main/java/org/apache/maven/plugins/MyMojo.java b/its/core-integration-tests/src/test/resources/it0113-serverAuthzAvailableToWagonMgrInPlugin/maven-it0113-plugin/src/main/java/org/apache/maven/plugins/MyMojo.java index 40f9e59afc..cb389dc875 100644 --- a/its/core-integration-tests/src/test/resources/it0113-serverAuthzAvailableToWagonMgrInPlugin/maven-it0113-plugin/src/main/java/org/apache/maven/plugins/MyMojo.java +++ b/its/core-integration-tests/src/test/resources/it0113-serverAuthzAvailableToWagonMgrInPlugin/maven-it0113-plugin/src/main/java/org/apache/maven/plugins/MyMojo.java @@ -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() );