Hi all,
I have a large multi-module build, that from time to time wants to go off
to the (in our case slow) internet to "check for updates".
In the pom file, all our repositories but one (our local repo) are set to
have snapshots disabled like below, this doesn't seem to change maven
though: maven still wants to check for updates from all these repos.
Is there something else that needs to be done to stop maven checking for
updates from external repos that don't host snapshots?
The repositories are defined like this:
<repository>
<id>central</id>
<url>http://repo1.maven.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
The "checking for updates" looks like this:
[INFO] snapshot alchemy:alchemy-ui:4.3.0-SNAPSHOT: checking for updates
from central
[INFO] snapshot alchemy:alchemy-ui:4.3.0-SNAPSHOT: checking for updates
from codehaus
[INFO] snapshot alchemy:alchemy-ui:4.3.0-SNAPSHOT: checking for updates
from codehaus-legacy
[INFO] snapshot alchemy:alchemy-ui:4.3.0-SNAPSHOT: checking for updates
from eclipse.org
[INFO] snapshot alchemy:alchemy-ui:4.3.0-SNAPSHOT: checking for updates
from freehep-maven
[INFO] snapshot alchemy:alchemy-ii-platform:4.3.0-SNAPSHOT: checking for
updates from central
[INFO] snapshot alchemy:alchemy-ii-platform:4.3.0-SNAPSHOT: checking for
updates from codehaus
[INFO] snapshot alchemy:alchemy-ii-platform:4.3.0-SNAPSHOT: checking for
updates from codehaus-legacy
[INFO] snapshot alchemy:alchemy-ii-platform:4.3.0-SNAPSHOT: checking for
updates from eclipse.org
[INFO] snapshot alchemy:alchemy-ii-platform:4.3.0-SNAPSHOT: checking for
updates from freehep-maven
[INFO] snapshot alchemy:alchemy-validation:4.3.0-SNAPSHOT: checking for
updates from central
[INFO] snapshot alchemy:alchemy-validation:4.3.0-SNAPSHOT: checking for
updates from codehaus
[INFO] snapshot alchemy:alchemy-validation:4.3.0-SNAPSHOT: checking for
updates from codehaus-legacy
[INFO] snapshot alchemy:alchemy-validation:4.3.0-SNAPSHOT: checking for
updates from eclipse.org
[INFO] snapshot alchemy:alchemy-validation:4.3.0-SNAPSHOT: checking for
updates from freehep-maven
Regards,
Graham
--
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]