diff --git a/pom.xml b/pom.xml
index 1b9203a..3857cdc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -73,6 +73,7 @@
         <dependency>
             <groupId>com.vaadin</groupId>
             <artifactId>vaadin-core</artifactId>
+            <optional>true</optional>
             <exclusions>
                 <!-- Webjars are only needed when running in Vaadin 13 compatibility mode in V14.
                      Your add-on can support npm in the same version mode and V13 compatiblity mode at the same time,