For the execution of failed scenario from the .txt file generated by cucumber, you need to provide the value of features option in Cucumber Options like this @target/failedrerun.txt
And no need to pass cucumber option from mvn command