Solved Included the dependency in the dependencyManagement section of the

Solved

Included the dependency in the dependencyManagement section of the pom and problem solved.
Previously it was in the dependencies section.
Regards
Al

Thanks for sharing the answer.