[MNG-7051] When an optional profile could not be found, an info message should be thrown instead of a warning.

This commit is contained in:
Martin Kanters 2021-03-08 13:41:11 +01:00 committed by Martin Kanters
parent a469fd5823
commit e3a74e940b
1 changed files with 4 additions and 4 deletions

View File

@ -72,7 +72,7 @@ public class MavenITmng7051OptionalProfileActivationTest
verifier.executeGoal( "validate" );
verifier.verifyErrorFreeLog();
verifier.verifyTextInLog( "[WARNING] The requested optional profiles [non-existing-profile] could not be activated or deactivated because they do not exist." );
verifier.verifyTextInLog( "[INFO] The requested optional profiles [non-existing-profile] could not be activated or deactivated because they do not exist." );
}
/**
@ -89,7 +89,7 @@ public class MavenITmng7051OptionalProfileActivationTest
verifier.executeGoal( "validate" );
verifier.verifyErrorFreeLog();
verifier.verifyTextInLog( "[WARNING] The requested optional profiles [non-existing-profile] could not be activated or deactivated because they do not exist." );
verifier.verifyTextInLog( "[INFO] The requested optional profiles [non-existing-profile] could not be activated or deactivated because they do not exist." );
}
/**
@ -106,7 +106,7 @@ public class MavenITmng7051OptionalProfileActivationTest
verifier.executeGoal( "validate" );
verifier.verifyErrorFreeLog();
verifier.verifyTextInLog( "[WARNING] The requested optional profiles [non-existing-profile] could not be activated or deactivated because they do not exist." );
verifier.verifyTextInLog( "[INFO] The requested optional profiles [non-existing-profile] could not be activated or deactivated because they do not exist." );
}
/**
@ -123,6 +123,6 @@ public class MavenITmng7051OptionalProfileActivationTest
verifier.executeGoal( "validate" );
verifier.verifyErrorFreeLog();
verifier.verifyTextInLog( "[WARNING] The requested optional profiles [non-existing-profile] could not be activated or deactivated because they do not exist." );
verifier.verifyTextInLog( "[INFO] The requested optional profiles [non-existing-profile] could not be activated or deactivated because they do not exist." );
}
}