org.apache.maven.wagon.authentication,
org.apache.maven.wagon.proxy,
org.apache.maven.wagon.repository,
+ com.google.common.io,
org.slf4j;resolution:=optional
</Import-Package>
</instructions>
*/
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;
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 );
catch ( IOException e )
{
throw new RuntimeException( "Could not create working directory for this request", e );
- }
+ } */
+ return Files.createTempDir();
}
/**