I agree with Mark, you should put the file in your local repository instead of your cache. Moreover, it is expected that the cache can (and often) be deleted at any time.
However, to solve your question, the most likely cause of your error is that the folder hierarchy does not match the expected template. By default, the cache is laid out as follows:
[organisation]/[module]/[revision]/[type]s/[artifact].[ext]
Therefore, you need to move the file to the following directory to resolve this error:
.ivy2\cache\apache.org\lucene\3.0.3\jars\lucene.jar
Sometimes the default template is changed based on the settings files, so the only way to verify the expected template is to look at other banks in your cache (for example, right now my cache has a [revision] part at the end of the file name, otherwise everything else will be the same) .
However, I agree with Mark, but you really do not want to manually add things to the cache. Instead, add them to your local default repository, or better yet, create your own main repository .
gMale
source share