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:
Herve Boutemy 2009-04-20 20:43:20 +00:00
parent 65ff7cb4e5
commit 07d018d78d
4 changed files with 22 additions and 22 deletions

View File

@ -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:

View File

@ -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="&lt;!--start--&gt;" value="&lt;!--"/>
<replace file="${basedir}/dependencies.xml" token="&lt;!--end--&gt;" value="--&gt;"/>
<replace file="${basedir}/dependencies.xml" token="&lt;!--bootstrap-start-comment--&gt;" value="&lt;!--"/>
<replace file="${basedir}/dependencies.xml" token="&lt;!--bootstrap-end-comment--&gt;" value="--&gt;"/>
<mercury:local-repository location="${maven.repo.local}"/>
<mercury:remote-repository id="central" location="${maven.repo.central}" updatePolicy="${maven.repo.update.policy}"/>

View File

@ -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="&lt;!--start--&gt;" value="&lt;!--"/>
<replace file="${basedir}/dependencies.xml" token="&lt;!--end--&gt;" value="--&gt;"/>
<replace file="${basedir}/dependencies.xml" token="&lt;!--bootstrap-start-comment--&gt;" value="&lt;!--"/>
<replace file="${basedir}/dependencies.xml" token="&lt;!--bootstrap-end-comment--&gt;" value="--&gt;"/>
<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
View File

@ -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>