/[Apache-SVN]
ViewVC logotype

Revision 191536


Jump to revision: Previous Next
Author: jdcasey
Date: Mon Jun 20 18:53:53 2005 UTC (19 years, 5 months ago)
Changed paths: 13
Log Message:
Resolving issue: MNG-339

o Added checksumPolicy to artifact repository construction, which meant changing all the places where the factory was called.

o Added two command-line switches (-C=strict-checksum-checking, -c=lax-checksum-checking, or warning)

o Added checksum policy to all repository definitions (profiles.mdo, settings.mdo, maven.mdo)

o Changed the maven-artifact-ant stuff to use a Repository definition with checksumPolicy added to it

NOTE: I just realized that I haven't touched the inheritance/conversion of repository stuff from profiles/settings.xml to the model. I'll do this, and commit the additional changes.

Currently, the default checksum policy is to warn, since there are still bad checksums out there that prevent bootstrapping. Once we chase these down, we can change to default-strict checking. When verifying checksums, SHA-1 is attempted first, with MD5 acting as a backup verification method. If the checksum verification fails legitimately (not related to the process of retrieving/reading the checksum file), then the verification process is repeated ONCE ONLY.



Changed paths

Path Details
Directorymaven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/ChecksumFailedException.java modified , text changed
Directorymaven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java modified , text changed
Directorymaven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java modified , text changed
Directorymaven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryFactory.java modified , text changed
Directorymaven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java modified , text changed
Directorymaven/components/trunk/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactComponentTestCase.java modified , text changed
Directorymaven/components/trunk/maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/AbstractArtifactTask.java modified , text changed
Directorymaven/components/trunk/maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/RemoteRepository.java modified , text changed
Directorymaven/components/trunk/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java modified , text changed
Directorymaven/components/trunk/maven-model/maven.mdo modified , text changed
Directorymaven/components/trunk/maven-profile/profiles.mdo modified , text changed
Directorymaven/components/trunk/maven-project/src/main/java/org/apache/maven/project/ProjectUtils.java modified , text changed
Directorymaven/components/trunk/maven-settings/settings.mdo modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26