Apache Maven core
Go to file
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
benchmark remove old cvs ignore files 2005-06-07 05:24:51 +00:00
examples/maven-hello-plugin update mojo 2005-06-03 00:47:00 +00:00
maven-1.x-integration remove old cvs ignore files 2005-06-07 05:24:51 +00:00
maven-archetype use <project> in archetypes 2005-06-20 05:00:32 +00:00
maven-archiver PR: MNG-257 2005-06-17 06:49:57 +00:00
maven-artifact Resolving issue: MNG-339 2005-06-20 18:53:53 +00:00
maven-artifact-ant Resolving issue: MNG-339 2005-06-20 18:53:53 +00:00
maven-artifact-test PR: MNG-257 2005-06-17 06:49:57 +00:00
maven-core Resolving issue: MNG-339 2005-06-20 18:53:53 +00:00
maven-core-it Commenting maven-eclipse-plugin and it0027...eclipse plugin is missing from injected parameters, and it0027 cannot find core-it:fork. NOTE: this is based on a mirror setup directly to ibiblio.org, since codehaus was having web problems. When codehaus is again reliable, I'll take the mirror back out and try it0027 again... 2005-06-20 18:47:58 +00:00
maven-core-it-plugin PR: MNG-471 2005-06-20 14:42:56 +00:00
maven-core-it-support remove old cvs ignore files 2005-06-07 05:24:51 +00:00
maven-core-it-verifier Submitted by: Vincent Massol 2005-06-18 15:57:58 +00:00
maven-mboot2 add lifecycle mdo to booty 2005-06-20 04:28:52 +00:00
maven-meeper add objectweb 2005-06-17 09:31:57 +00:00
maven-model Resolving issue: MNG-339 2005-06-20 18:53:53 +00:00
maven-monitor remove old cvs ignore files 2005-06-07 05:24:51 +00:00
maven-plugin-api implement some inspection settings 2005-05-23 03:57:28 +00:00
maven-plugin-descriptor PR: MNG-471 2005-06-20 14:42:56 +00:00
maven-plugin-registry fix import 2005-06-20 04:29:02 +00:00
maven-plugin-tools PR: MNG-471 2005-06-20 08:00:53 +00:00
maven-plugins Commenting maven-eclipse-plugin and it0027...eclipse plugin is missing from injected parameters, and it0027 cannot find core-it:fork. NOTE: this is based on a mirror setup directly to ibiblio.org, since codehaus was having web problems. When codehaus is again reliable, I'll take the mirror back out and try it0027 again... 2005-06-20 18:47:58 +00:00
maven-profile Resolving issue: MNG-339 2005-06-20 18:53:53 +00:00
maven-project Resolving issue: MNG-339 2005-06-20 18:53:53 +00:00
maven-reporting PR: MNG-469 2005-06-18 16:52:44 +00:00
maven-reports PR: MNG-469 2005-06-18 16:52:44 +00:00
maven-repository-tools remove old cvs ignore files 2005-06-07 05:24:51 +00:00
maven-script remove old cvs ignore files 2005-06-07 05:24:51 +00:00
maven-settings Resolving issue: MNG-339 2005-06-20 18:53:53 +00:00
maven-site correct opening statement 2005-06-20 15:55:55 +00:00
sandbox Fixing reporting problem due to inlining the old per-artifact reports into the repository report. Turned a couple of ERROR's to WARNING's. 2005-06-09 18:47:37 +00:00
README.txt clean up instructions 2005-05-12 10:21:57 +00:00
ci.sh change message when it is skipped due to already running 2005-06-07 05:18:41 +00:00
m2-bootstrap-all.bat Working on issue: MNG-379 2005-06-16 01:50:28 +00:00
m2-bootstrap-all.sh Working on issue: MNG-379 2005-06-16 01:50:28 +00:00
plugin-inheritance-and-profiles-notes-jdcasey-20050526.txt adding my notes for implementing plugin inheritance and build profiles. delete if not needed. 2005-05-27 03:29:54 +00:00
pom.xml Add more modules 2005-05-19 17:05:48 +00:00
upgrading-dependencies.apt some notes on changing dependencies 2004-10-23 13:28:06 +00:00

README.txt

-------------------------------------------------------------------------------
Bootstrapping Maven
-------------------------------------------------------------------------------

Set the environment variable M2_HOME pointing to the dir where you want Maven2 installed.

NOTE: presently, the directory {M2_HOME}/bin must be in your path:
set PATH=%PATH%;%M2_HOME%\bin
or
export PATH=$PATH:$M2_HOME/bin

You can set the parameters passed to the Java VM when running Maven2 bootstrap,
setting the environment variable MAVEN_OPTS, e.g.
e.g. to run in offline mode, set MAVEN_OPTS=-o

Then run m2-bootstrap-all.bat (in Windows) or m2-bootstrap-all.sh (in Unix)

NOTE: You must run these instructions from this directory!