maven/maven-core
John Dennis Casey fda77afb12 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.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191536 13f79535-47bb-0310-9956-ffa450edef68
2005-06-20 18:53:53 +00:00
..
src Resolving issue: MNG-339 2005-06-20 18:53:53 +00:00
LICENSE.txt Initial revision 2004-08-09 19:02:31 +00:00
NOTICE.txt Initial revision 2004-08-09 19:02:31 +00:00
README.txt fix README instructions to be inline with web site 2005-04-22 04:06:28 +00:00
checkstyle-license.txt Initial revision 2004-08-09 19:02:31 +00:00
pom.xml use newer wagon 2005-06-20 06:45:04 +00:00

README.txt

Installing Maven 2
==================

The following instructions show how to install Maven 2:

1) Unpack the archive where you would like to store the binaries, eg:
  tar zxvf maven-2.0-SNAPSHOT.tar.gz
or
  unzip maven-2.0-SNAPSHOT.zip

2) A directory called "maven-2.0-SNAPSHOT" will be created.

3) Add the bin directory to your PATH, eg:
  export PATH=/usr/local/maven-2.0-SNAPSHOT/bin:$PATH
or
  set PATH="c:\program files\maven-2.0-SNAPSHOT\bin";%PATH%

4) Make sure JAVA_HOME is set to the location of your JDK

5) Run "m2 --version" to verify that it is correctly installed.

For more information, please see http://maven.apache.org/maven2/