Hi, I am unable to set the checksumPolicy in my settings.xml file.
To reproduse the bug, please to the following using maven 2.0.7: Use the following settings.xml file: <settings> <profiles> <profile> <activation> <activeByDefault>true</activeByDefault> </activation> <pluginRepositories> <pluginRepository> <releases> <updatePolicy>never</updatePolicy> <checksumPolicy>fail</checksumPolicy> </releases> <snapshots> <enabled>false</enabled> </snapshots> <id>central</id> <name>Maven Plugin Repository</name> <url>http://repo1.maven.org/maven2</url> </pluginRepository> </pluginRepositories> </profile> </profiles> </settings> Remove org/apache/maven/maven/2.0.6 from local repository. Execute: $ mvn archetype:create -DgroupId=sample.group.id -DartifactId=sample-artifact-id $ cd sample-artifact-id $ mvn install [...] Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven/2.0.6/maven-2.0.6.pom 8K downloaded [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '1991be0ed3e1820e135201406d5acabf8c08d426'; remote = '218016709d90d14b64bfb1de3a86a2247e8873db' - RETRYING Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven/2.0.6/maven-2.0.6.pom 8K downloaded [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '1991be0ed3e1820e135201406d5acabf8c08d426'; remote = '218016709d90d14b64bfb1de3a86a2247e8873db' - IGNORING [...] The reason for getting the checksum failed is explained in <URL: http://jira.codehaus.org/browse/MEV-530 >, but the issue here is that the build is not failing even though checksumPolicy is set to 'fail' in settings.xml. Can someone please verify this bug, or tell me what I'm doing wrong. Thanks in advance. Regards, -- Jostein Tveit <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]