mirror of
https://github.com/apache/maven.git
synced 2025-02-07 10:38:47 +00:00
o Added code to cache the active proxy and profile inside the Settings instance for quicker lookup. o Added a method to initialize a new active profile for a Settings instance in the event one didn't exist. o Started adding offline mode. So far, I've implemented: - Warning when a mojo declares a requirement for connectivity, but we're offline. - INFO message stating when maven is running in offline mode. - Addition to the Profile class in o.a.m.settings package to allow specification of offline mode by declaring: <offline>true</offline> git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163969 13f79535-47bb-0310-9956-ffa450edef68
resolve outstanding issues with scoping regarding tests. Algorithm to be documented in user's guide.
------------------------------------------------------------------------------- Bootstrapping Maven ------------------------------------------------------------------------------- To bootstrap Maven you must have a ~/.m2/maven.properties file with the following entry: maven.repo.local = /path/to/your/local/repository 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=-Dmaven.online=false e.g. to build maven with debug info, set MAVEN_OPTS=-Dmaven.compiler.debug=true Then run m2-bootstrap-all.bat (in Windows) or m2-bootstrap-all.sh (in Unix) NOTE: You must run these instructions from this directory!
Description
Languages
Java
99.6%
Shell
0.2%
Batchfile
0.1%