Hi, I was hoping someone could help explain this observed behaviour (maven 2.0.4).
We have setup an internal repository (using Codehaus proxy repository). We have a large number of dependencies in our maven build. However, for a particular subset of these dependencies, maven performs an update check once per day on both our internal repository (te-uk) and the maven central repository. Here is the logging from maven - [INFO] artifact org.eclipse.ant:org.eclipse.ant.core: checking for updates from te-uk [INFO] artifact org.eclipse.ant:org.eclipse.ant.core: checking for updates from central Now, this only happens for this one particular set of jar dependencies. An exmple of one of the culprits is - <dependency> <groupId>org.eclipse.core</groupId> <artifactId>org.eclipse.core.resources</artifactId> <version>3.2.0</version> </dependency> There are 20 other dependencies that are all from the org.eclipse.core group. These are fetched from the repository at http://repo1.maven.org/eclipse. Every one of these gets the update check once per day. However, they are declared exactly the same way as any of our other versioned dependencies which never get an update check. It is a problem because once per day our build takes 5 mins longer than necessary. I explicitly do not want an update check on any of our versioned dependencies (if I did, I would use snapshots). Hence, our repository is configured as follows - <repositories> <repository> <id>te-uk</id> <name>TE-UK Repository</name> <url>http://us000099.pun.dom:9999/repository</url> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> <checksumPolicy>warn</checksumPolicy> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>te-uk</id> <name>TE-UK Repository</name> <url>http://us000099.pun.dom:9999/repository</url> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> <checksumPolicy>warn</checksumPolicy> </releases> <snapshots> <enabled>false</enabled> </snapshots> </pluginRepository> </pluginRepositories> I've tried playing around with the updatePolicy on the repository, but it has absolutely no effect whatsoever. Any help to explain this behaviour would be appreciated. Thanks, Manish
