Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-1865 Enable use of SNAPSHOT's with Nutch Ivy dependency management

Lewis John McGibbney74647aba60c2
diff --git a/CHANGES.txt b/CHANGES.txt
index 2e8b09f8c..50d5e524c 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -2,6 +2,8 @@ Nutch Change Log
Nutch Current Development 1.10-SNAPSHOT
+* NUTCH-NUTCH-1865 Enable use of SNAPSHOT's with Nutch Ivy dependency management (lewismc)
+
* NUTCH-1882 ant eclipse target to add output path to src/test (snagel)
* NUTCH-1876 Upgrade to Crawler Commons 0.5 (jnioche)
diff --git a/ivy/ivysettings.xml b/ivy/ivysettings.xml
index 5e9291a62..03193339d 100644
--- a/ivy/ivysettings.xml
+++ b/ivy/ivysettings.xml
@@ -16,10 +16,6 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
- <!--
- see http://www.jayasoft.org/ivy/doc/configuration
- -->
<!-- you can override this property to use mirrors
http://repo1.maven.org/maven2/
http://mirrors.dotsrc.org/maven2
@@ -29,11 +25,14 @@
http://ibiblio.lsu.edu/main/pub/packages/maven2
http://www.ibiblio.net/pub/packages/maven2
-->
+ <property name="oss.sonatype.org"
+ value="http://oss.sonatype.org/content/repositories/releases/"
+ override="false"/>
<property name="repo.maven.org"
value="http://repo1.maven.org/maven2/"
override="false"/>
- <property name="snapshot.apache.org"
- value="http://people.apache.org/repo/m2-snapshot-repository/"
+ <property name="repository.apache.org"
+ value="https://repository.apache.org/content/repositories/snapshots/"
override="false"/>
<property name="maven2.pattern"
value="[organisation]/[module]/[revision]/[module]-[revision]"/>
@@ -49,13 +48,22 @@
m2compatible="true"
/>
<ibiblio name="apache-snapshot"
- root="${snapshot.apache.org}"
+ root="${repository.apache.org}"
+ m2compatible="true"
+ changingMatcher="regexp"
+ changingPattern=".*SNAPSHOT.*"
+ checkmodified="true"
+ />
+ <ibiblio name="sonatype"
+ root="${oss.sonatype.org}"
pattern="${maven2.pattern.ext}"
m2compatible="true"
/>
<chain name="default" dual="true">
<resolver ref="local"/>
<resolver ref="maven2"/>
+ <resolver ref="apache-snapshot"/>
+ <resolver ref="sonatype"/>
</chain>
<chain name="internal">
<resolver ref="local"/>
@@ -66,10 +74,10 @@
<chain name="external-and-snapshots">
<resolver ref="maven2"/>
<resolver ref="apache-snapshot"/>
+ <resolver ref="sonatype"/>
</chain>
</resolvers>
<modules>
-
<!--
This forces a requirement for other nutch-artifacts to be built locally
rather than look for them online.