Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.1
-
Fix Version/s: 1.1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
my repository conf is :
(group) "maven" =
|__ (managed) "releases"
| |_ proxy connector to central, jboss ...
|__ (managed) "internal"
|_ proxy to some private repositories...
When I ask for artifacts on the group, many useless empty folders are created in both "releases" and "internal" repository. Every artifact request to a repository of the group creates the requested artifact directory structure, beeing foudn or not.
Reading DefaultRepositoryProxyConnectors.transferSimpleFile:
The localFile directory structure is created prior to running the download :
localFile.getParentFile().mkdirs() temp = File.createTempFile(... try { wagon.get( remotePath, temp ); moveTempToTarget( temp, localFile );localFile.getParentFile().mkdirs() temp = File.createTempFile(... try { wagon.get( remotePath, temp ); moveTempToTarget( temp, localFile );