Repository: maven Updated Branches: refs/heads/master 62629c9bc -> 20b741691
[MNG-5904] Remove the whole Ant Build Reduced minimum to build Maven itself to 3.0.5 related to Maven < 3.3.1 we have to use something different than maven.home otherwise maven.home will interfere with maven.home from the mvn script which results in automatically activating the profile which is used to create the distribution folder. Using the different name distributionTargetFolder makes this safe. Project: http://git-wip-us.apache.org/repos/asf/maven/repo Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/20b74169 Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/20b74169 Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/20b74169 Branch: refs/heads/master Commit: 20b74169109076676aa05ffd7615538837fddf1e Parents: 62629c9 Author: Karl Heinz Marbaise <[email protected]> Authored: Sat Dec 12 21:08:07 2015 +0100 Committer: Karl Heinz Marbaise <[email protected]> Committed: Sat Dec 12 21:12:29 2015 +0100 ---------------------------------------------------------------------- README.md | 4 ++-- apache-maven/pom.xml | 4 ++-- pom.xml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven/blob/20b74169/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 3fd9772..5f25a99 100644 --- a/README.md +++ b/README.md @@ -12,12 +12,12 @@ Maven is available under the [Apache License, Version 2.0](http://www.apache.org If you want to bootstrap Maven, you'll need: - Java 1.7+ -- Maven 3.3.1 or later +- Maven 3.0.5 or later Run Maven, specifying a location into which the completed Maven distro should be installed: ``` -mvn -Dmaven.home="$HOME/app/maven/apache-maven-3.4.x-SNAPSHOT" clean package +mvn -DdistributionTargetFolder="$HOME/app/maven/apache-maven-3.4.x-SNAPSHOT" clean package ``` Once the build completes, you should have a new Maven distro ready to roll in that directory! http://git-wip-us.apache.org/repos/asf/maven/blob/20b74169/apache-maven/pom.xml ---------------------------------------------------------------------- diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml index 57d821b..1899884 100644 --- a/apache-maven/pom.xml +++ b/apache-maven/pom.xml @@ -185,7 +185,7 @@ <id>create-distribution-in-folder</id> <activation> <property> - <name>maven.home</name> + <name>distributionTargetFolder</name> </property> </activation> <build> @@ -203,7 +203,7 @@ <finalName>./</finalName> <appendAssemblyId>false</appendAssemblyId> <attach>false</attach> - <outputDirectory>${maven.home}</outputDirectory> + <outputDirectory>${distributionTargetFolder}</outputDirectory> <descriptors> <descriptor>src/main/assembly/dir.xml</descriptor> </descriptors> http://git-wip-us.apache.org/repos/asf/maven/blob/20b74169/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index c3c0222..674ae69 100644 --- a/pom.xml +++ b/pom.xml @@ -42,7 +42,7 @@ <inceptionYear>2001</inceptionYear> <properties> - <maven.version>3.3.1</maven.version> + <maven.version>3.0.5</maven.version> <maven.compiler.source>1.7</maven.compiler.source> <maven.compiler.target>1.7</maven.compiler.target> <classWorldsVersion>2.5.2</classWorldsVersion>
