mirror of https://github.com/apache/maven.git
renamed tokens used during bootstrap to better understand their role
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@766862 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
65ff7cb4e5
commit
07d018d78d
|
@ -8,7 +8,7 @@ You'll need:
|
|||
|
||||
First, give Ant a location into which the completed Maven distro should be installed:
|
||||
|
||||
export M2_HOME=$HOME/apps/maven/apache-maven-2.1-SNAPSHOT
|
||||
export M2_HOME=$HOME/apps/maven/apache-maven-3.0-SNAPSHOT
|
||||
|
||||
Then, run Ant:
|
||||
|
||||
|
|
|
@ -143,8 +143,8 @@ END SNIPPET: ant-bootstrap -->
|
|||
<property name="verbose" value="false"/>
|
||||
<!-- Pull the dependencies that Maven needs to build -->
|
||||
<copy file="pom.xml" tofile="dependencies.xml"/>
|
||||
<replace file="${basedir}/dependencies.xml" token="<!--start-->" value="<!--"/>
|
||||
<replace file="${basedir}/dependencies.xml" token="<!--end-->" value="-->"/>
|
||||
<replace file="${basedir}/dependencies.xml" token="<!--bootstrap-start-comment-->" value="<!--"/>
|
||||
<replace file="${basedir}/dependencies.xml" token="<!--bootstrap-end-comment-->" value="-->"/>
|
||||
|
||||
<mercury:local-repository location="${maven.repo.local}"/>
|
||||
<mercury:remote-repository id="central" location="${maven.repo.central}" updatePolicy="${maven.repo.update.policy}"/>
|
||||
|
|
|
@ -78,8 +78,8 @@ END SNIPPET: ant-bootstrap -->
|
|||
<property name="verbose" value="false"/>
|
||||
<!-- Pull the dependencies that Maven needs to build -->
|
||||
<copy file="pom.xml" tofile="dependencies.xml"/>
|
||||
<replace file="${basedir}/dependencies.xml" token="<!--start-->" value="<!--"/>
|
||||
<replace file="${basedir}/dependencies.xml" token="<!--end-->" value="-->"/>
|
||||
<replace file="${basedir}/dependencies.xml" token="<!--bootstrap-start-comment-->" value="<!--"/>
|
||||
<replace file="${basedir}/dependencies.xml" token="<!--bootstrap-end-comment-->" value="-->"/>
|
||||
<artifact:pom file="${basedir}/dependencies.xml" id="pom"/>
|
||||
<artifact:dependencies pathId="pom.pathid" filesetId="pom.fileset" verbose="${verbose}" useScope="compile">
|
||||
<localRepository path="${maven.repo.local}"/>
|
||||
|
|
20
pom.xml
20
pom.xml
|
@ -183,12 +183,12 @@ under the License.
|
|||
<staxVersion>1.0.1</staxVersion>
|
||||
</properties>
|
||||
|
||||
<!--start-->
|
||||
<!--bootstrap-start-comment-->
|
||||
<dependencyManagement>
|
||||
<!--end-->
|
||||
<!--bootstrap-end-comment-->
|
||||
<dependencies>
|
||||
<!-- Maven Modules -->
|
||||
<!--start-->
|
||||
<!--bootstrap-start-comment-->
|
||||
<dependency>
|
||||
<groupId>org.apache.maven</groupId>
|
||||
<artifactId>maven-mercury</artifactId>
|
||||
|
@ -254,7 +254,7 @@ under the License.
|
|||
<artifactId>maven-compat</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<!--end-->
|
||||
<!--bootstrap-end-comment-->
|
||||
<!-- Plexus -->
|
||||
<dependency>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
|
@ -453,19 +453,19 @@ under the License.
|
|||
<artifactId>plexus-plugin-manager</artifactId>
|
||||
<version>${plexusPluginManagerVersion}</version>
|
||||
</dependency>
|
||||
<!--start-->
|
||||
<!--bootstrap-start-comment-->
|
||||
<dependency>
|
||||
<groupId>easymock</groupId>
|
||||
<artifactId>easymock</artifactId>
|
||||
<version>${easyMockVersion}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<!--end-->
|
||||
<!--bootstrap-end-comment-->
|
||||
</dependencies>
|
||||
<!--start-->
|
||||
<!--bootstrap-start-comment-->
|
||||
</dependencyManagement>
|
||||
<!--end-->
|
||||
<!--start-->
|
||||
<!--bootstrap-end-comment-->
|
||||
<!--bootstrap-start-comment-->
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
|
@ -474,7 +474,7 @@ under the License.
|
|||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<!--end-->
|
||||
<!--bootstrap-end-comment-->
|
||||
|
||||
<build>
|
||||
<pluginManagement>
|
||||
|
|
Loading…
Reference in New Issue