Disable for the dependency checking the snapshot repository explicitely, although it might be enabled in the pom.xml. So we have all flexibility

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382154 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2012-09-07 20:23:59 +00:00
parent 214cacd544
commit bcf205c610
1 changed files with 3 additions and 2 deletions

View File

@ -470,8 +470,9 @@
<sequential>
<artifact:dependencies filesetId="maven.fileset" useScope="test" type="jar">
<artifact:pom file="@{pom.xml}"/>
<remoteRepository id="apache.snapshots" url="${m2.repository.url}">
<snapshots enabled="true" updatePolicy="always"/>
<!-- disable completely, so this has no chance to download any updates from anywhere: -->
<remoteRepository id="apache.snapshots" url="foobar://disabled/">
<snapshots enabled="false"/>
<releases enabled="false"/>
</remoteRepository>
</artifact:dependencies>