[ https://issues.apache.org/jira/browse/MINDEXER-94?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cservenak, Tamas resolved MINDEXER-94. -------------------------------------- Resolution: Fixed https://github.com/apache/maven-indexer/commit/7a0e7ad3d92fc121c2c1e49414d2c1099d945db4 Thanks for the patch! > no temp file cleanup in WagonFetcher after an error > --------------------------------------------------- > > Key: MINDEXER-94 > URL: https://issues.apache.org/jira/browse/MINDEXER-94 > Project: Maven Indexer > Issue Type: Bug > Affects Versions: 5.1.1 > Reporter: Tomas Stupka > Priority: Minor > Fix For: 5.1.2 > > Attachments: deleteTempFile.diff > > > see o.a.m.index.updater.WagonHelper.WagonFetcher.retrieve(name) in > indexer.core 5.1.1 > a temp file is created to store the remote index, but in case that the > following retrieve( name, target ) call throws an exception, then no attempt > is made to remove this file. > The problem typically happens in cases when there is no remote index file > available and also that the temp folder might become polluted after a while - > e.g in a scenario like we have encountered in NetBeans - see also > https://netbeans.org/bugzilla/show_bug.cgi?id=246409 > see also attached fix suggestion ... -- This message was sent by Atlassian JIRA (v6.3.4#6332)