slawekjaranowski commented on code in PR #570:
URL: https://github.com/apache/maven-surefire/pull/570#discussion_r1112608175
##########
maven-failsafe-plugin/src/main/java/org/apache/maven/plugin/failsafe/IntegrationTestMojo.java:
##########
@@ -899,9 +911,16 @@ public void setSystemPropertiesFile( File
systemPropertiesFile )
}
@Override
+ @SuppressWarnings( "deprecation" )
public boolean getFailIfNoSpecifiedTests()
{
- return failIfNoSpecifiedTests;
+ if ( !failIfNoSpecifiedTestsDeprecated )
+ {
+ getConsoleLogger().warning( "Use " + getPluginName()
+ + ".failIfNoSpecifiedTests property instead of obsolete
it.failIfNoSpecifiedTests." );
Review Comment:
Maven 3.9 will print such info itself - but can be now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]