prefer Apache Commons IO to maven-shared-utils (#19)
diff --git a/pom.xml b/pom.xml
index 1bd9196..31f2a44 100644
--- a/pom.xml
+++ b/pom.xml
@@ -105,13 +105,12 @@
<artifactId>sisu-inject-plexus</artifactId>
<version>1.4.2</version>
</dependency>
-
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.11.0</version>
- <scope>test</scope>
</dependency>
+
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
diff --git a/src/main/java/org/apache/maven/shared/io/location/URLLocation.java b/src/main/java/org/apache/maven/shared/io/location/URLLocation.java
index 39ec8bf..c412e52 100644
--- a/src/main/java/org/apache/maven/shared/io/location/URLLocation.java
+++ b/src/main/java/org/apache/maven/shared/io/location/URLLocation.java
@@ -24,11 +24,10 @@
import java.net.URL;
import java.nio.file.Files;
-import org.apache.maven.shared.utils.io.FileUtils;
+import org.apache.commons.io.FileUtils;
/**
* The URL Location.
- *
*/
public class URLLocation
extends FileLocation
@@ -43,11 +42,11 @@
private final boolean tempFileDeleteOnExit;
/**
- * @param url The URL.
- * @param specification The spec.
- * @param tempFilePrefix the prefix.
- * @param tempFileSuffix The suffix.
- * @param tempFileDeleteOnExit delete on exit.
+ * @param url the URL
+ * @param specification the spec
+ * @param tempFilePrefix the prefix
+ * @param tempFileSuffix the suffix
+ * @param tempFileDeleteOnExit delete on exit
*/
public URLLocation( URL url, String specification, String tempFilePrefix, String tempFileSuffix,
boolean tempFileDeleteOnExit )
@@ -64,7 +63,6 @@
protected void initFile()
throws IOException
{
- // TODO: Log this in the debug log-level...
if ( unsafeGetFile() == null )
{
File tempFile = Files.createTempFile( tempFilePrefix, tempFileSuffix ).toFile();