maven build failure because of package com.vaadin.testbench does not exist

Hi,
I created a testng-testbench testing framework for my company project. I used the testbench 14.1.5 dependency in the pom. When I run it locally build is successful and I get the test results however When I run the project in Jenkins I get the below compilation issue and build is failing. I uploaded the licence file into jenkins server and plus pass the productKey as a parameter as well. What could be the possible issue and solution?

[ERROR]
COMPILATION ERROR :
[INFO]

[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/hppautomation/BaseTest.java:[4,28]
package com.vaadin.testbench does not exist
[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/hppautomation/BaseTest.java:[8,27]
package org.openqa.selenium does not exist
[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/hppautomation/BaseTest.java:[9,27]
package org.openqa.selenium does not exist
[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/hppautomation/BaseTest.java:[10,34]
package org.openqa.selenium.chrome does not exist
[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/hppautomation/BaseTest.java:[11,34]
package org.openqa.selenium.chrome does not exist
[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/hppautomation/BaseTest.java:[12,35]
package org.openqa.selenium.firefox does not exist
[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/hppautomation/BaseTest.java:[13,35]
package org.openqa.selenium.firefox does not exist
[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/hppautomation/BaseTest.java:[14,30]
package org.openqa.selenium.ie does not exist
[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/hppautomation/BaseTest.java:[15,34]
package org.openqa.selenium.remote does not exist
[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/hppautomation/BaseTest.java:[16,34]
package org.openqa.selenium.remote does not exist
[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/hppautomation/BaseTest.java:[17,34]
package org.openqa.selenium.safari does not exist
[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/hppautomation/BaseTest.java:[30,31]
cannot find symbol
symbol: class TestBenchTestCase
[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/hppautomation/BaseTest.java:[59,12]
cannot find symbol
symbol: class WebDriver
location: class com.mes.hppautomation.BaseTest
[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/pages/BakeryPage.java:[5,48]
package com.vaadin.flow.component.tabs.testbench does not exist
[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/pages/BakeryPage.java:[6,48]
package com.vaadin.flow.component.tabs.testbench does not exist
[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/pages/BakeryPage.java:[7,28]
package com.vaadin.testbench does not exist
[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/pages/BakeryPage.java:[8,40]
package com.vaadin.testbench.annotations does not exist
[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/pages/BakeryPage.java:[9,41]
package com.vaadin.testbench.elementsbase does not exist
[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/pages/BakeryPage.java:[20,33]
cannot find symbol
symbol: class TestBenchElement
[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/pages/BakeryPage.java:[16,2]
cannot find symbol
symbol: class Element
[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/pages/BakeryPage.java:[18,2]
cannot find symbol
symbol: class Attribute
[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/pages/BakeryPage.java:[26,5]
cannot find symbol
symbol: class TabsElement
location: class com.mes.pages.BakeryPage
[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/pages/BakeryPage.java:[32,5]
cannot find symbol
symbol: class TabElement
location: class com.mes.pages.BakeryPage
[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/pages/BakeryPage.java:[33,5]
cannot find symbol
symbol: class TabElement
location: class com.mes.pages.BakeryPage
[ERROR]
/var/lib/jenkins/workspace/HPP/src/test/java/com/mes/pages/BakeryPage.java:[34,5]
cannot find symbol
symbol: class TabElement
location: class com.mes.pages.BakeryPage