diff --git a/teavm-samples/teavm-samples-hello/pom.xml b/teavm-samples/teavm-samples-hello/pom.xml
index d26ddaaad6..c0fa1d463a 100644
--- a/teavm-samples/teavm-samples-hello/pom.xml
+++ b/teavm-samples/teavm-samples-hello/pom.xml
@@ -34,16 +34,19 @@
org.teavm
teavm-classlib
${project.version}
+ provided
org.teavm
teavm-jso
${project.version}
+ provided
org.teavm
teavm-dom
${project.version}
+ provided
javax.servlet
diff --git a/teavm-samples/teavm-samples-kotlin/pom.xml b/teavm-samples/teavm-samples-kotlin/pom.xml
index 9c0a0fa0f4..5b3a030030 100644
--- a/teavm-samples/teavm-samples-kotlin/pom.xml
+++ b/teavm-samples/teavm-samples-kotlin/pom.xml
@@ -38,6 +38,7 @@
org.jetbrains.kotlin
kotlin-stdlib
${kotlin.version}
+ provided
junit
diff --git a/teavm-samples/teavm-samples-storage/pom.xml b/teavm-samples/teavm-samples-storage/pom.xml
index a6ebb52722..67b576e6c5 100644
--- a/teavm-samples/teavm-samples-storage/pom.xml
+++ b/teavm-samples/teavm-samples-storage/pom.xml
@@ -34,16 +34,19 @@
org.teavm
teavm-classlib
${project.version}
+ provided
org.teavm
teavm-jso
${project.version}
+ provided
org.teavm
teavm-dom
${project.version}
+ provided
javax.servlet
diff --git a/teavm-samples/teavm-samples-video/pom.xml b/teavm-samples/teavm-samples-video/pom.xml
index 7419a8cf19..58fc833e21 100644
--- a/teavm-samples/teavm-samples-video/pom.xml
+++ b/teavm-samples/teavm-samples-video/pom.xml
@@ -34,16 +34,19 @@
org.teavm
teavm-classlib
${project.version}
+ provided
org.teavm
teavm-jso
${project.version}
+ provided
org.teavm
teavm-dom
${project.version}
+ provided
javax.servlet