[
https://issues.apache.org/jira/browse/MINDEXER-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965231#comment-17965231
]
Olivier Lamy commented on MINDEXER-51:
--------------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-indexer#443|https://github.com/apache/maven-indexer/issues/443].
> scan creates tmp directories in repository directory
> ----------------------------------------------------
>
> Key: MINDEXER-51
> URL: https://issues.apache.org/jira/browse/MINDEXER-51
> Project: Maven Indexer (Moved to GitHub Issues)
> Issue Type: Bug
> Affects Versions: 4.1.2
> Reporter: Olivier Lamy
> Assignee: Olivier Lamy
> Priority: Major
> Fix For: 4.1.3
>
>
> {code}
> File indexDir = context.getIndexDirectoryFile();
> File dir = null;
> if ( indexDir != null )
> {
> dir = indexDir.getParentFile();
> }
> File tmpFile = File.createTempFile( context.getId() + "-tmp", "", dir
> );
> {code}
> Simply using
> {code}
> File tmpFile = File.createTempFile( context.getId() + "-tmp", "" );
> {code}
> will create a real temp directory.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)