mirror of
https://github.com/apache/maven.git
synced 2025-03-08 17:49:15 +00:00
o Added @requiresDirectInvocation (was: @cliOnly, but this implies m2 is run from CLI...counter-intuitive for embedding) o Added handling for new @requiresDirectInvocation (generation/parsing, MojoDescriptor support, etc.) o Added check in DefaultLifecycleExecutor to throw a LifecycleExecutionException if a mojo specified in a lifecycle binding is marked as direct-invocation only. o Added MavenProjectHelper/DefaultMavenProjectHelper to provide convenience methods for manipulating MavenProject instances (for example, attaching artifacts or adding resources) o Removed maven-artifact dependency from maven-source-plugin, and added dependency on maven-plugin-api (should've been there) git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233021 13f79535-47bb-0310-9956-ffa450edef68
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/