releng: remove runtime dependency on commons-io
diff --git a/pom.xml b/pom.xml
index cfdd967..06e72c1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -68,13 +68,6 @@
             <artifactId>org.osgi.service.component.annotations</artifactId>
             <scope>provided</scope>
         </dependency>
-        <dependency>
-            <groupId>commons-io</groupId>
-            <artifactId>commons-io</artifactId>
-            <version>2.4</version>
-            <scope>provided</scope>
-        </dependency>
-        
         <!-- embedded dependency -->
         <dependency>
             <groupId>org.apache.felix</groupId>
@@ -95,6 +88,12 @@
           <scope>test</scope>
         </dependency>
         <dependency>
+            <groupId>commons-io</groupId>
+            <artifactId>commons-io</artifactId>
+            <version>2.11.0</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
             <groupId>org.slf4j</groupId>
             <artifactId>slf4j-simple</artifactId>
             <scope>test</scope>
diff --git a/src/main/java/org/apache/sling/tooling/support/install/impl/InstallServlet.java b/src/main/java/org/apache/sling/tooling/support/install/impl/InstallServlet.java
index e5ac14b..4e28275 100644
--- a/src/main/java/org/apache/sling/tooling/support/install/impl/InstallServlet.java
+++ b/src/main/java/org/apache/sling/tooling/support/install/impl/InstallServlet.java
@@ -37,7 +37,6 @@
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 
-import org.apache.commons.io.IOUtils;
 import org.osgi.framework.Bundle;
 import org.osgi.framework.BundleContext;
 import org.osgi.framework.BundleException;
@@ -221,11 +220,9 @@
         } else {
             final String entry = prefix + sourceFileOrDir.getFileName();
             if (!JarFile.MANIFEST_NAME.equals(entry)) {
-                try (InputStream fis = Files.newInputStream(sourceFileOrDir)) {
-                    final ZipEntry anEntry = new ZipEntry(entry);
-                    zos.putNextEntry(anEntry);
-                    IOUtils.copy(fis, zos);
-                }
+                final ZipEntry anEntry = new ZipEntry(entry);
+                zos.putNextEntry(anEntry);
+                Files.copy(sourceFileOrDir, zos);
             }
         }
     }