parametrized repository update policy to be able to change it on the grid

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@756763 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Oleg Gusakov 2009-03-20 21:25:21 +00:00
parent f52da7a874
commit 82c8614f94
1 changed files with 3 additions and 1 deletions

View File

@ -68,6 +68,8 @@ END SNIPPET: ant-bootstrap -->
<!--
<property name="maven.repo.central" value="http://repo1.maven.org/maven2"/>
-->
<property name="maven.repo.update.policy" value="daily"/>
<condition property="do.not.clean.local.repo">
<not>
<isset property="clean.local.repo"/>
@ -95,7 +97,7 @@ END SNIPPET: ant-bootstrap -->
<replace file="${basedir}/dependencies.xml" token="&lt;!--end--&gt;" value="--&gt;"/>
<mercury:local-repository location="${maven.repo.local}"/>
<mercury:remote-repository id="central" location="${maven.repo.central}" updatePolicy="always"/>
<mercury:remote-repository id="central" location="${maven.repo.central}" updatePolicy="${maven.repo.update.policy}"/>
<property name="tsFormat" value="HH:mm:ss"/>
<tstamp><format property="start.time" pattern="${tsFormat}"/></tstamp>