mirror of
https://github.com/apache/maven.git
synced 2025-02-07 02:29:10 +00:00
fe5a91b0d6
Fixing profile application to separate profiles discovered in and around POM from those in settings.xml, and apply them separately in the order: for-each-project-in-inheritance:{POM, profiles.xml}, settings.xml Added common interface for accumulating, explicitly activating and deactivating, and retrieving profiles to be applied to a given project. This manager interface (ProfileManager) is general enough to be applicable to both the project-level and settings-level profiles. Added 'performRelease'-keyed profile to super-POM which will be used by the release plugin and anyone using a parallel process, and which will enable '-DupdateReleaseInfo=true' for the deploy mojo, along with enabling the source attachment for the project. Added 'attach' parameter to JarSourceMojo to allow local POM to turn off source attachments, overriding release profile in super-pom. Updated the release:perform mojo to use '-DperformRelease=true' for switching on the new release profile, rather than just using '-DupdateReleaseInfo=true'... git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233013 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/