From fb086d5b263460c88e5a028db8c784fc3bd9138e Mon Sep 17 00:00:00 2001
From: Alexey Andreev <konsoletyper@gmail.com>
Date: Thu, 25 Jun 2015 22:02:40 +0300
Subject: [PATCH] Remove unnecessary dependencies from samples

---
 teavm-samples/teavm-samples-hello/pom.xml   | 5 ++++-
 teavm-samples/teavm-samples-kotlin/pom.xml  | 3 ++-
 teavm-samples/teavm-samples-storage/pom.xml | 5 ++++-
 teavm-samples/teavm-samples-video/pom.xml   | 5 ++++-
 4 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/teavm-samples/teavm-samples-hello/pom.xml b/teavm-samples/teavm-samples-hello/pom.xml
index 0f0d6e78f..ed8128e63 100644
--- a/teavm-samples/teavm-samples-hello/pom.xml
+++ b/teavm-samples/teavm-samples-hello/pom.xml
@@ -34,16 +34,19 @@
       <groupId>org.teavm</groupId>
       <artifactId>teavm-classlib</artifactId>
       <version>${project.version}</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.teavm</groupId>
       <artifactId>teavm-jso</artifactId>
       <version>${project.version}</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.teavm</groupId>
       <artifactId>teavm-dom</artifactId>
       <version>${project.version}</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>javax.servlet</groupId>
@@ -107,4 +110,4 @@
       </plugin>
     </plugins>
   </build>
-</project>
\ No newline at end of file
+</project>
diff --git a/teavm-samples/teavm-samples-kotlin/pom.xml b/teavm-samples/teavm-samples-kotlin/pom.xml
index 39ff1b30f..f9fcc0606 100644
--- a/teavm-samples/teavm-samples-kotlin/pom.xml
+++ b/teavm-samples/teavm-samples-kotlin/pom.xml
@@ -38,6 +38,7 @@
       <groupId>org.jetbrains.kotlin</groupId>
       <artifactId>kotlin-stdlib</artifactId>
       <version>${kotlin.version}</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>junit</groupId>
@@ -128,4 +129,4 @@
       </plugin>
     </plugins>
   </build>
-</project>
\ No newline at end of file
+</project>
diff --git a/teavm-samples/teavm-samples-storage/pom.xml b/teavm-samples/teavm-samples-storage/pom.xml
index 5c3ba11e9..70d0cc0bc 100644
--- a/teavm-samples/teavm-samples-storage/pom.xml
+++ b/teavm-samples/teavm-samples-storage/pom.xml
@@ -34,16 +34,19 @@
       <groupId>org.teavm</groupId>
       <artifactId>teavm-classlib</artifactId>
       <version>${project.version}</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.teavm</groupId>
       <artifactId>teavm-jso</artifactId>
       <version>${project.version}</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.teavm</groupId>
       <artifactId>teavm-dom</artifactId>
       <version>${project.version}</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>javax.servlet</groupId>
@@ -107,4 +110,4 @@
       </plugin>
     </plugins>
   </build>
-</project>
\ No newline at end of file
+</project>
diff --git a/teavm-samples/teavm-samples-video/pom.xml b/teavm-samples/teavm-samples-video/pom.xml
index 3979d4c40..1f64bc021 100644
--- a/teavm-samples/teavm-samples-video/pom.xml
+++ b/teavm-samples/teavm-samples-video/pom.xml
@@ -34,16 +34,19 @@
       <groupId>org.teavm</groupId>
       <artifactId>teavm-classlib</artifactId>
       <version>${project.version}</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.teavm</groupId>
       <artifactId>teavm-jso</artifactId>
       <version>${project.version}</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.teavm</groupId>
       <artifactId>teavm-dom</artifactId>
       <version>${project.version}</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>javax.servlet</groupId>
@@ -107,4 +110,4 @@
       </plugin>
     </plugins>
   </build>
-</project>
\ No newline at end of file
+</project>