mirror of https://github.com/apache/maven.git
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:
parent
f52da7a874
commit
82c8614f94
|
@ -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="<!--end-->" value="-->"/>
|
||||
|
||||
<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>
|
||||
|
|
Loading…
Reference in New Issue