haoxiaohui
haoxiaohui

Reputation: 21

Why is maven re-downloading the required plugins?

After I set a new mirror to overwrite the central responsitory, I try to execute 'mvn clean', then I get the following output:

.....

[INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.jar

[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.jar (0 B at 0.0 KB/sec)

Why did it re-download, and why does it say '0 B at 0.0 KB/sec'

Upvotes: 1

Views: 695

Answers (1)

Tom Manterfield
Tom Manterfield

Reputation: 7053

It didn't re-download in this case.

If you re-read the messages it says

[INFO] Downloading...

and then

[INFO] Downloaded...

The first message is telling you of the attempt to download. The second is telling you the result (that it downloaded the plugin and the network performance for the download.)

Upvotes: 1

Related Questions