|
|
@@ -20,6 +20,7 @@ package org.apache.archiva.proxy; |
|
|
|
*/ |
|
|
|
|
|
|
|
import com.google.common.collect.Lists; |
|
|
|
import com.google.common.io.Files; |
|
|
|
import org.apache.archiva.admin.model.RepositoryAdminException; |
|
|
|
import org.apache.archiva.admin.model.beans.NetworkProxy; |
|
|
|
import org.apache.archiva.admin.model.networkproxy.NetworkProxyAdmin; |
|
|
@@ -1009,6 +1010,7 @@ public class DefaultRepositoryProxyConnectors |
|
|
|
private File createWorkingDirectory( ManagedRepositoryContent repository ) |
|
|
|
{ |
|
|
|
// TODO: This is ugly - lets actually clean this up when we get the new repository api |
|
|
|
/* |
|
|
|
try |
|
|
|
{ |
|
|
|
File tmpDir = File.createTempFile( ".workingdirectory", null ); |
|
|
@@ -1019,7 +1021,8 @@ public class DefaultRepositoryProxyConnectors |
|
|
|
catch ( IOException e ) |
|
|
|
{ |
|
|
|
throw new RuntimeException( "Could not create working directory for this request", e ); |
|
|
|
} |
|
|
|
} */ |
|
|
|
return Files.createTempDir(); |
|
|
|
} |
|
|
|
|
|
|
|
/** |