Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

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

Uwe Schindlerbcf205c610d5
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index 2e4ad6fe7ce..1b15d1de4c0 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -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>